Thanks,
I've got bypass caps on the Vss and Vdd
I'm using a resonator so I don't think caps are needed
I've tried the Power on Timer and it did not help
any other thoughts? I feel like I am...
Type: Posts; User: modifyit; Keyword(s):
Thanks,
I've got bypass caps on the Vss and Vdd
I'm using a resonator so I don't think caps are needed
I've tried the Power on Timer and it did not help
any other thoughts? I feel like I am...
For some reason I can't get an external oscillator to work on a 16F887 using the following code:
DEFINE OSC 20
'SETUP PIC FUSES
@ __config _CONFIG1, _DEBUG_OFF & _LVP_OFF & _FCMEN_OFF &...
FYI,
I finally got around to soldering on that pull-down and it solved my problem.
Thanks again!
I don't have a week pull down, so I will definitely be trying that.
What has me confused is the simulator showing the pin being high.
Thanks for the quick response,
I've tried this on a 866 chip as well using its internal oscillator with the same results.
Are you saying that until the chip's oscillator settles or the Brown...
When the pic16f876a starts up Pins C.1 and C.2 go high for a split second before returning to the desired low state. Does anyone know if this is just the nature of this chip, or if there is a...
got it to work! some how my settings on the melabs programmer got goofed up and the config vars wern't writing to the chip.
Sorry about that phat finger disease. PortA.4, RA4 is the pin I am having issues with.
I've double checked the config and its set for INTOSCIO so it should not be acting as an oscillator out pin....
Also I have been able to get the rest of the portA pins other then RA3 and RA4 to work as digital outputs.
Thanks again
I am having trouble getting my 16F690 pin AN4 working as a digital output. No matter what I try the pin seems to float between high and low and creates an approx 2.6 volts using a multimeter.
I...
Wayne,
Did you happen to find the solution to this issue? I am trying to do the same thing on a 16F690 and porta.4 is not controllable. It just sits there oscillating up and down when I try to set...
Can someone give me a quick external eeprom lookup table example. I know I am missing something stupid. I'm not worried about the exact code, more the thought process.
Basically what I need to do...
I will try and dig up the email I got from PBP support concerning using the MCLR Pin as an Input and the INTOSC at the same time. I fried a bunch of 12F675's trying to do it, and PBP support...
This may not answer your question, but something to watch out for on the 12F675.
Make sure you do not try to use the MCLR pin as an input and use the Internal Oscilator at the same time This does...
Here is another way of aproaching the A/D based on some code Melanie posted a long time ago, this uses direct access to the pics registers instead of using PBP's routines:
Analog_In:
...
At this point I can't seem to get the TMR0 timer to work with the code above.
Here is what I've got so far on a 12F675
'defines
DEFINE OSCCAL_1K 1
define OSC 4
DEFINE NO_CLRWDT
'end defines
maybe this is what I am missing: Does the WDT reseting of the PIC clear existing variables? For example will a variable "count" be zeroed out on this reset or will it maintain its value prior to the...
If I am counting the number of times the TMR0 rolls over before a WDT reset, wouldn't I have to use eeprom to save this count variable? It does not seem that this is the intent of the AN to me, so I...
I'm still trying to figure out how to get this to work. I think undersand the concept of the Microchip AN, but I am having a little difficulty implementing it.
This is my understanding, basically...
Looks like DEFINE NO_CLRWDT is the command
How do I disable PBP autoclear of the WDT?
Has anyone used the watchdog timer as a temp sensor per AN720?
http://ww1.microchip.com/downloads/en/AppNotes/00720c.pdf
Just curious on the results and if this has been done using PBP. In the...
Brain fart dissapated....thanks Melanie! :D
I'm using a 12F675 for a project and I am looking for a creative way to use 1 pin to control two different LEDs independently. The theory is that 1 led will be on when the I/O is set Low, the other...