mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
wio-l1-eink initial support
This commit is contained in:
parent
757ff9fb55
commit
59ea6cdb89
6 changed files with 101 additions and 6 deletions
|
|
@ -12,8 +12,8 @@
|
|||
|
||||
#include "WVariant.h"
|
||||
|
||||
#define PINS_COUNT (33)
|
||||
#define NUM_DIGITAL_PINS (33)
|
||||
#define PINS_COUNT (38)
|
||||
#define NUM_DIGITAL_PINS (38)
|
||||
#define NUM_ANALOG_INPUTS (8)
|
||||
#define NUM_ANALOG_OUTPUTS (0)
|
||||
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
#define PIN_SERIAL1_TX (6)
|
||||
|
||||
// SPI Interfaces
|
||||
#define SPI_INTERFACES_COUNT (1)
|
||||
#define SPI_INTERFACES_COUNT (2)
|
||||
|
||||
#define PIN_SPI_MISO (9)
|
||||
#define PIN_SPI_MOSI (10)
|
||||
|
|
@ -101,4 +101,19 @@
|
|||
#define EXTERNAL_FLASH_DEVICES P25Q16H
|
||||
#define EXTERNAL_FLASH_USE_QSPI
|
||||
|
||||
// EInk on SPI1
|
||||
#define PIN_DISPLAY_CS (36)
|
||||
#define PIN_DISPLAY_BUSY (35)
|
||||
#define PIN_DISPLAY_DC (34)
|
||||
#define PIN_DISPLAY_RST (32)
|
||||
|
||||
#define PIN_SPI1_MISO (37)
|
||||
#define PIN_SPI1_MOSI (33)
|
||||
#define PIN_SPI1_SCK (31)
|
||||
|
||||
// GxEPD2 needs that for a panel that is not even used !
|
||||
extern const int MISO;
|
||||
extern const int MOSI;
|
||||
extern const int SCK;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue