|
ESP_IOT v2.5
IOT ESP Coding
|
#include "KeyUnitSensorClass.h"#include "../../defines.h"#include <string.h>#include <stdio.h>#include <FastLED.h>
Go to the source code of this file.
Macros | |
| #define | USE_LED |
| #define | DATA_PIN 26 |
| port b More... | |
| #define | KEY_UNIT_GROVE |
| #define | KEY_PIN 32 |
| port b More... | |
Functions | |
| int | getDATA_PIN () |
| int | getKEY_PIN () |
| #define DATA_PIN 26 |
port b
8.20.24 The PIN map stuff is tricky, and I don't know how to do this except via configuration messages (or Compile defines). When using the M5Atom, the PIN Port (next to the power is: G19, G21,G22,G23,G25, G33) But if using the the PORT B or the IC-2, the pins are DATA_PIN 23, KEY_PIN 33 But the port out the back in DATA_PIN 26, KEY_PIN 32 HOW TO KNOW THIS ??? With the QRCode scanner, it's the port out the back If the
Definition at line 58 of file KeyUnitSensorClass.cpp.
| #define KEY_PIN 32 |
port b
Definition at line 91 of file KeyUnitSensorClass.cpp.
| #define KEY_UNIT_GROVE |
Definition at line 87 of file KeyUnitSensorClass.cpp.
| #define USE_LED |
Definition at line 37 of file KeyUnitSensorClass.cpp.
| int getDATA_PIN | ( | ) |
7.12.25
Definition at line 59 of file KeyUnitSensorClass.cpp.
| int getKEY_PIN | ( | ) |
7.12.25
Definition at line 92 of file KeyUnitSensorClass.cpp.