moon phasing

So what sort of output do you need, graphical, text, LEDs?

or do you just want to calculate what the phase is from the RTC?