diff --git a/README.md b/README.md index b1e8b12..cd70258 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ Use this version if it does not compile. * Adafruit-GFX (not my work) [link](https://github.com/adafruit/Adafruit-GFX-Library) * RTClib-master (not my work) [link](https://github.com/adafruit/RTClib) * AT24CXX-master (not my work) [link](https://github.com/cyberp/AT24Cx) +* WebSockets (not my work) [link](https://github.com/Links2004/arduinoWebSockets) /!\ Some of these librairies have been modified for the project, thus, it is recommended to get them from the repository here : [link](http://82.64.196.164/git/Th3maz1ng/ESP8266_swiss_army_board/src/branch/master/src/libs) @@ -209,6 +210,12 @@ Here is a list of the available api calls for the board : * Description : Get the module's I/O logic levels, it is possible to check the level of specific pins * Response format : JSON * OK : { "status" : "ok", "P0" : "1", "P1" : "1", "P2" : "0", "P3" : "1", "P4" : "1", "P5" : "1", "P6" : "1", "P7" : "1" } +* /sab/io/get/mode +* /sab/io/get/mode?P0&P2&PX... + * HTTP request method : GET + * Descritpion : Get the module's I/O mode (ie input or ouput), it is possible to get the mode of specific pins + * Response format : JSON + * OK : { "status" : "ok", "P0" : "OUT", "P1" : "IN", "P2" : "OUT", "P3" : "OUT", "P4" : "IN", "P5" : "OUT", "P6" : "IN", "P7" : "OUT" } ### Things to do :