我正在使用一个类似 Arduino 的 WeMos D1 和一个 TFT LCD 扩展板。当我想运行像graphictest这样的示例程序时,它不会编译该程序,并且会给出以下错误:
Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);
A3' was not declared in this scope
A2' was not declared in this scope
A1' was not declared in this scope
以下是定义引脚的代码:
#define LCD_CS A3 // Chip Select goes to Analog 3
#define LCD_CD A2 // Command/Data goes to Analog 2
#define LCD_WR A1 // LCD Write goes to Analog 1
#define LCD_RD A0 // LCD Read goes to Analog 0
最佳答案
关于arduino - Wemos D1 和 TFT LCD 扩展板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42327792/