Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    8,108

    Re: Erasecode,Writecode,Readcode - again

    Good golly, this works. I fussed around with PBP WRITECODE for way too long and gave up, modified Darrel's code slightly, and it works! Here's my code. Thanks Darrel!

    Code for PIC18F8722:

    ...
  2. Re: Newby can't make hex file in MPLAB 8.5 with blink8x.bas program

    What, for a Hi-Tech C compiler? Sorry Mehran, this forum is for the Micro Engineering Labs (or Melabs.com) PICBASIC PRO compiler, not for the Hi-Tech C compiler. You should post your question to the...
  3. Re: PIC18 timer0 interrupt handler sort of working, whoops! My mistake, of course.

    Interrupts are now occurring! I discovered that I was clearing the TMR0 interrupt enable elsewhere in my code. Now interrupts are occurring but at the wrong rate, 7ms between interrupts instead of...
  4. Re: PIC18 timer0 interrupt handler, still not getting it but getting a single int.

    Ah, there is some hope. It is interrupting at least once. I had missed the test point signals that occurred after 25us. So now to find out why it only interrupts a single time.

    Here's my latest...
  5. PIC18 timer0 interrupt handler, still not getting it

    I tried to get this working a year ago but had trouble and gave up, just polling the TMR0 interrupt flag. But I think I really need the interrupt handler this time, and although I have looked at the...
  6. Ah, my mistake of course

    My mistake. The problem is not with the addition, but rather with my binary to BCD conversion routine that I'm using to output the number serially. I foolishly tested it only with 5-digit numbers,...
  7. Addition problem with word value on PIC18F8722

    Having a strange problem with addition to a word. I'm outputting the number to the PIC18F8722 EUSART. I'm using PBP v2.60. I can output a constant, e.g. 31416, but if I add one to a word value...
  8. Replies
    16
    Views
    9,221

    Thanks again Guys!

    Your responses are very helpful and greatly appreciated. It's pretty incredible to get this quality of help.
  9. Replies
    16
    Views
    9,221

    Thanks Guys!

    So far I had only thought of one interrupt to use for my project, and I figured I would set it at low priority since there seemed to be no reason to use high-priority when using only one interrupt....
  10. Replies
    16
    Views
    9,221

    PIC18 interrupt handler, where to save W etc?

    I'm trying to make a simple interrupt handler for the PIC18F8722 timer0. I'm using PICBASIC PRO, MPLAB, the Explorer 18 board, PICKIT 3 and MPASM.

    I'm confused about the assembler interrupt...
  11. Bruce, That's it. Microchip\MPASM Suite wasn't in the PATH!

    Bruce,

    You're right, Microchip\MPASM Suite wasn't in the PATH. Now all is well, I think. Except that somehow I screwed up MPLAB so I wasn't able to modify my .bas file. It said that it couldn't...
  12. Still no joy with MPLAB/SBP, Unable to execute mpasmwin

    mackrackit:

    Yes, I have read http://www.melabs.com/support/mplab.htm and I believe I followed it quite faithfully but of course I may have missed something.

    Acetronics:

    No I don't have any...
  13. There's gotta be a way to get either MCS or MPLAP to do the whole thing.

    Thanks mackrackit. Wow! That is clunky (compiling in MCS/PBP and then importing the hex file into MPLAB and programming the PIC18 on the Explorer 18 board), but it works. And it's a pain. I hope...
  14. Can't get MCS working with Explorer-18, Can't get PBP to compile program, Not happy!

    With MCS/PBP: I don't think I was able to get the Explorer-18 board configured with MCS. I didn't know how to set up the Explorer-18 board as the custom programmer. I tried PK3CMD.exe for the...
  15. Thanks very much for the comments and...

    Thanks very much for the comments and suggestions. They are truly appreciated.

    mackrackit: I'll give MCS a try when I get back to work. Hopefully MCS will work with my Explorer-18 board. I'm not...
  16. Darrel: I don't think so but I'm really not sure....

    Darrel: I don't think so but I'm really not sure. In the Control Panel under System it says Microsoft Windows XP Professional Version 2002 Service Pack 3. I don't see anything about 64 bit. Is there...
  17. Newby can't make hex file in MPLAB 8.5 with blink8x.bas program

    I'm just starting with PICBASIC PRO. I installed v2.60 along with MPLAB 8.50 and the PBP tool suite is loaded into MPLAB. I'm using the PIC18 Explorer board with the PIC18F8722. I'm trying to compile...
Results 1 to 17 of 17