Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,482

    Re: Redefinition of Label error

    Doh!.... Thanks.

    I have a whole pile of P16F877A's lying around and I did originally write the code for the the P16F877A but changed over to the P18F4550.

    Do you know what the first line of...
  2. Replies
    4
    Views
    1,482

    Re: Redefinition of Label error

    Hi Henrik,

    Thanks! That's got me a bit further on.

    Now I get "Bad data type" for line " TMR0ON var T0CON.7 ; Timer0 Enable flag 1 = enable 0 = stop "


    Note that...
  3. Replies
    4
    Views
    1,482

    Redefinition of Label error

    Hi All,

    I wrote some code some years ago on an early version of PBP 3 for the P16F877A.

    That computer is long gone but I still have the code and tried to compile it recently using PBP 3.0.10.4 ...
  4. Replies
    2
    Views
    6,173

    Re: Is there a tutorial for PBP and MPLAB X ?

    Hi Henrik,

    Thanks for your advice.

    I had more hoops to jump through but I eventually managed to get the debugging working.

    Cheers,

    Wilson.
  5. Replies
    2
    Views
    6,173

    Is there a tutorial for PBP and MPLAB X ?

    Hi All,

    Have added PBP to the tools. Have created a project, have added PBP program to source but I don't think it likes it. I was only able to add it as type 'Empty'.

    Build does nothing.

    A...
  6. Re: Can I use an Absolute rotary encoder 12bit resolution with a PIC18F4550 ?

    Thanks!,

    That's a lot simpler than I imagined it would be.

    Cheers,

    Wilson.
  7. Can I use an Absolute rotary encoder 12bit resolution with a PIC18F4550 ?

    http://uk.farnell.com/broadcom-limited/aeat-6012-a06/encoder-magnetic-12bit-12000rpm/dp/2467468


    As title...

    Has anyone successfully read from a 12bit absolute encoder using a PIC18F or...
  8. Replies
    11
    Views
    6,637

    Re: pic with countdown timer register?

    @George @/Henrik

    Yes, you are quite correct. 30 - 600 events per second = 0.033 to 0.00167 seconds between events.

    A 32.768kHz crystal with a prescaler of 2:1 looks ideal.

    Thanks,

    Wilson.
  9. Replies
    11
    Views
    6,637

    Re: pic with countdown timer register?

    OK, so I am using the PIC16F877A.

    Can I attach an external clock that only the timers will use (not the CPU) ?

    If so I could attach a 32.768khz clock which at a prescaler of 1:32 should give...
  10. Replies
    11
    Views
    6,637

    Re: pic with countdown timer register?

    Hi Guys,

    Thanks, interrupt on overflow sounds ideal.

    FYI my event happens regularly with a max freq of 600 events per second and a min freq of 30 events per second. Depending on the time...
  11. Replies
    11
    Views
    6,637

    pic with countdown timer register?

    Hi All,

    Newbie question...

    Is there a PIC with a countdown timer register ?

    I have an external event and on the event I want to calculate a delay (max 0.8 seconds), load it to a countdown...
  12. Replies
    3
    Views
    1,793

    Re: Bizarre compile errors

    Doh!


    Thanks,

    Wilson.
  13. Replies
    3
    Views
    1,793

    Bizarre compile errors

    Hi All,

    New to PIC Basic programming. I'm starting with examples for my PIC16F877A development board.

    I copied the 7 segment display example from here:


    ...
Results 1 to 13 of 13