Skip to content

Commit

Permalink
fix script example
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Sep 24, 2023
1 parent 5ddcf3b commit 2b51d8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/autoexecExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ Deep sleep usage with SHT30 sensor and data reporting via HTTP GET
// start driver
startDriver SHT3X
//hold button for 3 seconds to get into safe mode
addEventHandler OnHold 20 SafeMode 3
//hold button to get into safe mode
addEventHandler OnHold 20 SafeMode
// wait for wifi to become WIFI_STA_CONNECTED
waitFor WiFiState 4
Battery_Setup 2500 4200 2.29 2400 4096
Expand Down
4 changes: 2 additions & 2 deletions docs/autoexecs/deep_sleep_temp_sensor_http.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

// start driver
startDriver SHT3X
//hold button for 3 seconds to get into safe mode
addEventHandler OnHold 20 SafeMode 3
//hold button to get into safe mode
addEventHandler OnHold 20 SafeMode
// wait for wifi to become WIFI_STA_CONNECTED
waitFor WiFiState 4
Battery_Setup 2500 4200 2.29 2400 4096
Expand Down

0 comments on commit 2b51d8a

Please sign in to comment.