Search Results - MEL PICBASIC Forum



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: All Digital

    by RayL113
    Replies
    39
    Views
    89,849

    Sticky: Re: All Digital

    "Darrel, I just wanted to say "Thanks!".
    Sorry for the mistake.
    (Thanks Demon)
    RL
  2. Thread: All Digital

    by RayL113
    Replies
    39
    Views
    89,849

    Sticky: Re: All Digital

    David, I just wanted to say "Thanks!"
    This file has fixed a problem that I have been struggling with for 3 days.
    RL
  3. Replies
    2
    Views
    4,431

    Re: Where is ALLDIGITAL.pbp

    Thanks Robert!
  4. Where is ALLDIGITAL.pbp

    Where can I find "ALLDIGITAL.pbp"? Either download the file or get the code?
    Thanks
  5. Replies
    2
    Views
    4,431

    Where is ALLDIGITAL.pbp

    Where can I find "ALLDIGITAL.pbp"? Either download the file or get the code?
    Thanks
  6. Replies
    6
    Views
    6,230

    Re: Configuration bits and timing

    I didn't see ANSEL in the p18f26k80.h file.
    So I tried the following using the ANCON configuration registers and it seems to work;

    ADCON0 = %00000000 ;P364 A/D CONTROL REGISTER 0
    ADCON1 =...
  7. Replies
    6
    Views
    6,230

    Re: Configuration bits and timing

    I've tried;
    ANSEL = $00
    ANSEL = 0
    ANSEL0 = 0
    and get "ERROR Line 30: Syntax error.30: Syntax error 30: Syntax error"
    Any suggestions on the correct way to enter this setting in this new chip?
  8. Replies
    2
    Views
    3,638

    Re: PIC18F26K80 A/D Converter

    Thank you Henrik. When I re-posted here I thought no one had responded to the other thread. I will try your suggestion.:D
  9. Replies
    2
    Views
    3,638

    PIC18F26K80 A/D Converter

    I think this would be the right place to ask this. I have a 18F26K80 that I'm trying to turn off the A/D on the A ports.

    I tried the following;
    ADCON0=$00 'switch the Analogue A/D pins to...
  10. Replies
    6
    Views
    6,230

    Re: Configuration bits and timing

    I think this thread would be the right place to ask this. I have a 18F26K80 that I'm trying to turn off the A/D on the A ports.

    I tried the following;
    ADCON0=$00 'switch the Analogue A/D pins...
  11. Sticky: Re: Presetting Configuration Fuses (PIC Defines) into your Program

    That worked perfectly!
    Thanks a bunch!
    Ray
  12. Sticky: Re: Presetting Configuration Fuses (PIC Defines) into your Program

    Melanie,
    Can you help me with this?
    I cannot get the protection to work. My devices are a 18F2680 and a 18F2620.
    Here is my code;
    __CONFIG _CONFIG5L, _CP_ALL & _DATA_CP_ON...
  13. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Trying to get my code to run on a PIC18LF2680. When I step thru the code I notice it skips over all of the "VAR" statements.
    However, when I continue, it acts like it is performing the required...
  14. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    I got it working by using 3 tables. Thanks. I never could get the word version to work. It only gave me 16 bits and I needed 24. Haven't tried the long word version yet. That's next.

    Now I need to...
  15. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Thanks. I think I got that part figured out;
    Display:
    'Segment A = PORTB.0
    'Segment B = PORTB.1
    'Segment C = PORTB.2
    'Segment D = PORTB.3 ...
  16. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    The display is laid out like this;
    RB0=A
    RB1=B
    RB2=C
    RB3=D
    RB4=E
    RC0=F
    RC1=G
    RC2=dp
    RC3=Digit-1
  17. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Got that working! Thanks for the tip,
    Now on to the display. 3 digit 7 segment display, common cathode.
    I want to take the port C pin states and look those up in a table.
    Then Send the table...
  18. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Adding the comma worked great! Thanks
  19. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    That worked great! Thanks
  20. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    What about if I don't recheck with Peek and do this instead;
    CHLP:
    PEEK CHSEL, CHSELVAR 'Look at the 4 input pins from the channel selector
    If CHSEL > CHSELVAR Then UP 'if it's larger then run...
  21. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    That worked! Thanks again.
    Have another little snag.
    It doesn't like my Peek command syntax.
    Get this error; ERROR Line 27: Bad expression.27: Syntax error

    Here is line 27; PEEK CHSEL...
  22. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Thanks! I'll give that a try.
  23. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Ok, so let's say then, that I don't use the lsb as the toggle pin, and use 0 thru 3 as my 4 input bits, would the command be chsel = (PORTA) %00001111 ??
    Or am I missing the point?
  24. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Thanks Steve.
    But what is this doing? I mean is it assigning pins 1 thru 4 to the CHSEL label?
    And "Bitwise Mask". I don't see that in the manual. What does it mean?
    There's got to be an easier...
  25. Replies
    53
    Views
    33,117

    Re: Control a Radio PLL with a PIC

    Thanks, looked right over that.
Results 1 to 25 of 37
Page 1 of 2 1 2