Category Archives: Sphero

Sphero Macro Lab – Session 1

Sphero MacroLab is an excellent way of learning and experimenting with programming coding.

It works with macros, but… what is a macro, really?

The definition from wikipedia is “A macro (short for “macroinstruction”, from Greek μακρο- ‘long’) in computer science is a rule or pattern that specifies how a certain input sequence (often a sequence of characters) should be mapped to a replacement output sequence (also often a sequence of characters) according to a defined procedure.”

Wow it seems complex… but don´t worry, it isn’t. In my own words a macro is an easy and visual instruction that we can use directly in order to get one action rather than typing all the coding. For instance, imagine that we want to get the colour of the sphero orange.

Continue reading