diff options
author | Jorawar Singh | 2017-07-07 13:00:37 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-07 13:00:37 +0530 |
commit | caaf226244923c75586ea1d4fb1fdcd0a73d2d51 (patch) | |
tree | 7c1cc7bea08325a57c8712dbfb823f4f0b4128ee /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h | |
parent | e9de337a34e123749927039f7011fb30fc96f7c9 (diff) | |
download | Scilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.tar.gz Scilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.tar.bz2 Scilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.zip |
Raspberry Pi function changes and minor gui changes
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h')
-rw-r--r-- | 2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h index cea8bb6e..e258068c 100644 --- a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h +++ b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralGertboard.h @@ -21,9 +21,15 @@ extern "C" { #endif #define RPI_gertboardSPISetupi80() RPI_gertboardSPISetup(); + #define u160RPI_gertboardAnalogSetupi80(pinBase) u16RPI_gertboardAnalogSetups(pinBase); +#define d0RPI_gertboardAnalogSetupi80(pinBase) u16RPI_gertboardAnalogSetups(pinBase); + #define u160RPI_gertboardAnalogReadu160(pin) u160RPI_gertboardAnalogReads(pin); +#define d0RPI_gertboardAnalogReadu160(pin) u160RPI_gertboardAnalogReads(pin); + #define u160u160RPI_gertboardAnalogWrite(pin,value) u160RPI_gertboardAnalogWrites(pin,value); +#define d0d0RPI_gertboardAnalogWrite(pin,value) u160RPI_gertboardAnalogWrites(pin,value); #ifdef __cplusplus } /* extern "C" */ |