What were the errors?
And which example were you trying?
<br>
Darrel,
I finally had a chance to try DT_Ints-18, and it works (of course) as advertised. I can't thank you enough for working on this and finishing it just as I had a pressing need.
Keep up the good work!
Can I ask for HI2CREAD and HI2CWRITE next? Real FUNCTIONS?
Charles Linquist
That was fast!
My errors are as follows,
Warning[230]c:\pbp\18f4550inc 20:_config has been deprecated for PIC18 devices. Use directive CONFIG. (this is listed five times, then,)
Error[128]c:\progra~1\Mecani~1\example2.asm 1150:missing arguement(s)
Error[113]c:\ "" 602: Symbol not previously defined (INTFLAGREG)
603: Symbol not previously defined (INTFLAGBIT)
218: " (INTFLAGREG)
218: " (INTFLAGBIT)
656: ERROR (INTERRUPT SOURCE (INTFLAGREG,INTFLAGBIT) NOT FOUND
713: ERRORINT_ENABLE - Priority State Not Found)
Thanks, I'm dying to try this out!
Jerry Gavin
about the CONFIG warning error look at the FAQ
http://www.picbasic.co.uk/forum/showthread.php?t=543
Now be sure all files are in the same directory (source code, include and so on)
Still having problem? post your whole code here.
HTH
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
what you mean by 'real function' ? unless using Macro and INCLUDE files and as far as i'm aware of, we can't add in the existing function list... i would be so much handy.Originally Posted by Charles Linquis
Darrel... Yet another Plug-In application![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
When you have eliminated all possible problems, the only one left, no matter how improbable must be the solution, to paraphrase Sherlock Holmes. I noticed that two of the files that I downloaded were showing up as smaller than the file sizes listed on Darrel's site. I deleted them and downloaded again, and everything compiled perfectly the first time! Works Great! I had just received a few 18F4550s to play with so Darrel's timing was perfect.
Also, thanks to Steve for the note regarding the Config problem.
Thanks to all,
Jerry Gavin
Jerry,
Great, I'm so glad you found it. Never would have figured that out from here.
Charles,
You're welcome,
I think the HI2C, and HI2CSLAVE should be pretty easy now with DT_INTS. As well as HSPI and HSPISLAVE, PSPSLAVE, SSPWM, Multi-SSPWM, PWPS, Multi-PWPS, etc. etc. etc.
However, in order to facilitate some of those types of commands, I think the next step is a universal FIFO (First In First Out) buffer structure. Already have it working, but it looks real ugly right now.
As for Functions, I think Steve's right. Until we can gain control over the compiler, or the IDE, or maybe create a Pre-compiler, Functions will remain on the PBP wish list.
DT
P.S. My "Timing" is still not perfect though, since I've been totally sidetracked from the Elapsed Timer/Oscillator accracy problem.
<br>
This is just so cool, this stuff is exactly what I needed to service USB without having to figure out how much to sprinkle within the code.
Can't wait to try this after dinner.
Robert
![]()
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Darrel,
You said "If you increase the frequency of the timer Overflows, either by reducing the prescaler, or by re-loading the timer on each interrupt, or both, you can control the duty cycle within the interrupt handler."
When I look at your program, I am completely lost. Can you tell me exactly what variable(s) I have to changed to get the LED blink faster or slower?
Thanks,
Chris
Bookmarks