switch block act as a conditional logic
block. Set value rule to 0.
STEP 4 :
Connect blocks and click Deploy button to apply changes. Press right push
button on Magicbit to see the Magic
Activity
Try again without switch block. Change template with diffrent text and observe.
play audio block playbacks audio from the input text payload
Method in Digital In and Analog In blocks gives option to get data from Magicbit. When Poll
option selected you need to request data from those blocks. You need to trigger it using a
another block such as Inject Block . When Interrupt option selected, block will automatically
output when the value changes. In Analog In you need to set threshold to trigger interrupt.
Blocks exchange data through wires as a payload in msg object in JSON format.
Do you know?
23