this post was submitted on 19 Jun 2023
10 points (100.0% liked)
flashlight
2985 readers
23 users here now
Portable illumination
Rules:
- Be excellent to each other
- Don't be the reason we need to make more rules
Related:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't really know much about neopixels, what do they need in terms of control, does it have to be a constant signal or can they just stay in a mode until another mode is set? How many MCU pins do they need?
They need one pin for all neopixels. You can daisy chain them. You have to start sending the colours in order from last to first neopixel. Only problem is that it needs to be precise but idk how precise.
1ms shouldn't be too hard (would just have to have the code to handle it be in the main loop, ideally, rather than an event handler). If it's significantly under 1ms might be a problem.