mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2026-03-21 11:22:51 +01:00
Merge commit '474f163b53d438955dae1a0cc9d7df46344b3950' as 'Code/devterm_wiringpi_cpi'
This commit is contained in:
12
Code/devterm_wiringpi_cpi/gpio/CPi.h
Normal file
12
Code/devterm_wiringpi_cpi/gpio/CPi.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _CPI_H_
|
||||
#define _CPI_H_
|
||||
|
||||
extern int wiringPiSetupRaw (void);
|
||||
extern void CPiBoardId (int *model, int *rev, int *mem, int *maker, int *warranty);
|
||||
extern int CPi_get_gpio_mode(int pin);
|
||||
extern int CPi_digitalRead(int pin);
|
||||
extern void CPi_digitalWrite(int pin, int value);
|
||||
extern void CPiReadAll(void);
|
||||
extern void CPiReadAllRaw(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user