Hi,
This would be the easiest setting. Now you have to decide how you want to control charging. For simple CV charging, you could use LM350 or something more efficient like L4964.
Code:
http://www.sentex.ca/~mec1995/gadgets/labc2.htm
**broken link removed**
**broken link removed**