lopy.h set to default
This commit is contained in:
parent
b5f735a6d3
commit
4d56e90ef0
@ -7,12 +7,12 @@
|
||||
// !!EXPERIMENTAL - not tested yet!!
|
||||
// uncomment this only if your LoPy runs on a Pytrack expansion board with GPS
|
||||
// see http://www.quectel.com/UploadImage/Downlad/Quectel_L76-L_I2C_Application_Note_V1.0.pdf
|
||||
#define HAS_GPS 1
|
||||
#define GPS_I2C_PINS GPIO_NUM_25, GPIO_NUM_26 // SDA (P22), SCL (P21)
|
||||
#define GPS_I2C_ADDRESS_READ 0x21
|
||||
#define GPS_I2C_ADDRESS_WRITE 0x20
|
||||
#define HAS_BUTTON GPIO_NUM_37 // (P14)
|
||||
#define BUTTON_PULLUP 1 // Button need pullup instead of default pulldown
|
||||
//#define HAS_GPS 1
|
||||
//#define GPS_I2C_PINS GPIO_NUM_25, GPIO_NUM_26 // SDA (P22), SCL (P21)
|
||||
//#define GPS_I2C_ADDRESS_READ 0x21
|
||||
//#define GPS_I2C_ADDRESS_WRITE 0x20
|
||||
//#define HAS_BUTTON GPIO_NUM_37 // (P14)
|
||||
#//define BUTTON_PULLUP 1 // Button need pullup instead of default pulldown
|
||||
|
||||
// Hardware pin definitions for Pycom LoPy board
|
||||
#define PIN_SPI_SS GPIO_NUM_17
|
||||
|
Loading…
Reference in New Issue
Block a user