I saw some answers to this posted here but seemed to be nothing straightforward.
Is there an easy way (not too time consuming) to see how much RAM is being used after you compile ?
I have...
Type: Posts; User: Michael; Keyword(s):
I saw some answers to this posted here but seemed to be nothing straightforward.
Is there an easy way (not too time consuming) to see how much RAM is being used after you compile ?
I have...
I ordered some 12LF1552 I need for extra ram. Microcode supports it but does PBP gold edition? Can't find that info at melabs.
Also -- is there anything peculiar or special I need to know when I...
Disregard this post.
Sorry -- problem sol ved
And although just grabbing the leader pulse with a 12F508 worked fine, just discovered the
BTNVAL VAR BYTE[32]
is a problem (unable to fit error) so need to try and get around that. never had...
couldn't see a way to edit post so ----
I wasn't thinking. 0xFF629D =
11111111 0110 0010 1001 1101
Leader is 11111111
Address is 0110 0010 ?
This is an adaptation of some code for NEC remotes that is on this forum. Up till now I've just been using it for decoding the leader pulse to enable a simple on/off switch and it works great, but...
This is an older post I searched because I need to generate a random number and saw you can do it with a word variable. Like this fella, I need a smaller number.
I'm having a hard time grasping...
I'm desperate so thought I'd ask here, if anyone is also familiar with python. Using a PI to read data from a pic.
Everything works fine as long as I have the serial port in this loop --
def...
This may be a stupid question as I have never had the need to do it but I have a programmed pic that I didn't copy protect and want to (possibly) see the code I used for it.
When you read a hex...
Ok thanks. Yeah, I can't remember but it may have been a VB.net program that I needed to slow down the loop to keep it from hogging the cpu. I have the python script reading the PIC, so I may take...
Force of habit or maybe there was a reason I put a pause after serout in a loop. I know that I discovered the hard way that I needed to do that in Python to keep the cpu from working too hard (and a...
Fellas --
Is there any way to simply flip a byte so that MSB becomes LSB or vice versa?
Can't remember what the default is but I need to reverse it (or redo my *^% switches).
Thanks.
3.3v seems to be working well so far. I breadboarded the pic feeding into the PI uart.
Thanks.
My ultimate goal is to interface a 16F1847 to a Raspberry PI 3B with RS485. The PI UART though needs 3.3v but I do see that the 16F1847 will work at 3.3V ? Can anyone verify that it...
Hello Folks -- going to (hopefully) use a 16F1847 with HSEROUT. Always have used the software SEROUT before so this is new territory.
To possibly save time, could someone tell me the commands to...
In all my years, never tried to run a pic with a battery. Have some 12F508 and will use a couple of AAA batteries.
It's for an outdoor project and the pic will only power up with a water level...
Well, what I mean is a simulator that actually ties into a programmed microcontroller. Knew about the analog simulators and tried a few but something that actually sees code and all the peripherals. ...
I don't have a clue on some advanced things that may be available and have always wondered about simulating simple picbasic projects without going through the processes of actually using the chip. I...
Thanks Ioannis. That pdf will be my reading later. I may want to do more sophisticated RC stuff also.
This simple on/off is working great -- only sees NEC remotes. Tried others and no go which is...
it's working fine but I added leader = 0 to clear it out (duh)
should have thought of that.
I need to put the breadboard in the sunshine and see if it stays stable.
if not, I'll just add his...
Needed IntRC
not INTRC
Ridiculous.
I spend half my time configuring new chips. Writing code is the easy part.
I'm just using it to do some simple I/O stuff so 12F508 will be fine. Would appreciate a time saver if anyone can tell me for the osc, I tried em all --
#config
__config _? tried...
Thought I'd buy this chip because digikey had so many in stock and search results seemed to make it popular in the 8 pin low cost pics (unless someone has a better idea). Started off using 12f675...
Pulsin works great. Heck, I just used the first part of that rentron code and did this with it --
I get a perfect momentary on/off with a bit of needed pause.
Main:
PULSIN PORTB.0,0,Leader ...
I found that Rentron code. Wow. It's all there and well commented -- I'll try it out. His comments really spell it out and teach.