mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-16 07:42:37 +00:00
* initial commit * preset rotary1 encoder * define TAB+ESC * haptic feedback * allow switch off haptic feedback * enable audio amplifier * include PR4684 * fix for tft target * add ES8311 audio codec * fix KB scan duplicate * display workaround to avoid debris * fix debris on display * keyboard backlight * enable screen options * fsm based bounce-free rotary encoder implementation * use fsm RotaryEncoder only for T-Lora Pager * change inputbroker default config to allow using rotary wheel for screens AND menues --------- Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
20 lines
432 B
C
20 lines
432 B
C
#ifndef Pins_Arduino_h
|
|
#define Pins_Arduino_h
|
|
|
|
#include <stdint.h>
|
|
|
|
#define USB_VID 0x303a
|
|
#define USB_PID 0x1001
|
|
|
|
// used for keyboard, battery gauge, charger and haptic driver
|
|
static const uint8_t SDA = 3;
|
|
static const uint8_t SCL = 2;
|
|
|
|
// Default SPI will be mapped to Radio
|
|
static const uint8_t SS = 36;
|
|
static const uint8_t MOSI = 34;
|
|
static const uint8_t MISO = 33;
|
|
static const uint8_t SCK = 35;
|
|
|
|
#endif /* Pins_Arduino_h */
|