update rfid code and CR95 lib
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#define HARDWARE 1
|
||||
|
||||
|
||||
#if HARDWARE == 2
|
||||
#define I2S_BCLK 19
|
||||
#define I2S_WCLK 21
|
||||
#define I2S_DATA 18
|
||||
@@ -18,4 +21,27 @@
|
||||
#define MEAS_EN 10
|
||||
#define MEAS_ADC 35 //ADC1_CH7
|
||||
|
||||
#define HALL_INPUT 36 //ADC1_CH0
|
||||
#define HALL_INPUT 36 //ADC1_CH0
|
||||
#endif
|
||||
|
||||
#if HARDWARE == 1
|
||||
#define I2S_BCLK 21
|
||||
#define I2S_WCLK 13
|
||||
#define I2S_DATA 14
|
||||
#define DAC_SDMODE 27
|
||||
|
||||
#define NFC_SS 25
|
||||
#define NFC_SCK 18
|
||||
#define NFC_MOSI 23
|
||||
#define NFC_MISO 19
|
||||
#define NFC_RST 22 //not connectedx
|
||||
#define NFC_IRQ 26
|
||||
|
||||
#define PWR_HOLD 4
|
||||
#define PWR_BTN 9
|
||||
#define MEAS_EN 10
|
||||
#define MEAS_ADC 35 //ADC1_CH7
|
||||
|
||||
#define HALL_INPUT 36 //ADC1_CH0
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user