chiark / gitweb /
wiringPi Version 2 - First commit (of v2)
[wiringPi.git] / devLib / gertboard.h
similarity index 86%
rename from wiringPi/gertboard.h
rename to devLib/gertboard.h
index 98fd1e799b49dab67a3932f4900e191a75ab4614..3fa19197426db87df3c4dfe062b86ee2d08dcdf8 100644 (file)
 extern "C" {
 #endif
 
-extern void gertboardAnalogWrite (int chan, int value) ;
-extern int  gertboardAnalogRead  (int chan) ;
+// Old routines
+
+extern void gertboardAnalogWrite (const int chan, const int value) ;
+extern int  gertboardAnalogRead  (const int chan) ;
 extern int  gertboardSPISetup    (void) ;
 
+// New
+
+extern int  gertboardAnalogSetup (const int pinBase) ;
+
 #ifdef __cplusplus
 }
 #endif