Commit a1fc8ab4 by Risto Heinsar

Added PWM signal example that keeps the LED at const defined brightness

parent 782e354a
// PWM toega viik LEDi juhtimiseks
#define LED_PIN 3
const int brightness = 170;
void setup()
{
// LEDi ereduse määrab PWM signaal
analogWrite(LED_PIN, brightness);
}
void loop()
{
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment