I write example that toggle GPIO via TCP, based on GPIO2 example.
Iis operate GPIO 0,2,12,13,14,16 (all gpio on esp-03)
I am new newbie in C, and code may look strange.
Link to SRC and firmware
https://drive.google.com/file/d/0B3aO1G ... sp=sharingwhen module power-on it start TCP server on port 9999, TCP comands:
GPIO,NN,state - switch gpio number NN to state "state", ex
GPIO,00,1 - set GPIO1 to 1 or
GPIO,16,0 - set GPIO16 to 0
GPIO,NN - read gpio number NN state, ex
GPIO,00 or
GPIO,12PS I found that only gpio00 and gpio02 work, other always in high state. trying to solve the problem
PS I resolve problem, now working
GPIO 0,2,12,13,14. files updated