fix: reordered button numbers to match the actual wiring
This commit is contained in:
+3
-3
@@ -14,9 +14,9 @@ U8G2_SH1106_128X64_NONAME_F_HW_I2C u8g2(U8G2_R2, U8X8_PIN_NONE);
|
|||||||
|
|
||||||
int lastButtonNextState = LOW;
|
int lastButtonNextState = LOW;
|
||||||
int lastButtonSelectState = LOW;
|
int lastButtonSelectState = LOW;
|
||||||
uint8_t buttonNext = A4;
|
uint8_t buttonNext = A3;
|
||||||
uint8_t buttonSelect = A5;
|
uint8_t buttonSelect = A4;
|
||||||
Am2302Sensor am2302(A3);
|
Am2302Sensor am2302(A5);
|
||||||
WifiConnection wifiConnection;
|
WifiConnection wifiConnection;
|
||||||
InternetTime internetTime;
|
InternetTime internetTime;
|
||||||
WeatherForecast weatherForecast;
|
WeatherForecast weatherForecast;
|
||||||
|
|||||||
Reference in New Issue
Block a user