Component Creation - Auto Call Macro on Switch Change

Post and discuss new components that you have created.
Post Reply
BenR
Matrix Staff
Posts: 1707
http://meble-kuchenne.info.pl
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Component Creation - Auto Call Macro on Switch Change

Post by BenR »

Hello,

Here I create a simple switch component that will automatically be polled using a simulation timer event and allow a user macro to be called whenever the switch changes state. Please note this will only work for App Inventor but a similar thing could be done on embedded by using a timer interrupt.


SimSwitchComp.fcsx
(13.06 KiB) Downloaded 191 times

Post Reply