Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Trickae; Keyword(s):

Search: Search took 0.00 seconds.

  1. ones tens hundreds counter to eliminate and up/down counter[ASM]

    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...
  2. Need some help converting code for a PIC16F84 to an PIC16F886 [yes ASM]

    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...
  3. well as long as they're only warnings i'll move...

    well as long as they're only warnings i'll move on to adding to the design.

    thanks
  4. Thanks for the tips so far

    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...
  5. thanks guys

    Thanks for the help so far - i'll check out piclist and make the above corrections.

    Regards,
  6. part 6

    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...
  7. part 5

    ; 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...
  8. part 4

    ;**********************************************************************************************

    ; RESET
    ; Set ports A & B

    MAIN clrf FLAG_1 ; clear flag memory
    clrf ERR_FLG ; clear...
  9. part 3 ; routine to convert speedo memory to...

    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...
  10. Part 2 ; INTERRUPT ; interrupt from counter...

    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...
  11. you've got me - the code is legit no malware...

    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...
  12. PIC newbie - took ages to program and i still have bugs

    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...
Results 1 to 12 of 12