Okay, we'll go with the bike. It is a nice one - wish I could give credit to someone for it, but the origin is unknown.The sample & library code should be able to answer the other other questions. These files were compiled and tested before attaching, so it should at least work in the case of an Arduino. The library and sample code originated from DFRobot, with some minor modifications by me to fix the library to work on Arduino v1.0.1, fix some English, tighten up some statements, and change the image to the bike.
This is the compiler result on arduino:
- Code: Select all | TOGGLE FULL SIZE
Binary sketch size: 3,180 bytes (of a 30,720 byte maximum)
There's one thing I'm unsure of, and that's RS. The library seems to use that as kind of an "LCD Enable" function on the Arduino pin 8. I tried tying it to 5V instead to save pins and it worked fine. Maybe you only need to use the signal line for that in the case of multiple LCDs. Of course if you don't use that signal, the library will need to be modified to prevent it from outputting the Enable signal.
Good luck making it work. I hope you will upload some results and photos of your project for the forum. One thing that would be a nice addition to the library is a function or two for setting pixels individually by x-y or for drawing shapes, even if it's just rectangles for bar graphs, etc. My ambition isn't sufficient to go there yet, but if you make such functions, I'd be happy to use them.