I am not sure this will help, but do you want:
digitalWrite (mosfetLED, Output); // Output variable modulates LED brightness
OR
digitalWrite(mosfetLED, HIGH); // sets the LED on >>>>>>>>>>>> http://arduino.cc/en/Reference/DigitalWrite
OR
analogWrite(mosfetLED, val); //where val is 0 to 255 >>>>>>> http://arduino.cc/en/Reference/AnalogWrite
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||