Moon Phase
Hi Michael, i'm using the 16x2 lcd display from
www.tech-supplies.co.uk
For each moon phase i'm defining my own character using the lcd wizard in the programming editor, example :-
This is just one part of my moon graphic,
serout 0,t600, (254, 72, 32, 32, 32, 32, 48, 48, 48, 32)
Then display this on the lcd:-
serout 0,t600,(254,198,9)
So my full moon looks like this the way i've done it:-
Code:
. . . . .
. . . . .
. . . . .
. # # # .
# # # # #
# # # # #
# # # # #
. # # # .
Half moon:-
. . . . .
. . . . .
. . . . .
. # # . .
# # # . .
# # # . .
# # # . .
. # # . .
etc,
Will soon purchase the graphic lcd from tech-supplies as a much bigger & better graphic could be produced, but the above still looks pretty cool, it is abit small but looks good.
Would love to incorporate moonrise & set times but the maths is more involved, maybe using the floating math chip would do it.
Still, a nice little addition to picaxe lcd projects.
If you would like to see a pic i'd me more than pleased, just send me you're email.
mdennisond@sky.com
P.S. Graphics above not perfect, something with the spaces went funny but you get the general idea.
Yours,
Mark