default GPIO is 21 (40 is invalid)

This commit is contained in:
Proddy
2024-01-05 22:36:53 +01:00
parent 5259d55f23
commit 2dfba3f7d0

View File

@@ -262,7 +262,7 @@ const DashboardSensors: FC = () => {
setSelectedAnalogSensor({
id: Math.floor(Math.random() * (Math.floor(200) - 100) + 100),
n: '',
g: 40,
g: 21, // default GPIO 21 which is safe for all platforms
u: 0,
v: 0,
o: 0,