Della-WAHR:
Basic C++ tutorial:
Solar Battery charger
big thanks to Canabots for SoR. you can find this diagram on his web site to.
(click Pic)
also you may want to add a diode right before the - terminal to prevent discharging