Asked
— Edited
Can a PIR motion sensor be used with EZB4. If so can you show mw an code example? Thanks
EDU Activity Editor
— Design, edit and export structured Blockly-based lessons, groups and hints for ARC Lite Portable; supports rich HTML, images, JSON import/export.
Try it →
You sure can use a PIR sensor with the v4. It uses a digital port (with regulator if needed). Here's a quick script example...
This is a very basic script, so you may want to add "Repeat" commands in to your script. Here is the link to a thread I started asking the same question, and a short video demo.
Thanks, Just what I needed.