Coordinated Grace Bag Display
Debra2019-12-12T07:39:18+00:00The code below works to create a sequential coordinated display of two or more Bright Boards. Here it is used to make three Grace Crossbody Phone bags take turns displaying a twinkle pattern, then returning to a rotating rainbow display. Each micro:bit uses radio code blocks to broadcast the number of the next micro:bit in sequence when it is finished displaying its own twinkle pattern.
Each micro:bit in the group must be assigned a different, sequential value of the variable, “myNumber”, and the code must know the number of micro:bits in the sequence. Comments in the code make the specifications clear when you view it in the MakeCode editor. Clicking on the program below will take you the MakeCode editor where you will be able to see the comments and edit the code yourself.