Part 1: Create a program to send messages using the NeoPixel and binary code.
Part 2: Compete in teams of 4 to send a secret message using your program.
Work in teams of 4. One pair encodes the message using their program. The other pair watches the NeoPixel from across the room and translates the message from binary to letters. The first team of 4 to successfully translate the message is the winner.
Part 2: Compete in teams of 4 to send a secret message using your program.
Work in teams of 4. One pair encodes the message using their program. The other pair watches the NeoPixel from across the room and translates the message from binary to letters. The first team of 4 to successfully translate the message is the winner.
Binary Programming Challenge
All programs and data in a computer are made of binary code. Computers use 8 bits to represent the numbers 1-256. The alphabet has 26 letters. We only need the 5 bits to represent 26 letters.
Letter 5 of the alphabet is E.
The number 5 in binary is 1 0 1 0 0
For E turn on LEDs #0 and #10 on the NeoPixel.
The number 5 in binary is 1 0 1 0 0
For E turn on LEDs #0 and #10 on the NeoPixel.