3 ms·
Ahh this looks rather brilliant at first glance. (if only as an educational tool)
by thomasfromcdnjs 6y ago
Ahh this looks rather brilliant at first glance. (if only as an educational tool)
- curryst 6y agoI actually think it could also be rather useful for some IoT things. Things where all you want is a relatively basic connection between two electrical components. I carry a stock of ESP32's at home for stuff that falls into a domain where this might be useful, especially if this has the ability to convert a given signal into a stream of MQTT messages. This seems marginally easier than firing up a new esp-idf project (although that's possibly because I haven't built up the muscle memory to have the right GPIO incarnations stored). The code export is probably the killer feature here, so when you get to the point where working in the GUI is limiting, you can export it and switch to editing source code. I don't have a Mac handy, I'm curious what the export looks like. Is every card a different file? Is there an event loop that "listens" for these events? Or does it just generate a big main function?
- olivierbrcknr 6y agoWhen exporting the code, every card is built into an own function, all in one file. The eventListeners are created on board setup. It is using the johnny-five API → http://johnny-five.io/api/ http://johnny-five.io/api/ You can see the basic structure of the generated code here: https://blokdots.com/documentation#Code-Export https://blokdots.com/documentation#Code-Export