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...
Type: Posts; User: evildrome; Keyword(s):
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...
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...
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 ...
Hi Henrik,
Thanks for your advice.
I had more hoops to jump through but I eventually managed to get the debugging working.
Cheers,
Wilson.
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...
Thanks!,
That's a lot simpler than I imagined it would be.
Cheers,
Wilson.
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...
@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.
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...
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...
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...
Doh!
Thanks,
Wilson.
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:
...