The onboard Infrared transmitter and receiver diodes allow communicate small chunks of data between Circuid Playgrounds.
Sending data
The infrared send number
send a number packet over IR. It may or may not be received.
Events
The on infrared received
event triggers when a number has been received.
Example
The example shows how a rgb color can be sent over IR and used to turn on the neopixel remotely. Button A sends blue, button B sends red.
How does it work?
Long story short: it's pretty exciting stuff. Read the deep dive on the MakeCode blog.
Page last edited June 07, 2017
Text editor powered by tinymce.