![]() I don’t like that it depends on two other libraries ( Arduino Streaming Library and Arduino Base64 Library ). There’s nothing really wrong with CmdMessenger. There are also things like Firmata and Bitlash, but they’re really more extensive than just having your arduino program talk to your host program. Unfortunately, as you then follow the trail, you are suggested in the modern age to instead of Messenger to use CmdMessenger. If you RTFM, the arduino libraries tell you to use the “ Messenger” library for doing serial command processing (which I did, a long time ago). ![]() Things like “turn off that relay” or “process this” or “move this motor to this position and stop” or “holy shit the building is burning down everybody run”. Frequently what I end up needing is the arduino to respond to some commands sent from the host computer. The Arduino boards have a very nice, very easy to use USB-to-Serial connection on them, so you just have to write your host program to send serial bytes and you can communicate with the arduino board. Frequently I write code that has to interact with a host computer. Here’s another dinky little thing I wrote because I was unsatisfied with the alternatives. Hence my earlier SerLCD and ADT7310 libraries I’ve published here. The github version is the most current.įor lots of software projects, I end up writing stupid little utility libraries so I don’t have to keep re-writing crap over and over. Note: there have been updates to this library to include support for SoftwareSerial since this post was originally published. Here’s some nice music to listen to while you read this long and boring article:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |