Here’s something that might help someone out there. There are plenty of examples of web servers and even a few web services interfaces, but few if any command line interfaces. A few old forum posts seem to be looking for this, but I haven’t found any good examples. This sketch allows you to read all digital and analog pins, set digital outputs high or low, set PWM outputs and change the mode of digital pins. This could be useful when debugging hardware or perhaps you just have a hankering for good old text based interaction. I’ve keep the command structure very simple, for example analogRead is abbreviated as ar, in an effort to keep the sketch size small and so the code will run reasonably fast. There’s built in help, so once the sketch is running you can ask it to give you a complete list of supported commands. Please post comments here if you find this useful (or not) or have any other suggestions.
Find it at: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1278686415
We care about the privacy and personal data of our users.
To continue, please give us your consent:
Please confirm that you have read the privacy policy
Thank you for subscribing!
Curious to learn more?
Are you also a teacher, student, or professional that loves using Arduino in your day-to-day activities?
Then keep up-to-date with either our STEM or Professional monthly newsletters.
Arduino weekly newsletter (already subscribed)
Educators can benefit from the ever growing tech that shapes our environment through fun cool projects.
Why not awe your boss with highly innovative ways to help keep your enterprise connected at no extra cost?
Arduino Survey
We'd like to get to know you little better.
Please help us improve by answering this super short optional survey.