libmodbus

libmodbus for Arduino (almost!)

April 14, 2011

The libmodbus project is a real success on many platforms and to conquer the world, I’ve written a version dedicated to Arduino devices. My goals are: to talk with a standard Arduino UNO or Duemilanove via the integrated USB serial line (8N1) to have the lowest footprint (binary sketch size and SRAM) to be robust OK, you’re right, other projects exist already: Master/slave by jpmzometa and others is great but the reading in loop doesn’t handle serial latency and the code contains too many arrays IMHO ModbusMaster is a master and I want a slave. ... Read more …

Tags: libmodbus arduino

The libmodbus documentation has landed

March 25, 2011

You’ve been numerous to ask for documentation and the work of gass with GTK-doc help me to prioritize it, so this month I’ve finally tackled this problem but not as expected! At first, I loved the GTK-doc solution, I’m a GNOME lover after all, but GTK-doc can’t generate man pages and the setup code is too cumbersome IMHO. To choose the best solution for libmodbus, I read a comparison matrix on Wikipedia, after some tests with GTK-doc, Doxygen and AsciiDoc, and I finally choose AsciiDoc. ... Read more …

Tags: libmodbus gnome