main: better document GPIO connections

This commit is contained in:
King Kévin 2023-03-13 23:11:04 +01:00
parent 7d8a98d0ea
commit d823f18526
1 changed files with 4 additions and 9 deletions

View File

@ -30,18 +30,13 @@
// GPIO for on-board LED (WEMOS S2 mini, source on)
#define LED_BOARD 15
/* GM1352 test pads:
* - CS: LCD chip select, to start data communication
* - DATA: LCD data bits
* - WR: LCD data clock (not periodic)
* - S: ??? (low)
* - 1: HOLD button (press low)
* - 2: MIN/MAX button (press low)
* - 3: POWER button (press low)
*/
// connect GPIO to test pad 3
#define GPIO_POWER (16U)
// connect GPIO to test pad DATA
#define GPIO_MOSI (18U)
// connect GPIO to test pad WR
#define GPIO_SCLK (35U)
// connect GPIO to test pad CS
#define GPIO_CS (33U)
static const char *TAG = "main";