Compare commits

..

No commits in common. "9007a65fc2fa2797e308f288a5591d080c97c8e0" and "5c5846c52c8572106fe4e64fca5237fc91d97f4c" have entirely different histories.

3 changed files with 21 additions and 6 deletions

View File

@ -71,10 +71,14 @@ 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 SDA | 21 | | PN532 SCK | 14 |
| PN532 SCL | 22 | | PN532 MOSI | 13 |
| PN532 MISO | 12 |
| PN532 CS/SS | 15 |
**Achte darauf, dass am PN532 die DIP-Schalter auf I2C gestellt sind** Ich nutze die HSPI default PINs + IRQ und RESET am PN532
![ESP32](./img/ESP32-SPI-Pins.png)
## Software-Abhängigkeiten ## Software-Abhängigkeiten

View File

@ -75,10 +75,14 @@ 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 SDA | 21 | | PN532 SCK | 14 |
| PN532 SCL | 22 | | PN532 MOSI | 13 |
| PN532 MISO | 12 |
| PN532 CS/SS | 15 |
**Make sure that the DIP switches on the PN532 are set to I2C** I use the HSPI default PINs + IRQ and RESET at the PN532
![ESP32](./img/ESP32-SPI-Pins.png)
## Software Dependencies ## Software Dependencies

View File

@ -15,10 +15,17 @@
#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).