Greetings Everyone, Im new to this forum, though ive been watching from the seems for a few months.
Im completing a PICAXE project that is based around a 28x2 AXE001 starter kit, connected with a AXE033 DS1307 & LCD starter kit.
Ive been working with the design for a while, and have already implemented my reading of the date varibles from the DS1307 clock, however there is a couple issuse i am having, that i am suppised/irritated that are not covered.
When the DS1307 is programmed with the Time & Date data, the data is in a Hex format, well that great, but how the hell do you convert values to hex, and if it is so simple, why the hell was it not including in the AXE033 manual.
Also... because the AXE033 is a parallel interface to the LCD display, ive been using a memory varible for each number, so two numbers to cover the units & the tens columb.
I think i might have worked a way to combine the two decimal numbers, but i need some help with converting the decimal number to the hex eqivalent.
I have some understanding on hex numbers in general, but ive been unable to find any information that linked with the DS1307 & decimal to hex conversion.
Any suggestions or help would be welcome, thanks.
NOS9
Im completing a PICAXE project that is based around a 28x2 AXE001 starter kit, connected with a AXE033 DS1307 & LCD starter kit.
Ive been working with the design for a while, and have already implemented my reading of the date varibles from the DS1307 clock, however there is a couple issuse i am having, that i am suppised/irritated that are not covered.
When the DS1307 is programmed with the Time & Date data, the data is in a Hex format, well that great, but how the hell do you convert values to hex, and if it is so simple, why the hell was it not including in the AXE033 manual.
Also... because the AXE033 is a parallel interface to the LCD display, ive been using a memory varible for each number, so two numbers to cover the units & the tens columb.
I think i might have worked a way to combine the two decimal numbers, but i need some help with converting the decimal number to the hex eqivalent.
I have some understanding on hex numbers in general, but ive been unable to find any information that linked with the DS1307 & decimal to hex conversion.
Any suggestions or help would be welcome, thanks.
NOS9