mirror of
https://github.com/0x1d/esp8266-laser.git
synced 2026-03-22 09:04:15 +01:00
added /preset endpoint and fixed numbering in presets.json
This commit is contained in:
23
README.md
23
README.md
@@ -8,8 +8,24 @@ Wifi Host for the Arduino-Laser-Spirograph
|
||||
* laser=1-128 (1:permanent, 2-127 pulse, 128 off)
|
||||
* motor1=1-128
|
||||
* motor2=1-128
|
||||
* motor3=1-128
|
||||
* motor3=1-128
|
||||
|
||||
* /preset
|
||||
* **POST** sets new value(s) to Preset
|
||||
* nr=presetNr (1-128)
|
||||
* laser=1-128 (1:permanent, 2-127 pulse, 128 off)
|
||||
* motor1=1-128
|
||||
* motor2=1-128
|
||||
* motor3=1-128
|
||||
* apply=true -> run preset
|
||||
|
||||
* /presetMode
|
||||
* **GET** returns current mode
|
||||
* **POST** sets mode 0: presetsOff 1: cycle (not completed feature)
|
||||
|
||||
* /presets
|
||||
* **GET** returns /presets.json
|
||||
|
||||
* /wificonfig
|
||||
* **GET** returns wifi settings
|
||||
* **POST** sets new wifi setting{s}
|
||||
@@ -22,11 +38,6 @@ Wifi Host for the Arduino-Laser-Spirograph
|
||||
* **GET** returns free heap of the ESP8266
|
||||
* /files
|
||||
* **GET** returns list of files
|
||||
* /presetMode
|
||||
* **GET** returns current mode
|
||||
* **POST** sets mode 0: presetsOff 1: cycle (not completed feature)
|
||||
* /presets
|
||||
* **GET** returns /presets.json
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
Reference in New Issue
Block a user