1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- void tristan()
- {
- pixels.setPixelColor(0, pixels.Color(0,25,0)); // Moderately bright green color.
- pixels.show(); // This sends the updated pixel color to the hardware.
- in_error=0;
- }
- void ethan()
- {
- pixels.setPixelColor(0, pixels.Color(30,18,0)); // Moderately bright green color.
- pixels.show(); // This sends the updated pixel color to the hardware.
- in_error=0;
- }
- void valentin()
- {
- pixels.setPixelColor(0, pixels.Color(25,0,12)); // Moderately bright green color.
- pixels.show(); // This sends the updated pixel color to the hardware.
- in_error=0;
- }
- void two()
- {
- pixels.setPixelColor(0, pixels.Color(0,20,0)); // Moderately bright green color.
- pixels.setPixelColor(1, pixels.Color(0,20,0)); // Moderately bright green color.
- pixels.show(); // This sends the updated pixel color to the hardware.
- in_error=0;
- }
- void three()
- {
- pixels.setPixelColor(0, pixels.Color(20,20,20)); // Moderately bright green color.
- pixels.setPixelColor(1, pixels.Color(20,20,20)); // Moderately bright green color.
- pixels.setPixelColor(2, pixels.Color(20,20,20)); // Moderately bright green color.
- pixels.show(); // This sends the updated pixel color to the hardware.
- in_error=0;
- }
- void off_()
- {
- pixels.setPixelColor(0, pixels.Color(0,0,0)); // Moderately bright green color.
- pixels.setPixelColor(1, pixels.Color(0,0,0)); // Moderately bright green color.
- pixels.setPixelColor(2, pixels.Color(0,0,0)); // Moderately bright green color.
- pixels.show(); // This sends the updated pixel color to the hardware.
- in_error=0;
- }
|