I’m developing a conston device based on Arduino. I put console logs in the “Live mode handler” onRun to see when the block is executed:
(args, app, device, block) => {
app.log(“block of ${block.opcode} is checked to trigger”);
}
But the block is never called when I press the “green flag” button
Need I put some code in the hat block ?
Need I to code my own hat block for live mode?
Can you give me an example?
Best regards
Rodrigo