diff --git a/README.md b/README.md index 6d9f82ed5b3cbbf8bf123097313e1628b0fcd1d7..1fefb056f172b2bd9fc82b1a9cc20c5233d21f76 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,10 @@ In Arduino IDE *Serial Monitor* or PlatformIO *Monitor*, type `help` + <kbd>Ente * `csv 60` (Sets CSV writing interval, in s). * `format_filesystem` (Deletes the whole filesystem). * `free` (Displays available heap space). +* `led 0/1` (Turns LEDs on/off). * `local_ip` (Displays local IP and current SSID). * `lora 300` (Sets LoRaWAN sending interval, in s). * `mqtt 60` (Sets MQTT sending interval, in s). -* `night_mode` (Toggles night mode on/off). * `reset` (Restarts the ESP). * `reset_scd` (Resets SCD30). * `send_local_ip` (Sends local IP and SSID via MQTT. Can be useful to find sensor). diff --git a/ampel-firmware/sensor_console.h b/ampel-firmware/sensor_console.h index 5cf4450d19535d19e871f5d4d48b11d09521070e..fe30469d47c9fa47f35beed710ef037b0484a731 100644 --- a/ampel-firmware/sensor_console.h +++ b/ampel-firmware/sensor_console.h @@ -3,7 +3,7 @@ #include <Arduino.h> /** Other scripts can use this namespace, in order to define commands, via callbacks. - * Those callbacks can then be used to send commands to the sensor (reset, calibrate, night mode, ...) + * Those callbacks can then be used to send commands to the sensor (reset, calibrate, led on/off, ...) * The callbacks can either have no parameter, or one int32_t parameter. */