Automaton
Automaton copied to clipboard
LED machine for addressable leds (neopixel)
Since these things are so widely used, I thought somebody must have already written some code using them with automaton. I haven't found anything yet. Can you point me to any example using either the adafruit neopixel library or FastLED?
I haven't heard of one. I ordered an APA102 strip recently so I'll probably cook something up for that. I'm thinking I'll build a low-level machine that updates the strip whenever anything has changed and higher level 'Atm_led' type machines that turn individual leds on and off.
Any chance for a follow up on this topic. Can a newby be of any help here??
I'm working on digitizing a seventies electromechanical pinball machine and a APA102 LED strip plays a big part in that project. The code contains a rough apa102 state machine. You can find it here if you want to play with it:
https://github.com/tinkerspy/pinball
It doesn't really fit the standard led animation model, I think. If you can write something better suited to that (perhaps by using the fastled library) that would be great.
hi @tinkerspy congratulations by your Automaton Library, is fabulous!!!
How are you? all fine?
Thanks, I'm fine thank you. Though I left most of my Arduino hardware behind and moved to a Caribbean island...
Wow. Very surprised by the radical change in your life. Without knowing you, it struck me that after writing such good c++ code in these state machine libraries, after the pandemic you didn't make more commits. But if you are well, welcome. The improvements in this library will be missed 😃. Happy to ear about you bro.
Fully agree - excellent programming quality, good stuff
On holiday, from the largest Carribean island, best regards
Jan Wilms
-------- Original message -------- From: Hugo Müller @.> Date: 22/02/2023 13:27 (GMT-05:00) To: tinkerspy/Automaton @.> Cc: antonine @.>, Comment @.> Subject: Re: [tinkerspy/Automaton] LED machine for addressable leds (neopixel) (#57)
Wow. Very surprised by the radical change in your life. Without knowing you, it struck me that after writing such good c++ code in these state machine libraries, after the pandemic you didn't make more commits. But if you are well, welcome. the improvements in this bookstore will be missed 😃
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftinkerspy%2FAutomaton%2Fissues%2F57%23issuecomment-1440570513&data=05%7C01%7C%7C2be203d11f364ef7d19708db15027eef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126872674534366%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CNaMQ87pKE6gWErsyfoSEtYl1Rd7Ac8yktfc8lLcpGk%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE7HUDNLIDOB4TNWZPB3ENDWYZLCDANCNFSM4FAXBIYQ&data=05%7C01%7C%7C2be203d11f364ef7d19708db15027eef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126872674534366%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HlTKzD8cDVxRdfMV4A3VuMu4Sx5MnzgAl%2BSBjs4rT14%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
I did build a pinball control system (check my other repo's) which used a LED matrix made of several addressable LED strips to control everything. Automaton proved very useful there as well. The whole pinball game logic is programmable in a byte code interpreter that runs inside Automaton. Lots of hardware in that project too.