INNER CODE UNIT · C++

ADC_RESOLUTION

Hykudoru/Pescado-Engine-Embedded-ESP32S3 · src/main.cpp:35

const uint16_t ADC_RESOLUTION = 4095; // 0 - 4095
#define I2C_SCL 46
#define I2C_SDA 45

//pfunc can be reasigned at runtime to change the desired procedure invoked inside the default loop function.
typedef void (*pointerFunction)(void);
pointerFunction ptrMode;

TFT_eSPI tft = TFT_eSPI();
TFT_eSprite display = TFT_eSprite(&tft);

const int LEFT_JOYSTICK_MUX_PORT = 0;
const int RIGHT_JOYSTICK_MUX_PORT = 3;
MuxJoystick leftJoystick(LEFT_JOYSTICK_MUX_PORT, false, false);
MuxJoystick rightJoystick(RIGHT_JOYSTICK_MUX_PORT, false, false);


// Checking if DEBUGGING true in other scripts before using cout also ensures readable slow incremental output.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…