PCA9555
Dependents: Telliskivi2_2014 PowerManagementBoard_Rev_A_2017
Diff: PCA9555.h
- Revision:
- 7:3b54389686ca
- Parent:
- 6:0373a167d58b
- Child:
- 8:8f59b7233e6c
--- a/PCA9555.h Mon Sep 16 16:11:32 2013 +0000 +++ b/PCA9555.h Thu Sep 19 07:06:54 2013 +0000 @@ -6,8 +6,8 @@ /** Interface to the PCA9555 I2C 16 Bit IO expander */ class PCA9555 { protected: - InterruptIn _irqpin; - FunctionPointer _callbackChange; + InterruptIn _irqpin; + FunctionPointer _callbackChange; public: /** Create an instance of the PCA9555 connected to specfied I2C pins, with the specified address. * @@ -72,6 +72,7 @@ I2C _i2c; int _address; unsigned int currentWriteState; + unsigned int lastReadState; void callChange(void); };