Itty Bitty Buggy: ColorLED Tutorial (mDesigner)
ColorLED
Buggy Base contains two ColorLEDs on the underside. Each ColorLED is capable producing a wide variety of colors. The ColorLEDs are referenced as ColorLED "A" or "B" depending on the side it is on.
[Image of underside of buggy with A/B]
Set Color block
The ColorLEDs can be controlled using the ColorLED - Set Color block. This block sets the selected ColorLED to the chosen color.
- ColorLED - select ColorLED to set color for (either A or B).
- Color - color to set selected ColorLED to.
Please note, these examples are performed in "online mode". Ensure that you have mDesigner set to "online mode" and have flashed the firmware. If you have overwritten the firmware when using "offline mode", please follow the instructions to reset back to "online mode".
Example 1: Set the Color of ColorLED A.
Color Detector
Buggy Base also contains two Color Detector sensors on the underside, right next to the ColorLEDs. The Color Detectors are capable of detecting color. These are useful when following along a color line. The Color Detectors are referenced as Color Detector "A" or "B" depending on the side it is on.
[Image of underside of buggy with A/B]