Showing posts with label codebug. Show all posts
Showing posts with label codebug. Show all posts

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.

Sunday 23 August 2015

When is a bug not buggy - CodeBug

When it is a Codebug - a board with 5x5 LED matrix and 4 connectors that can be either inputs or outputs. 





Programming is through a Blockly interface (as above). Code can be tested using the simulator on the left, before downloading to the CodeBug. The site contains a excellent video showing all the steps (see http://www.codebug.co.uk/gettingstarted/ ).





Codebug, Experimenter Kit CODEBUG-EXPKIT at the moment is usually programmed on-line. There is though a Scratch version in development by  Cymplecy (SimpleSi) http://simplesi.net/scratchcodebug-beta-testing/ that is an potential option for off-line programming. It is currently at the Beta testing stage but is good fun to play with.


What is nice about Codebug and, in fact, most of the Physical Computing device coming out that the moment is the developing community. There is a lot of sharing of projects, ideas and solutions to problems being provide to others through the site (and via Twitter)

I like the Codebug it is a small, relatively inexpensive device (or will be when it comes on the market- most of the ones out there at the moment are in the hands of those who contributed to the Kickstarter funding). The site (http://www.codebug.co.uk/) is full of useful links, examples and ideas.


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.

Top posts on this blog in March 2024

The Top 10 viewed post on this blog in March 2024. Covering areas such as small robots, augmented reality, Scratch programming, robots. Micr...