Neopixels - IO pins don't seem to be cooperating #7046
Unanswered
espruino-discuss3
asked this question in
ESP32
Replies: 1 comment
-
Posted at 2017-09-16 by phil303 Woke up this morning and almost immediately noticed that I had forgotten to ground the level shifter. D'oh. This is working perfectly now! It's very fun to play with. Posted at 2017-09-17 by @gfwilliams Nice - thanks for letting us know - and for posting the code/pictures. They're amazingly helpful! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2017-09-16 by phil303
Hi all,
I'm really new to the ESP32 world and hardware programming in general. I have a problem I'm not sure where to begin to diagnose. I can't seem to get my IO pin to listen.
My set up looks pretty similar to the following:

Except instead of the Huzzah board I have a DevKitC board (this was the closest thing I could find for Fritzing) and I'm actually connecting the data out from the DevKitC board on IO14. Additionally, for now I'm just powering the board via USB (so remove the voltage regulator section from the mix).
My script to power just two leds is pretty simple:
Sometimes it doesn't react when I upload this. Or if it does, it's seemingly at random. On consecutive uploads, different leds will light up as different colors. Just on a whim, I tried to move the data lead to other IO pins and those seem to have different colors that light up which I wasn't expecting. One other weird thing I noticed, is if I try a script like this:
This actually does seem to flash lots of colors. So it's getting some input somehow.
Any help on this is much appreciated. I'm not even sure how to start diagnosing the issue.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions