Hi.
Have this project i will do.
It's for counting rain,.
Have a 16F690 and a 20*2 LCD.
Need to bulid a clock, cause i need the midnight shift
Normal readout on display will be.
First line . " Total rain xxx mm".
Second line " Today xx mm"
When pressing SW1. ( Select button )
First press, change line 2 to "Monday xx mm"
next press change line 2 to "Sunday xx mm"
Next press change line 2 to "Saturday xx mm"
next press change line 2 to "Friday xx mm"
ect.
until day is -7 from today.
Next press will show on first line "Time of day ( TOD )"
Second line " Monday "
Next again will return to normal.
When nothing is pressed for 10 seconds, it also returns to normal....
SW2 is for rest of "total rain" need to ask for confirmation, sure you want to delete total ? Y/N.
SW3 - SW4 - SW5 can only be used when SW1 has ( TOD ) Selected.
SW3 is for adding 1 hour to TOD,
SW4 is for adding 1 minute to TOD.
SW5 is for day of week, rotate from monday to sunday,....
Hope you can follow me in what i am planng to do ??
I have never done a programming of a PIC.
Have done many windows programs.
Have a 16F690 and a PicKit 2 starter kit.
LCD is 20*2 https://www.elfaelektronik.dk/elfa3~dk_da/elfa/init.do?item=75-512-37
Can someone please help me getting startet,
Rgds
FroceMaster
Have this project i will do.
It's for counting rain,.
Have a 16F690 and a 20*2 LCD.
Need to bulid a clock, cause i need the midnight shift
Normal readout on display will be.
First line . " Total rain xxx mm".
Second line " Today xx mm"
When pressing SW1. ( Select button )
First press, change line 2 to "Monday xx mm"
next press change line 2 to "Sunday xx mm"
Next press change line 2 to "Saturday xx mm"
next press change line 2 to "Friday xx mm"
ect.
until day is -7 from today.
Next press will show on first line "Time of day ( TOD )"
Second line " Monday "
Next again will return to normal.
When nothing is pressed for 10 seconds, it also returns to normal....
SW2 is for rest of "total rain" need to ask for confirmation, sure you want to delete total ? Y/N.
SW3 - SW4 - SW5 can only be used when SW1 has ( TOD ) Selected.
SW3 is for adding 1 hour to TOD,
SW4 is for adding 1 minute to TOD.
SW5 is for day of week, rotate from monday to sunday,....
Hope you can follow me in what i am planng to do ??
I have never done a programming of a PIC.
Have done many windows programs.
Have a 16F690 and a PicKit 2 starter kit.
LCD is 20*2 https://www.elfaelektronik.dk/elfa3~dk_da/elfa/init.do?item=75-512-37
Can someone please help me getting startet,
Rgds
FroceMaster