What is the duration of this reset, if it is reset?
You may add a PAUSE 1000 at the beggining of the program and see if this duration is increased. This will confirm that PIC is indeed reseting....
why would it not be 32 like it says ? 0b100000 = ANE0
richard Today, 00:44An open-drain or open-collector output pin is driven by a single transistor, which pulls the pin to only one voltage (generally, to ground). When the output device is off, the pin is left floating...
richard Today, 00:40PIC 16F18877 at 32MHz with FOSC/128 (as per table 23-1 on p. 331) and right-justified results.
I'd like to use E0:
9766
HPWM backlight to LCD does work, I see it briefly on start-up using...
I have no clue.
My PIC is either ON or OFF, I have no Sleep mode.
https://ww1.microchip.com/downloads/en/DeviceDoc/31026a.pdf
I've misunderstood/misinterpreted the data sheet before. :D Seriously, I read the EUSART section and my eyes gloss over when they start making distinctions between half-duplex, full-duplex,...
Demon Yesterday, 21:16To be able to add more PICs later on the TX line.
Yup, on RX also. Both are on PIC #1.
(Using 16F18877 for testing)
PIC #1:
The USART section in the datasheet for your device will tell you if you should set/clear the TRIS bits for the TX/RX pins.
If the chip supports open-drain mode then you just need to setup the TX pin...
Re: SOLVED - PIC seems to RESET unless I add a PAUSE in Mainloop
It is definitely a reset, a look at the lst file shows that the looped code segment has no pbp statements in it that generate a clwdt instruction
richard Today, 10:59that loop does the the same thing for every pic...