Compare commits

...

2 Commits

3 changed files with 6 additions and 21 deletions

View File

@ -71,14 +71,10 @@ Deutsches Erklärvideo: [Youtube](https://youtu.be/uNDe2wh9SS8?si=b-jYx4I1w62zaO
| OLED SCL | 22 | | OLED SCL | 22 |
| PN532 IRQ | 32 | | PN532 IRQ | 32 |
| PN532 RESET | 33 | | PN532 RESET | 33 |
| PN532 SCK | 14 | | PN532 SDA | 21 |
| PN532 MOSI | 13 | | PN532 SCL | 22 |
| PN532 MISO | 12 |
| PN532 CS/SS | 15 |
Ich nutze die HSPI default PINs + IRQ und RESET am PN532 **Achte darauf, dass am PN532 die DIP-Schalter auf I2C gestellt sind**
![ESP32](./img/ESP32-SPI-Pins.png)
## Software-Abhängigkeiten ## Software-Abhängigkeiten

View File

@ -75,14 +75,10 @@ german explanatory video: [Youtube](https://youtu.be/uNDe2wh9SS8?si=b-jYx4I1w62z
| OLED SCL | 22 | | OLED SCL | 22 |
| PN532 IRQ | 32 | | PN532 IRQ | 32 |
| PN532 RESET | 33 | | PN532 RESET | 33 |
| PN532 SCK | 14 | | PN532 SDA | 21 |
| PN532 MOSI | 13 | | PN532 SCL | 22 |
| PN532 MISO | 12 |
| PN532 CS/SS | 15 |
I use the HSPI default PINs + IRQ and RESET at the PN532 **Make sure that the DIP switches on the PN532 are set to I2C**
![ESP32](./img/ESP32-SPI-Pins.png)
## Software Dependencies ## Software Dependencies

View File

@ -15,17 +15,10 @@
#include "esp_task_wdt.h" #include "esp_task_wdt.h"
#include "commonFS.h" #include "commonFS.h"
#include "soc/rtc.h"
// ##### SETUP ##### // ##### SETUP #####
void setup() { void setup() {
Serial.begin(115200); Serial.begin(115200);
rtc_cpu_freq_config_t config;
rtc_clk_cpu_freq_get_config(&config);
rtc_clk_cpu_freq_to_config(RTC_CPU_FREQ_80M, &config);
rtc_clk_cpu_freq_set_config_fast(&config);
uint64_t chipid; uint64_t chipid;
chipid = ESP.getEfuseMac(); //The chip ID is essentially its MAC address(length: 6 bytes). chipid = ESP.getEfuseMac(); //The chip ID is essentially its MAC address(length: 6 bytes).