Example #1
0
 /// <summary>
 /// Sets a single pixel to the given color values
 /// </summary>
 /// <param name="red">The amount of red to set</param>
 /// <param name="green">The amount of green to set</param>
 /// <param name="blue">The amount of blue to set</param>
 private void SetPixel(byte pixel, byte red, byte green, byte blue)
 {
     firmata.beginSysex(NEOPIXEL_SET_COMMAND);
     firmata.appendSysex(pixel);
     firmata.appendSysex(red);
     firmata.appendSysex(green);
     firmata.appendSysex(blue);
     firmata.endSysex();
 }
Example #2
0
 public void stepperSetup()
 {
     firmata.beginSysex(STEPPER_SETUP);
     firmata.endSysex();
     isSetUp = true;
 }