Thanks Darrell, worked like a charm. Options are not so clear in the documentation.
Type: Posts; User: Meriachee; Keyword(s):
Thanks Darrell, worked like a charm. Options are not so clear in the documentation.
p.s.
That's on the 16f505 chip, not the 508
Is this the same kind of process that might be used to get the TOCKI on Portc.5 to be used as a gpio? Any ideas?
The datasheet says:
On power-up, TOCKI functionality is enabled in the OPTION...
Gang,
If somebody would be so kind, what do I look at on the datasheet to tell which (if any) pins can be used for serial I/O on a 12F615 ?
Thanks
Gary
Gang,
The datasheet does not explicitly state that the 16f819 is a Hpwm device (at least not that I can see)
Does anybody know if this device capable of Hpwm and if so, is the Hpwm statement...
Hi gang,
I'm looking for a creative way of managing a variable. Creative being a minimal amount of code. I need to store the state of 5 outputs on the fly, so that the last known state can be...
There was a goto a subroutine, and a return at the end of it. Funny how PBP doesn't understand that it was s'posta go back to where we left off. :)
The panel got installed this afternoon, and...
Jerson,
That won't work. The Chubb needs to be high or low irrespective of the Led.
Alain,
P&J, toast and jam, goSUB and return. Can't change one without the other. Code works like a charm....
Russ,
Take it to the step where you actually program the chip, press "view" and open the "configuration" window, and post what the settings are, here, would you? I'm interested in what it's...
Jerson,
The only change I see in your suggestion is an "else" for the Chubb. That part of the code is the only part that works repeatedly....
There is something whacked in the way the counter...
Dave,
That's interesting.....
I tried with various settings in the config, watchdogs on and off, etc. I always use a 4k7 from MCLR to +5. That's just a "standard" here, and I always use the...
Joe,
No better.
This is very very strange....
Dave,
There are two iterations of that, in a somewhat silly attempt to validate that the RETURN was working - or failing. No difference. Irrespective, they've been removed.
The TRIG output goes...
Dave,
Unsure that this matters, but I had a heck-of-a fun time with an 833 chip last week, due in no small part to the programmer. Current numbers are:
Programmer 4.31
MCS 3.0.0.5
PBPro 2.50c...
Hi folks,
Here is some code. I am looking for some wisdom. It runs great. ONCE. It appears that the variable is either never counting to "300", or not getting reset to "10". The input causes the...
Once again Charles comes through. It was the U2 programmer, indirectly. MeLabs updated the programmer code after the 883 chip was released. When the programmer was up-issued to 4.31 from 4.20 it...
Reset it a couple of times, and same issue. I am going to contact MeLabs over this one....
Absolutely, almost fabulous.
Everything works, up to the verify stage of the programmer without so much as a burp, but then:
Code verify error at 0000
3FFF should be 2828
and on and on it...
After inserting a ; into the inc file in front of the "offending" lines, I recompiled the code and with only the following line:
@ DEVICE INTRC_OSC_NOCLOCKOUT
As the ONLY text, I get the following:...
Sam,
Using a set of instructions like:
output GPIO.5
Led1 var GPIO.5
low Led1
as a setup, will allow you to set the output high or low at your liesure.
Cheers
Dave,
PBP 250c
Microcode Studio 3.0.0.5
MPASM/MPLAB/win 8.36
Using the MELabs U2 programmer with MEup46 Firmware.
The funnny thing is, I've never been able to get the "@ device, blah blah"...
Thanks Al,
Having just read enough of that nonesense to really give me a headache, I'll just go back to using the trusty 12f675 chips. This stuff clearly does not need to be this complicated, with...
Hi folks,
I got a bunch of 16f883 chips last week, and am having some ah, issue, with the clock progrmamming in PBPro.
Using the string:
'INITIALIZE
@ DEVICE INTRC_OSC_NOCLKOUT, MCLR_OFF,...
Oh oh.
The support page says that the compiler supports 18f252 devices. The dropdown does not list an 18f252 device.
Using PBP 2.60 and MCS 3.0.0.5
Now what......
Cheers
Gary
Thanks Bruce,
The servo is one of those micro-miniature jobs. I tried the same code on a "regular" hobby servo and it works like a charm without any switching. The regular one does not even move...