I've posted a library of C/C++ code that I use for my robotics projects http://www.bobcookdev.com/rl/ available for free download.
The package is covered by the GNU Public License v2.
The package contains small libraries for the built-in h/w of UART, ADC, etc. The package also includes libraries for a couple interesting LCDs and the Microchip MCP2515 CAN Controller chip.
There are a couple of demo programs plus I've included the source code for my minisumo project The Thin Man.
Be aware that it doesn't use Make to build. Be sure to read the notes I've posted on the webpage about hints to get it to build for you. On the other hand, you could just snip out the code and paste it into your own projects. Please respect the GPL license however.
I hope you find it interesting and useful.
- Bob Cook
