![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi,
I am facing a problem in my programming. Any button press on the keypad didt display any character in the LCD. |
|
|
|
|
|
|
(permalink) |
|
This is my countdown timer code. My keypad code is from nigel. If any key is press, will it go to the Hours?
countdown ;Secs S1 call Delay250 call Delay250 call Delay250 call Delay250 call Chk_Keys movf key, w movwf Hours movf Hours, w movwf NumL call DisplayH movlw ':' call LCD_Char movf Mins, w movwf NumL call DisplayM movlw ':' call LCD_Char movf Secs, w movwf NumL call DisplayS movf Secs,w btfss STATUS,Z goto cd_Secs call Display_Secs ;Mins movf Mins,w btfss STATUS,Z goto cd_Mins call Display_Mins ;Hours movf Hours,w btfss STATUS,Z goto cd_Hours call Display_Hours cd_Secs decf Secs, f goto S1 cd_Mins decf Mins, f goto S1 cd_Hours decf Hours, f goto S1 Display_Secs movlw d'59' movwf Secs return Display_Mins movlw d'59' movwf Mins return Display_Hours movlw d'00' movwf Hours return |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Countdown Timer Please HELP! | FABASQ | Micro Controllers | 0 | 15th May 2008 10:09 PM |
| countdown timer | RoyalMaster | Electronic Projects Design/Ideas/Reviews | 6 | 10th June 2007 08:13 AM |
| Countdown Timer | ParkingLotLust | Electronic Projects Design/Ideas/Reviews | 17 | 15th August 2006 04:02 PM |
| can anyone help me with a countdown timer? | dicko44 | Electronic Projects Design/Ideas/Reviews | 2 | 24th July 2005 06:33 AM |
| Countdown Timer | ctduong1 | Electronic Projects Design/Ideas/Reviews | 6 | 2nd November 2004 04:50 AM |