working rfid on hwv2, latest arduino-esp

This commit is contained in:
2021-11-27 11:07:16 +01:00
parent c5291f5566
commit bb9c4c8228
7 changed files with 29 additions and 23 deletions

View File

@@ -1,7 +1,8 @@
#pragma once
#define HARDWARE 1
#ifndef HARDWARE
#define HARDWARE 2
#endif
#if HARDWARE == 2
#define I2S_BCLK 19
@@ -9,16 +10,15 @@
#define I2S_DATA 18
#define DAC_SDMODE 23
#define NFC_SS 27
#define NFC_SCK 25
#define NFC_SS 25
#define NFC_SCK 14
#define NFC_MOSI 26
#define NFC_MISO 14
//#define NFC_RST 22 //not connectedx
#define NFC_MISO 27
#define NFC_IRQ 13
#define PWR_HOLD 4
#define PWR_BTN 9
#define MEAS_EN 10
#define PWR_BTN 5
#define MEAS_EN 12
#define MEAS_ADC 35 //ADC1_CH7
#define HALL_INPUT 36 //ADC1_CH0