jagrolet
New Member
I'm trying to find an example of some assembly code for a PIC timer that will remember a user defined time. Example: User holds down a button for X time and that time is stored in EEPROM.
Now user presses a button and an led lights for the time stored in the EEPROM.
Timer would be approx 1 min. max time and I would like to have 1/8 sec. or better resolution.
I'm using a 16F628A but an example for 16f84 is fine.
Has anyone seen on the web or have a tutorial for lighting an LED for a user specified time period?
Now user presses a button and an led lights for the time stored in the EEPROM.
Timer would be approx 1 min. max time and I would like to have 1/8 sec. or better resolution.
I'm using a 16F628A but an example for 16f84 is fine.
Has anyone seen on the web or have a tutorial for lighting an LED for a user specified time period?