]> git.piffa.net Git - sketchbook_andrea/blobdiff - RGB_LED/rgb_2_pwm/rgb_2_pwm.ino
rgb
[sketchbook_andrea] / RGB_LED / rgb_2_pwm / rgb_2_pwm.ino
index 95637858d5910c9efb8c61ba9d5ede50b4ebeae1..8e712fc51374cb0ce2fe41ff6b397792ce63647a 100644 (file)
@@ -1,8 +1,17 @@
+// RGB LED PWM transizione
+
+// Transizione di un LED RGB tra rosso - blue -verde
+// tramite PWM
+
 // This is meant for a Common Anodote RGB LED
 // See all those (255 - val). 
 
-#define GREEN 9
-#define BLUE 10
+
+// Schema: http://lab.piffa.net/schemi/rgb.jpg
+
+
+#define GREEN 10
+#define BLUE 9
 #define RED 11
 #define delayTime 20