emfcamp / TiDAL-Firmware

26 stars 14 forks source link

Torch app #9

Closed MatthewWilkes closed 2 years ago

MatthewWilkes commented 2 years ago

Simple application to allow users to control the built-in LED. So they can find their way back to their tent.

Possible extra features:

tomsci commented 2 years ago

Just checking, the LED is an addressable WS2812B or similar, right? Is it on pin 3 (LED_PWREN from tidal.py) or 48 (like the s3 devkit)?

bendooks commented 2 years ago

LED_PWREN powers the LED, you need to set this, I think to 0 to enable the power to the LED. Then you can se the LED_DATA to write data to it

On Sat, 16 Apr 2022 at 09:49, tomsci @.***> wrote:

Just checking, the LED is an addressable WS2812B or similar, right? Is it on pin 3 (LED_PWREN from tidal.py) or 48 (like the s3 devkit)?

— Reply to this email directly, view it on GitHub https://github.com/emfcamp/Mk6-micropython-board/issues/9#issuecomment-1100610757, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCGQO264MRDTFWEM2PSMCDVFJ5IJANCNFSM5TIBQ54A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ben Dooks, http://www.fluff.org/ben/ @.***

tomsci commented 2 years ago

Thanks. Looking at https://github.com/emfcamp/tilda-mk6/blob/main/tilda6/tilda6-bot.pdf I guess LED_DATA is 46?

kliment commented 2 years ago

Correct. It's supported by the neopixel library in micropython.

tomsci commented 2 years ago

I think this is moderately complete now, modulo it's a hardcoded bootmenu app not a 'real' app.