Hello Everyone,
I've been playing with the H4 (HSPLL) feature on my 18f452 and the better part of my program seems to work quite well after I adjusted my pauses. I have a program that I wrote around a Lab-x1 program called onewire.bas that uses the OWIn & OWOut commands to read a DS1820 temp sensor. It works great at 4MHz but after selecting the PPL feature and running it at 16MHz I can't seem to figure out how to get it working again. Would anyone know what I'd have to do to get it working properly at 16MHz?
I copied and pasted the example program called tempx.bas from Micro Engineering's web site and it works great to read and display the DS1820 running at 16MHz after I adjusted the pauses in that program but I can't seem to figure out anything for the onewire.bas program.
Would anyone have any suggestions on what I could try to get the onewire.bas program working at 16MHz? I've included the basic program below if that would help. I'm using PBP ver 2.45 with MicroCode Studio 2.1.0.7 and MPASM v03.60 and the EPIC ver 2.46 beta programmer.
Thanks
jessey
Bookmarks