![]() |
PU2CLR PCF8574 Arduino Library
1.0.3
Arduino Library for PCF8574 Device - By Ricardo Lima Caratti
|
#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... | |
#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.