Component Creation - Auto Call Macro on Switch Change

Post and discuss new components that you have created.
Post Reply
BenR
Matrix Staff
Posts: 1726
http://meble-kuchenne.info.pl
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 438 times
Been thanked: 602 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 193 times

Post Reply