Data Sheet

Core Spartan Documentation Modern Robotics, Inc
Version 3.0.3 Page 61
9.9. Color Beacon (45-2019)
The Color Beacon is used to display one of seven colors or any set custom color based
on RGB values. The beacon can also indicate RED/BLUE team colors with the use of a
magnet. Simply hold a magnet over the Hall Effect sensor on the left side of the beacon
to change between RED, BLUE and normal operating mode. There is no code or setup
needed to operate as a team indicator. Refer to the Color Beacon example folder for
more information on different implementation methods.
Default I2C Address = 0x4C
Arduino I2C Address = 0x26
Color Beacon functions:
CORE_COLOR_BEACON(unsigned char port)
void setColor(unsigned char value)
void setCustomColor(uchar red, uchar green, uchar blue);