fix motor numbers and parameter order

This commit is contained in:
2017-10-23 22:55:26 +02:00
parent 6ec06be6c8
commit 997d4742d1
6 changed files with 30 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
# Esp8266-Laser
Wifi Host for the Arduino-Laser-Spirograph
#usage:
HTTP GET endpoints:
/motor/{motorNr}/{value}
/laser/{value}
/ssid/{ssidname}
@@ -12,7 +12,7 @@ Wifi Host for the Arduino-Laser-Spirograph
/readwifi -> returns wifi settings
/readvalues -> return laser and motor values (all 0 at startup, ram only)
#install
# Install
- install arduino ide (1.8.5)
- follow this instruction
@@ -32,5 +32,13 @@ You may also need to:
- get and install driver for nodemcu
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
# Development
Frontend
--------
Frontend development requires NodeJS / NPM.
Run development server:
npm run dev
Build distribution source:
npm run build