Using graphical blocks to control devices is a good options for younger learner,\s, who find drag-and-drop easier than typing code. It is a good place to demonstrate computer science and physical computing.
BrainPad works with the Scratch editor. This MIT project has been popular for many year. Scratch works within the browser with nothing to install. It is usually used to control a character on the screen. The BrainPad connects scratch to the physical world.
Go Beyond Blocks
The same BrainPad used by younger learners to get them started can also be used with proper coding, with a simple switch to one other other coding options, like DUE!
What are you waiting for? Get you a BrainPad and start Coding!