Robots and getting computers to work with the physical world is fun; this blog looks at my own personal experimenting and building in this area.
Monday, 13 June 2016
messing around with Codebug
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.
Subscribe to:
Post Comments (Atom)
Detecting and logging magnetism with a microbit
Producing a data logger using the microbit to detect and log changes in the magnetic field. Traces The micro:bit includes a built-in compas...
-
In the previous blog posts for this 'series' "It is a good time...." Post 1 looked at the hardware unpinning some of...
-
The Raspberry Pi Foundation recently released a programming activity Alien Language , with support Dale from Machine Learning for Kids , tha...
-
You don't need to buy a robot to get programming a robot, now there are a range of free and relatively simple to start with robot simula...

No comments:
Post a Comment