* Cardputer Kit BMI270 WIP * BMI270 support * verify that the number of bytes read matches the requested length Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * trunk'd * remove excessive logging * Kick the screen when unsleeping * Update the st7789 library, and enable displayon and displayoff * Battery detection * Default to arrow keys and enter, while in menus. * Enable Backlight control * Update src/detect/ScanI2CTwoWire.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * updateState method now accepts shouldRequestFocus parameter for better maintainability --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
21 lines
494 B
C
21 lines
494 B
C
#ifndef Pins_Arduino_h
|
|
#define Pins_Arduino_h
|
|
|
|
#include "soc/soc_caps.h"
|
|
#include <stdint.h>
|
|
|
|
#define USB_VID 0x303a // USB JTAG/serial debug unit ID
|
|
#define USB_PID 0x1001 // USB JTAG/serial debug unit ID
|
|
|
|
static const uint8_t SS = 5;
|
|
static const uint8_t SDA = 8;
|
|
static const uint8_t SCL = 9;
|
|
static const uint8_t ADC = 10;
|
|
static const uint8_t TXD2 = 13;
|
|
static const uint8_t MOSI = 14;
|
|
static const uint8_t RXD2 = 15;
|
|
static const uint8_t MISO = 39;
|
|
static const uint8_t SCK = 40;
|
|
|
|
#endif
|