I wasn't clear, if I push the button and release it all works fine. Just when I hold it for say 30 seconds it will freeze up as stated.
Type: Posts; User: mel4853; Keyword(s):
I wasn't clear, if I push the button and release it all works fine. Just when I hold it for say 30 seconds it will freeze up as stated.
The interrupt works perfect but if I hold the button down for a little while then let up the interrupt will hang, but if you just wait it will come out of it and start working again.Using a 16F688.
...
Is there support for this chip yet?
I get it now will try something different, thanks.
Trying to get 3 different HSERIN to work. The 3 different ones come in at different times & will never effect the other.If I put the wait statements in there nothing happens, take the first one out &...
I'm trying to send a string of 9 bytes out in decimal form see code below. I don't know if I can do the decimal string.Using PBP3 and a 16F690
define OSC 4
'-----------------------Enable...
Thanks Darrel really thought it was my simulator, now I know that. Thanks again, will look more into how this works with my simulator or if I'm just SOL.
SDA to PORTA.0 & SCL to PORTA.1 sorry forgot to post that also.
I'm using a 16F690. I have never used any rtc's at all so don't know if my simulator will do this. It does have a rtc ds1307 in it though. My simulator is keeping time off the computers time.This is...
I'm trying to read a ds1307 using code that Bruce wrote but it will only show 00:00:00 for time & date. I'm using real pic simulator. Do I blame it on simulator & go on?
DEFINE OSC 4
'...
Follow the decimal value with non-numeric character & it works great. Thanks Darrel
I'm trying to get a decimal number to show up from PC. Nothing shows up with the DEC in front of setemp, but if I take that DEC out I get the ascii characters.
Include "modedefs.bas"
INCLUDE...
Using a lm34 for temp, don't have vref pin so using 5vdc full. So if I take 5/1024 (using 10 bit because already using in another part of program) this gives me steps of adconversion? So that said if...
Put in the timeout and works perfectly. Thanks to all that helped.
Mike
Shouldn't it exit when b2=$FF? I send a $FF at the end of all the data I want sent.
if b2 <> $FF then nextstep 'FF means end of data
That's the way I understand, but I've been wrong...
I'm sending a varible amount of bytes, so far have lost none. The pause 600 is up where I read from eeprom. There's a pause 10 in interrupt routine to give time to write to eeprom. Everything works...
At the end of PC download (Angel.bas) it puts out 255 on all
Sorry trying to fix supper for my daughter and was reading to fast.
Include "modedefs.bas"
INCLUDE "DT_INTS-14.bas" ' Base Interrupt System
INCLUDE "ReEnterPBP.bas" ' Include if using...
The Defines worked!!! Couple other little changes and I believe it works, except for when I download from PC it just hangs. Cycle power and all takes off and works fine. Seems to get stuck in...
I'll try the Defines and whenever I use code tags the code jumbles up or leaves stuff out, tried this a couple times on other questions and it left parts of the code out.
It did work on a picaxe. I'm trying to write it in PBP with the other program as a reference, being new at this having a heck of a time. Not giving up.
First give credit to Peter Olsen who wrote these programs for a picaxe. I'm trying to convert using a 12F683 to write to a 24LC256 and read back from it. The Angel file downloads file to 24lc256 from...
Can I use serin2 on MCLR pin set up as a I/0 pin? Using a 12F683 with MCLR off.
This is new file that works. Added option_reg.6=0,intcon.7=1 and ioc.2=1.
The handler only needs to pull in a relay as long as gpio.2 is low. Anyhow it works just fine now. Reread datasheet over and over and missed a couple registers that needed set.