I have a speed alert code which i need to modify with 3 extra push buttons (Used on a PIC16F886) - A ones, tens and hundreds placeholder to input the speed limit
Would you think it would be viable...
Type: Posts; User: Trickae; Keyword(s):
I have a speed alert code which i need to modify with 3 extra push buttons (Used on a PIC16F886) - A ones, tens and hundreds placeholder to input the speed limit
Would you think it would be viable...
I wanted to expand on some pre-existing code so I could insert a ones, tens, hundreds button to a speed alert system.
The problem is the code is for a PIC16F84 with only an UP and DOWN button. As...
well as long as they're only warnings i'll move on to adding to the design.
thanks
btw - I got a build succeeded confirmation - however I have the following error messages.
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program...
Thanks for the help so far - i'll check out piclist and make the above corrections.
Regards,
MODE btfss REPEAT,1 ; bit 1 a '1' for on (on/off flag)
goto SET_1 ; was off so turn on
btfsc REPEAT,3 ; speedo on/off flag
goto BYSPD
btfss REPEAT,2 ; speedometer or alarm set mode...
; check for pressed Mode switch
CHK_MDE bsf PORTA,1 ; RA1 high so disp2 off
bsf PORTA,2 ; RA2 high so disp3 off
nop
nop
bcf PORTA,0 ; clear RA0 to check if mode switch pressed
nop...
;**********************************************************************************************
; RESET
; Set ports A & B
MAIN clrf FLAG_1 ; clear flag memory
clrf ERR_FLG ; clear...
part 3
; routine to convert speedo memory to speed 1, 2 & 3 display memory
sublw 0xFF ; compare with maximum value (255km/h)
btfsc STATUS,Z ; is it at maximum
goto LIMIT ; maximum of...
Part 2
; INTERRUPT
; interrupt from counter used to multiplex display
; this sucessively switches on Disp1, Disp2, Disp3 in sequence plus
; blanking leading zeros on display for Disp2 and...
you've got me -
the code is legit no malware
the code is available with current kit based speed alert devices but I need to modify it for a personal project. I just Downloaded MPLAB today and...
Heres the error log
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Documents and Settings\\My Documents\speedtemp.mcs".
Clean: Done.
Executing: "C:\Program...