Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,820

    Re: Write EEPROM with Interrupts

    Thanks for the answer! I sometimes find small snippets or statements in the manual that leave me wondering about the actual functioning. In this case it was the DEFINE WRITE_INT 1. I found it...
  2. Replies
    6
    Views
    1,820

    Re: Write EEPROM with Interrupts

    Sorry I didn't mention the chip. It is a PIC18F45K80. I was asking because the PBP manual talks about needing to mask the interrupts during EEPROM writes. I am using DT's interrupt handling...
  3. Replies
    6
    Views
    1,820

    Write EEPROM with Interrupts

    I am getting closer to the testing stage of my project but have one question. In the PBP manual it says that if interrupts are used the following define should be used.

    DEFINE WRITE_INT 1
    ...
  4. Replies
    4
    Views
    1,450

    Re: Window Comparator and Direction

    I am using the internal ADC on the PIC18F45K80 but the question I was having was determining if I was inside a window of +/- 40 counts. I was concerned that RefPosition - CurPosition could give me a...
  5. Replies
    4
    Views
    1,450

    Re: Window Comparator and Direction

    Thanks Richard,

    it's the format of the ABS that has been confusing me. According to what I read in the manual, the ABS function for a word variable returns 65536 - value. So if I had a negative...
  6. Replies
    4
    Views
    1,450

    Window Comparator and Direction

    I know this has been asked and I looked at many of the replies but at 75 years young I am having a bit of trouble wrapping my head around the best way to do this. I have an adc value that I am...
  7. Replies
    2
    Views
    1,647

    Re: Enhanced PWM Full-Bridge Mode

    In looking at the code I think the CCP2CON would have to be 01xx1100 for forward or 11xx1100 for reverse. I think that is what I got from the manual.
    Thanks again.
  8. Replies
    2
    Views
    1,647

    Enhanced PWM Full-Bridge Mode

    Hello everyone,
    I searched all the forum topics on motor control I could find and went through the manual but I am still at a loss for how to use the Enhanced PWM Full-Bridge mode in PBP for a...
  9. Replies
    2
    Views
    2,106

    Re: DT_Ints with PIC18F45K80 problem - Fixed

    Thanks mpgmike! you nailed it exactly. After walking around in circles, well actually around my block, I looked at the code and realized I missed a comma in the interrupt definition! One comma, 82...
  10. Replies
    2
    Views
    2,106

    DT_Ints with PIC18F45K80 problem

    Hello,
    still a very, very newbie here. I made the changes to the original DT_Ints-18 program to match the K80 register names and when I try to compile the code I get the following error message:
    ...
Results 1 to 10 of 10