forked from xiaozhi/xiaozhi-esp32
fix esp32 lcd show bug: Pin conflict (#339)
This commit is contained in:
@@ -12,7 +12,11 @@ namespace iot {
|
||||
// 这里仅定义 Lamp 的属性和方法,不包含具体的实现
|
||||
class Lamp : public Thing {
|
||||
private:
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32
|
||||
gpio_num_t gpio_num_ = GPIO_NUM_35;
|
||||
#else
|
||||
gpio_num_t gpio_num_ = GPIO_NUM_18;
|
||||
#endif
|
||||
bool power_ = false;
|
||||
|
||||
void InitializeGpio() {
|
||||
|
||||
Reference in New Issue
Block a user