Skip to content

Commit

Permalink
Update obsolete constant definition
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrawehr committed Jul 24, 2023
1 parent b5accf2 commit a6a7794
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/I2CFirmata.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
#include "FirmataFeature.h"
#include "FirmataReporting.h"

#define I2C_WRITE B00000000
#define I2C_READ B00001000
#define I2C_READ_CONTINUOUSLY B00010000
#define I2C_STOP_READING B00011000
#define I2C_READ_WRITE_MODE_MASK B00011000
#define I2C_10BIT_ADDRESS_MODE_MASK B00100000
#define I2C_END_TX_MASK B01000000
#define I2C_10BIT_ADDRESS_MASK B00000111
#define I2C_WRITE 0B00000000
#define I2C_READ 0B00001000
#define I2C_READ_CONTINUOUSLY 0B00010000
#define I2C_STOP_READING 0B00011000
#define I2C_READ_WRITE_MODE_MASK 0B00011000
#define I2C_10BIT_ADDRESS_MODE_MASK 0B00100000
#define I2C_END_TX_MASK 0B01000000
#define I2C_10BIT_ADDRESS_MASK 0B00000111
#define I2C_STOP_TX 1
#define I2C_RESTART_TX 0
#define I2C_MAX_QUERIES 8
Expand Down

0 comments on commit a6a7794

Please sign in to comment.