I know how to setup Web server or TCP server.
I want an interpreter running on Arduino that allows to execute Arduino commands interactively.
My first thought was to just allow commands like "analogWrite(2, 127)" or "digitalRead(1)". But yesterday I stumbled over PicoC interpreter https://twitter.com/HermannSW/status/605524859129606144
that would give more of a shell around just being able to execute Arduino commands.
So on startup the Arduino would
- read commands from Serial
- interpret and execute the commands received
On computer running Arduino IDE
- start serial monitor in Arduino IDE
- send commands
- receive and display command responses
I want to use that eg. for controlling motor over motor controller (direction, speed), and with the help of ESP8266 module do so wireless for motor test station, see   . PicoC would give shell like capabilities like loops for increasing speed gradually.
Does such Arduino command interpreter already exist? Has anybody brought PicoC to Arduino yet?