mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
default GPIO is 21 (40 is invalid)
This commit is contained in:
@@ -262,7 +262,7 @@ const DashboardSensors: FC = () => {
|
|||||||
setSelectedAnalogSensor({
|
setSelectedAnalogSensor({
|
||||||
id: Math.floor(Math.random() * (Math.floor(200) - 100) + 100),
|
id: Math.floor(Math.random() * (Math.floor(200) - 100) + 100),
|
||||||
n: '',
|
n: '',
|
||||||
g: 40,
|
g: 21, // default GPIO 21 which is safe for all platforms
|
||||||
u: 0,
|
u: 0,
|
||||||
v: 0,
|
v: 0,
|
||||||
o: 0,
|
o: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user