Thanks for the explanation.
bo
Type: Posts; User: boroko; Keyword(s):
Thanks for the explanation.
bo
So help me understand this... is the number in those statements meant to be a line number?
I tried to add "@ errorlevel" and the program line for those with MSG info, Only gave me a warning that...
I'm pretty sure your format is correct, ie: @ errorlevel -(something)
-306 didn't seem to work.
I'm still getting a Results window on compile. In my case:
C:PROGRAM FILES...
HI all,
I know some includes have messages ("MSG") in them to warn the user of quirks. Is there a way to suppress them so they don't come up at the bottom of every compile? It would be nice to not...
I have been working on the bigger chips for this project to get some other features. I'm going back to the 12F683 to use what I learned. If I get an answer, I'll let you know.
Is it the INT on...
Richard,
I had to change CCP1CON = %00000101 to CCP1CON = %10000101 to turn on the CCP, but it looks like it works a lot better than what I was trying.
I'll play with it a bit and see.
...
I'm trying to base this on Tip #1 from http://ww1.microchip.com/downloads/en/DeviceDoc/41214a.pdf, but evidently I'm not turning the suggested steps into code very well.
Related to , but different aspect, of "PPS understanding on 16F15313"http://www.picbasic.co.uk/forum/showthread.php?t=24129. Figured a new thread naming the issue would be better.
This system...
For reference, I found a missed line when I copied this to here:
'---[CCP1 - interrupt handler]------------------------------------------
Capture: ' Enter here with PulseIN (CCP1)
if...
The IOC may not work. I had those in DT_INTS when I was trying to use that instead of CCP. I will have to go back and address that.
Here's what I finally worked out:
'*** DT_INTS_14.pbp changed and renamed DT_INTS_16F1xxx.pbp (AND put in the right folder! ******************
'*** bottom 2 lines apply to program below...
With your suggestions I was able to get it working. I will post the basics in case someone else needs to get through this. Having a better understanding of PPS will help a lot moving forward and...
I have been to http://http://dt.picbasic.co.uk/ a number of times to refresh myself, but I admit, I haven't mined it thoroughly. I went back and found a couple of nuggets. One was in "DT's other...
Other than adding the define, is there anything else that needs to be addressed in DT_INTs to make it work?
Richard,
Thanks, I'll work on it again tonight and update as I sort it out.
btw, thanks for taking up the torch around here. It probably seems tiring helping all the time, but it is appreciated....
PBP3_PPS_NOTES.txt:
THIS FILE HAS BEEN UPDATED FOR PBP 3.1.1
Devices with full Peripheral Pin Select (PPS) may be manipulated with the
DEFINEs listed below. Default values shown may be...
Thanks Richard for your reply.
I'll post the note when I can, but it addresses PPS. It mentions CCP1 through CCP7, TX/RX 1 and 2, and HPWM.
Poking around in it tonight I'm starting to believe...
Hi All,
I've been struggling to understand Peripheral Pin Select (PPS). Tried once on a 16F18624 and gave up. Trying to understand it again, as it seems like all the current chips are going that...
Thank you Richard, I have few arenas that bring out self doubt as quickly as trying to muscle one of these little buggers.
I almost have it rewritten using this scheme. I hope to test it when I...
Hi All,
Working through a similar issue trying to time a couple of events and looking for some clarification.
In this explanation, and in the tips and tricks there is this line:
"2. Setup...
(beating head against wall) Thank you Richard. For the life of me, I couldn't see that. Saw your reply, and DUH, of course.
I appreciate the help.
bo
Hi All,
Been fighting with unpredictable behavior on a project and need some fresh eyes.
Here is the minimal subset of the program that I'm fighting.
Without any pulses on the input, I get a...
After thinking about it, that was just silly. I'll just throw it together and see it for myself. I already know I have uses for it.
Yeah, me too.
Made the jump to the different processor and ordered boards for an ongoing project thinking it would be no problem. They were already a bit late, and I didn't have boards left for...
Art (Brek?),
This thread caught my attention enough to look at your YT page. Lots of impressive stuff there! I definitely have to spend more time looking at your ideas. Thanks for putting it out...