Simple... open a serial port and send a value to microcontroller
I'm looking through the rosserial tutorials and the basics are escaping me. Does anyone have an example of python code that connects to a serial port (a linked USB in my case) and sends values to a Microcontroller (BS2 in my case). I'm using the BS2 to actuate a very basic remote controlled arm (OWI Arm Trainer) from an Ubuntu/ROS diamondback laptop. I've been through most of the tutorials but cannot determine a simple way to open the serial port and send values to the BS2. Can someone at least get me started in the right direction?