Hello to all programmers,
Can anybody hint me with a routine for Bascom AVR ?
Here is the idea:
LCD 16x2 is connected and must display the choice
Menu for selecting a constant (i.e variable constant) by UP/DOWN buttons - from 1 to 150 , and then store it with third button.Constant is displayed as number, which is increased or decreased by the buttons.
This constant is good to be saved in the eeprom too and when supply is down and then up, to be the same as the last saved (i.e. to be read from it after power supply back).
No matter what ports you will define for the buttons.
Any one can write example for this ?
Thank you for your help and sorry fot that i don`t speak Polish.
Can anybody hint me with a routine for Bascom AVR ?
Here is the idea:
LCD 16x2 is connected and must display the choice
Menu for selecting a constant (i.e variable constant) by UP/DOWN buttons - from 1 to 150 , and then store it with third button.Constant is displayed as number, which is increased or decreased by the buttons.
This constant is good to be saved in the eeprom too and when supply is down and then up, to be the same as the last saved (i.e. to be read from it after power supply back).
No matter what ports you will define for the buttons.
Any one can write example for this ?
Thank you for your help and sorry fot that i don`t speak Polish.