"Darrel, I just wanted to say "Thanks!".
Sorry for the mistake.
(Thanks Demon)
RL
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/ |
Type: Posts; User: RayL113; Keyword(s):
"Darrel, I just wanted to say "Thanks!".
Sorry for the mistake.
(Thanks Demon)
RL
David, I just wanted to say "Thanks!"
This file has fixed a problem that I have been struggling with for 3 days.
RL
Thanks Robert!
Where can I find "ALLDIGITAL.pbp"? Either download the file or get the code?
Thanks
Where can I find "ALLDIGITAL.pbp"? Either download the file or get the code?
Thanks
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 =...
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?
Thank you Henrik. When I re-posted here I thought no one had responded to the other thread. I will try your suggestion.:D
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...
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...
That worked perfectly!
Thanks a bunch!
Ray
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...
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...
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...
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 ...
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
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...
Adding the comma worked great! Thanks
That worked great! Thanks
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...
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...
Thanks! I'll give that a try.
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?
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...
Thanks, looked right over that.