PCA9555
Dependents: Telliskivi2_2014 PowerManagementBoard_Rev_A_2017
Diff: PCA9555.h
- Revision:
- 1:a6699cd826bb
- Parent:
- 0:011622696878
- Child:
- 2:fae93e0841f6
diff -r 011622696878 -r a6699cd826bb PCA9555.h --- a/PCA9555.h Mon Jul 29 20:36:59 2013 +0000 +++ b/PCA9555.h Sat Aug 31 15:57:14 2013 +0000 @@ -25,10 +25,17 @@ * @param data The 16 bits to write to the IO port */ void write(int data); + + void setPin(unsigned int pinNumber); + void clearPin(unsigned int pinNumber); + void togglePin(unsigned int pinNumber); + + void setDirection(int data); private: I2C _i2c; int _address; + int currentWriteState; }; #endif \ No newline at end of file