Code Monkey home page Code Monkey logo

Comments (5)

caternuson avatar caternuson commented on June 15, 2024

Yah, looks like a typo. Luckily just cosmetic, since it's a constant and the code at least is consistent with the usage. Would you be willing to make a PR that fixes the typo?

The pin labeled OE is tied to the BLANK pin on the TLC5947. Here's the description from the datasheet:
image
That just needs to be attached to any available GPIO pin, and can then be controlled in user code with digitalWrite

from adafruit_tlc5947.

AlanGitMan avatar AlanGitMan commented on June 15, 2024

from adafruit_tlc5947.

caternuson avatar caternuson commented on June 15, 2024

There's nothing currently in the library that deals with the OE pin in any way. It's only shown in the example sketch - that's not library code. To make things generally easier to use, the TLC9547 has a pull down resistor on the BLANK (OE) pin so the default is always on. That way, using the OE pin is optional.

However, that does not fix the general issue you are describing, since it requires actively driving whatever pin on the microcontroller the OE pin is attached to. That's trivial code - but the code must be running. So during resets, the behavior can be application dependent. It sounds like you'd prefer to have the pull resistor be up instead of down so that the TLC5947 is default off. And thus requires user code to drive the OE pin to enable.

from adafruit_tlc5947.

AlanGitMan avatar AlanGitMan commented on June 15, 2024

from adafruit_tlc5947.

caternuson avatar caternuson commented on June 15, 2024

The OE thing is a design trade off, and more of a hardware thing. You could open an issue in the PCB repo:
https://github.com/adafruit/Adafruit-TLC5947-PCB
that brings this up. That way it might be considered for a future rev of the board. Like maybe solder pad jumpers that would allow configuring the pull resistor to go either way?

The ESP32 issue should be dealt with in a new issue or forum post. A forum post would be preferred as a starting point, along with photos of the setup and a simple example sketch that can demonstrate the issue.

from adafruit_tlc5947.

Related Issues (5)

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.