I found another forum thred about turning the MCLRE_OFF
how do i do that?
I found another forum thred about turning the MCLRE_OFF
how do i do that?
You can put them in your program, or you can edit them in PBP files. Either way, you will have to go to your PBP files, and find the one specific to your chip. Look for the 16f690.inc file, and either edit, or comment out the line
It is easiest to just to comment it out, then copy and paste it back into the same file with your changes. That way you will be able to go back to the default. Many people prefer to comment it out in this file, then put it into their PBP code. To to this, you would add a line at the top of your program, like this:Code:; __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF __config _HS_OSC & _WDT_ON & _MCLRE_OFF & _CP_OFF
See http://www.picbasic.co.uk/forum/showthread.php?t=543 for a more in depth lookCode:@ __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_OFF & _CP_OFF
Okey so still working on this. i have registred that the rb5 is reciving something, what i dont know.
So i looked at the max232 sheet and it says there should be a +10v on port 2 and -10v on port 6 but im reading -2.3 and +6.5 could that be the reson?
Can you provide details of the computer you are hooking this up to. Some laptops don't have enough "umph" to provide the voltages required when using PIC programmers, so it might be the same with the project your are working on.
it's an self built desktop. with asus p6d motherboard and it should do the trick. but i have an pci serial with power options for setting up to 4 pins to 5 or 12 v.
but i see that the voltage from the pickit is 4.8 maybe i should connect an ext pw sup?
it's irritating because this should be such a small case and iv been stuck at this since like friday.
And to all Thx for all the help so far!
Bookmarks