Does such Arduino command interpreter already exist?
I want an interpreter running on Arduino that allows to execute Arduino commands interactively.
bitLash is one attempt. In general, such things are difficult to implement.
Why ?By that I mean, why do you want an interpreter as an alternative to the normal Arduino programming process?...
In file included from /home/stammw/Desktop/Arduino/arduino-1.6.4/libraries/billroy-bitlash-7d80a37/src/bitlash-cmdline.c:36:0, from /home/stammw/Desktop/Arduino/arduino-1.6.4/libraries/billroy-bitlash-7d80a37/bitlash.cpp:49:/home/stammw/Desktop/Arduino/arduino-1.6.4/libraries/billroy-bitlash-7d80a37/src/bitlash.h:54:20: fatal error: avr/io.h: No such file or directory #include "avr/io.h" ^compilation terminated.
initiate emergency stopsset motor speedset motor direction
… It would be easy to arrange to change the values with push buttons or potentiometers.In particular, emergency stops are probably best handled directly without any MCU intervention - press the big red button, and power is OFF.
I am not sure how you want to press the button.Motor, motor controller, Arduino, (ESP8266-01, missing here) and LiPos will be mouted on a wooden stick and that is moving!