chiark / gitweb /
Added in the PiGlow devLib extension driver.
[wiringPi.git] / devLib / piGlow.h
index 5f107d61aae06155e4c003caac3d4dc9e487aecb..d501c2c4e2033c467b0e64fb7fb74407801d0cc5 100644 (file)
  ***********************************************************************
  */
 
+
+#define        PIGLOW_RED      0
+#define        PIGLOW_YELLOW   1
+#define        PIGLOW_ORANGE   2
+#define        PIGLOW_GREEN    3
+#define        PIGLOW_BLUE     4
+#define        PIGLOW_WHITE    5
+
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -29,7 +38,7 @@ extern "C" {
 extern void piGlow1     (const int leg,  const int ring, const int intensity) ;
 extern void piGlowLeg   (const int leg,  const int intensity) ;
 extern void piGlowRing  (const int ring, const int intensity) ;
-extern void piGlowSetup (const int pinBase) ;
+extern void piGlowSetup (int clear) ;
 
 #ifdef __cplusplus
 }