The following is how I do it. works well and is super easy. I see this is an old post, but hey, it might help someone!
Use the tilda ~ before the variable! I use this on a 16F873A and a 16F1503 and...
Type: Posts; User: scasale; Keyword(s):
The following is how I do it. works well and is super easy. I see this is an old post, but hey, it might help someone!
Use the tilda ~ before the variable! I use this on a 16F873A and a 16F1503 and...
Well after going through data sheet again comparing to other chips I have, looks like the 1503 DOES NOT have on board EEPROM. So it is no wonder I was not getting the results!
I have written some code that I want to load into an EEPROM aboard a 16F1503. I used in the past the command EEPROM 1,[1] , well on a 16f628 or 873A using PBP 2.47. It works. On the 1503 that is new...
I can program the 16F84 and 84A and the 16F873A chips and it just simply works.
I have used an external supply for the laptop and the programmer. You gave me an idea though! I will check to see if...
I have a desktop pc and Dell laptop. Interestingly when I try to program a 16F628(A) with the warp13A using the laptop I get an error. "failed to getbytebin from programmer please reset" I do the...
Never mind! I got it! I had put the wrong value resistor in the MCLR pin(4). I guess that's what happens when you get distracted by wife, and kids homework huh! Something so simple that I overlooked....
I have been all over this forum looking for a solution on how to enable the internal oscillator on a PIC16F62XA. I have always used an external clock and done some complex stuff, but this is driving...
Ok! It is all good. Thanks to all that helped me get a handle on this. Makes sense, and I see why it did not work early on, and understand what I did wrong.
Thanks,
Scott
Yes, this seems to work! I need to check one other thing before I sign this off. But I left some of my notes at work. So I will check the last thing tomorrow morning.
Can someone answer what the...
Ok, I got off on a different project for a while. Now to pick this up again! Lets see if I can get my head around this and remember where I was at.
I will try that out Thanks! I did some searching and found this tutorial. Explains it fairly well! I need to look at again while coding the above post by Bruce. Check it out when you have time.
...
Ok, I made the following changes and it is not responding to any data now. It does continue to send data, just won't receive.
Also the code from the PC sets the corosponding relay back to 0 at the...
I also agree that the disable goes inside, but all the code I see eaxamples of always put it just before the subroutine, so that is what I did.
If it is not 1 thru 6 then it loops back to the start. I will look at this again in the AM as I start work early.
I put an ENABLE after the RESUME. Does that in itself not restart the checking for...
I have been trying to get interupts to work for a few days now. I kind of understand them but seem to have a sticking point somewhere. Maybe the "OPTION" register. Not sure. Been all over the net...