]> git.piffa.net Git - aerei/blobdiff - libraries/common/common.h
RGB ailerons corretto, snippet per lettura con pulsein.
[aerei] / libraries / common / common.h
index 7f87600b466749d4a3476037c691ce2df212fdeb..97689614f08c1a5a7a119e960f17c10ba206b639 100644 (file)
@@ -54,6 +54,7 @@ class RGBLed {
     RGBLed (byte pinR, byte pinG, byte pinB) ;
     RGBLed (byte pinR, byte pinG, byte pinB, byte com) ;
        void SetColor (byte r, byte g, byte b) ;
+       void Rand ();
        void Red ();
     void Green ();
     void Blue ();
@@ -157,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