I am trying to get my RP communicating with my Arduino using Boost ASIO but having some problems.
When i try to run my program it does nothing for a while and then I get an error from boost:
what(): Input/output error
The same code runs fine on another computer (although other pc has Boost 1.46.1, RPi has 1.42.0)
The Arduino is connected to the RP via a USB lead and a powered USB hub. The Arduino serial connection appears as /dev/ttyACM0 and I use this to initialise the serial connection in boost.
Anyone else tried serial-Arduino communication in C++? I don't need to use Boost, but this seemed like the easiest option.