Codebug is great fun, the Blockly programming is more challenging than Scratch but that is ok.
As a test a Codebug was used to control two glowbugs (see http://www.codebug.org.uk/learn/activity/74/glowbugs-wearables/#step446 for more details on Glowbugs and working with them on the Codebug).
Routine
Repeat
Set the Glowbugs 0 and 1 to yellow;
Scroll a message across the 5x5 grid saying yellow;
if button A is pressed
Set the Glowbugs 0 and 1 to red;
Scroll a message across the 5x5 saying red;
if button B is pressed
Set the Glowbug 0 to blue;
Scroll a message across the 5x5 saying blue;
All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with.

Comments
Post a Comment