 void setLEDbrightness(int pin, int brightness){
   analogWrite(pin, brightness); //might need to be reversed
 }
+

}

void receiveEvent(int quantity){
  frontLEDpulse = wire.read();
  backLEDpulse = wire.read();
}

void ledOFF(int pin){



/*
This code takes input from two pushbuttons and i2c serial communications, and
outputs a PWM squarewave to control two LED MINIPUCK constant current drivers.
