ESP32-PaxCounter/include/i2cscan.h

16 lines
367 B
C
Raw Normal View History

2019-09-02 16:53:39 +02:00
#ifndef _I2CSCAN_H
#define _I2CSCAN_H
#include <Arduino.h>
2019-09-07 19:52:25 +02:00
#define SSD1306_PRIMARY_ADDRESS (0x3D)
#define SSD1306_SECONDARY_ADDRESS (0x3C)
#define BME_PRIMARY_ADDRESS (0x77)
#define BME_SECONDARY_ADDRESS (0x76)
#define AXP192_PRIMARY_ADDRESS (0x34)
#define MCP_24AA02E64_PRIMARY_ADDRESS (0x50)
#define QUECTEL_GPS_PRIMARY_ADDRESS (0x10)
2019-09-02 16:53:39 +02:00
int i2c_scan(void);
#endif