PU2CLR PCF8574 Arduino Library  1.0.3
Arduino Library for PCF8574 Device - By Ricardo Lima Caratti
/Users/rcaratti/Desenvolvimento/eu/Arduino/PU2CLR_PCF8574T/PCF8574/pu2clr_pcf8574.h File Reference
#include <Arduino.h>
#include <Wire.h>

Go to the source code of this file.

Data Structures

class  PCF
 

Macros

#define DEFAULT_I2C_ADDRESS   0x20
 
#define PCF_GPIO0   0
 
#define PCF_GPIO1   1
 
#define PCF_GPIO2   2
 
#define PCF_GPIO3   3
 
#define PCF_GPIO4   4
 
#define PCF_GPIO5   5
 
#define PCF_GPIO6   6
 
#define PCF_GPIO7   7
 
#define CHECK_BIT_HIGH(x, y)   (x & (1 << y))
 Check if a bit is high. Returns 0 or != 0. More...
 

Macro Definition Documentation

◆ DEFAULT_I2C_ADDRESS

#define DEFAULT_I2C_ADDRESS   0x20

◆ PCF_GPIO0

#define PCF_GPIO0   0

◆ PCF_GPIO1

#define PCF_GPIO1   1

◆ PCF_GPIO2

#define PCF_GPIO2   2

◆ PCF_GPIO3

#define PCF_GPIO3   3

◆ PCF_GPIO4

#define PCF_GPIO4   4

◆ PCF_GPIO5

#define PCF_GPIO5   5

◆ PCF_GPIO6

#define PCF_GPIO6   6

◆ PCF_GPIO7

#define PCF_GPIO7   7

◆ CHECK_BIT_HIGH

#define CHECK_BIT_HIGH (   x,
 
)    (x & (1 << y))

Check if a bit is high. Returns 0 or != 0.