Does M5Stack support event-driven programming?
-
Wikipedia: "In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or messages from other programs or threads."
By utilizing a event-driven architecture, I can just program by assigning what functions should be called when an event occurs (ex. button pressed, ambient light stronger than a threshold, etc.).
Recently I'm looking for some different development systems. Then I found M5Stack and was interested in it. Does M5Stack support event-driven programming? -
@jerry_fuyi Yes, UIFlow supports event driven programming and there are quite a few event related blocks and loops that have been designed just for this.
-
I tried UIFlow and found the blocks supporting event-driven programming. Thank you!
-
@jerry_fuyi sorry about the lack of information on the blocks at the moment as I am currently in the process of logging all the functions and testing them for my book
-
@jerry_fuyi I suggest you to add some random logic blocks and then see it in python code - will be much easier to understand mechanics.
Ofcourse, coding hardware is useless without event triggers most of time
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login