]> git.piffa.net Git - sketchbook_andrea/blobdiff - libraries/common/common.h
Common, cambiato il behaiour di RGB LED:
[sketchbook_andrea] / libraries / common / common.h
index 66c3eee27e37d5689f0fa9904a086d561f7b1d82..440abf4f803dcb8d82e35a6fae6e94b1907bc7c0 100644 (file)
@@ -48,7 +48,7 @@ class RGBLed {
     byte redValue ;
     byte greenValue ;
     byte blueValue ;
-    byte common ;
+    boolean common ;
 
   public:
     RGBLed (byte pinR, byte pinG, byte pinB) ;
@@ -158,7 +158,7 @@ void brilla(byte pin, int velocita = 200) ;
 
 byte lum(byte val);
 
-int calibraTrim(int pin, byte ledPin = 13);
+int calibraTrim(int pin, const byte ledPin = 13);
 
 
 #endif