2 ms·
Yeah, a REST interface a pretty interesting way to interact with the Arduino. I made something similar a couple of years ago (the details of which used to be a
by follower 15y ago
Yeah, a REST interface a pretty interesting way to interact with the Arduino.
I made something similar a couple of years ago (the details of which used to be at http://code.rancidbacon.com/Flashduino http://code.rancidbacon.com/Flashduino and may return when I get a server back up).
The demo I had actually served up an Adobe Flash file that was stored in the Arduino's flash memory (it was small and generated with Python & Ming) that then interacted with the Arduino via the "REST" interface. I got it reading/writing pins and the EEPROM from both Adobe Flash and Javascript before I got distracted. :)
I've long thought that interacting with Firmata via REST could be a nice approach--I think Massimo from the Arduino team wrote an Ethernetised Firmata at one stage but don't think it used HTTP.