mirror of
https://github.com/xreef/PCF8574_library.git
synced 2024-08-30 18:12:18 +00:00
Remove deprecated binary declaration
This commit is contained in:
parent
2ac523ddce
commit
db8b2911bb
24
PCF8574.h
24
PCF8574.h
@ -230,19 +230,19 @@ private:
|
|||||||
uint8_t _interruptPin = 2;
|
uint8_t _interruptPin = 2;
|
||||||
void (*_interruptFunction)(){};
|
void (*_interruptFunction)(){};
|
||||||
|
|
||||||
byte writeMode = B00000000;
|
byte writeMode = 0b00000000;
|
||||||
byte writeModeUp = B00000000;
|
byte writeModeUp = 0b00000000;
|
||||||
byte readMode = B00000000;
|
byte readMode = 0b00000000;
|
||||||
byte readModePullUp = B00000000;
|
byte readModePullUp = 0b00000000;
|
||||||
byte readModePullDown = B00000000;
|
byte readModePullDown = 0b00000000;
|
||||||
byte byteBuffered = B00000000;
|
byte byteBuffered = 0b00000000;
|
||||||
byte resetInitial = B00000000;
|
byte resetInitial = 0b00000000;
|
||||||
byte initialBuffer = B00000000;
|
byte initialBuffer = 0b00000000;
|
||||||
unsigned long lastReadMillis = 0;
|
unsigned long lastReadMillis = 0;
|
||||||
|
|
||||||
byte writeByteBuffered = B00000000;
|
byte writeByteBuffered = 0b00000000;
|
||||||
|
|
||||||
volatile byte encoderValues = B00000000;
|
volatile byte encoderValues = 0b00000000;
|
||||||
|
|
||||||
uint8_t prevNextCode = 0;
|
uint8_t prevNextCode = 0;
|
||||||
uint16_t store=0;
|
uint16_t store=0;
|
||||||
@ -253,8 +253,8 @@ private:
|
|||||||
|
|
||||||
// byte validCW = B11100001;
|
// byte validCW = B11100001;
|
||||||
// byte validCCW = B01001011;
|
// byte validCCW = B01001011;
|
||||||
byte validCW = B01001011;
|
byte validCW = 0b01001011;
|
||||||
byte validCCW = B11100001;
|
byte validCCW = 0b11100001;
|
||||||
|
|
||||||
uint8_t transmissionStatus = 0;
|
uint8_t transmissionStatus = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user