GithubHelp home page GithubHelp logo

Comments (6)

xreef avatar xreef commented on June 1, 2024

Hi AlbertEmil,
I think you are not using my library, I check and I don't manage the status with wire.begin (It's a void function), I test It and the status work correctly with Arduino, esp8266 and esp32.
Please check and give me a feedback.
Thanks Renzo

from pcf8574_library.

AlbertEmil avatar AlbertEmil commented on June 1, 2024

Hi Renzo,
I double checked the library I am using and it is definitely yours. As initially written, I always get a "KO" status upon initialization (when using one of your examples). Could you elaborate on the pcf8574.begin() function? Where is this boolean getting its value from? I just started with C and did not find any useful hint why I am always getting a "KO" instead of a "OK". However, the Port Expander is working just fine, even with a "KO" status.
Greetings, Al

from pcf8574_library.

xreef avatar xreef commented on June 1, 2024

Mmm.. It's strange, can you give me more informations, the microcontroller, and a piece of your code.
Thanks Renzo

from pcf8574_library.

woyzeck avatar woyzeck commented on June 1, 2024

I had the same issue today and from looking at the code of begin() my suspicion is that if you don't set any pinMode before calling begin() it will fail.

from pcf8574_library.

xreef avatar xreef commented on June 1, 2024

Hi woyzeck,
It's true I return a KO if pinMode isn't set.
Thanks for your support.
Bye Renzo

from pcf8574_library.

dragosmacovei avatar dragosmacovei commented on June 1, 2024

I have the same problem what do I have to do? it is unclear what solves the problem. pinMode is a function that applies to some specific pin. For what pin to call the pinMode function?

from pcf8574_library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.