Skip to content

Instantly share code, notes, and snippets.

@slsmit17
slsmit17 / sketch_LEDs.ino
Created February 10, 2018 18:59
Arduino LED Fade In Out
// Commands for leda -- 1960
int leda = 2; // the PWM pin the LED is attached to
int brightnessa = 0; // how bright the LED is
int fadeAmounta = 18; // how many points to fade the LED by
// Commands for ledb -- 1961
int ledb = 3;
int brightnessb = 0;