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...
Normally Watchdog is reset within the code PBP produces.
But why it does not in the case of 16F18877 seems strange. Maybe it is not controlled correctly?
Ioannis
Well the carpet is one thing. Even if you just walked the room and returned back to you chair (even worse if it has suspension), then you may well have charged enough to destroy the chips.
You...
you may well have but if you think every pic chip is the same then you will be in for a world of hurt . read the data sheet
richard Today, 04:28not really , why would you want to change it back and forth?
is there a pullup for the tx line ?
post entire code snippets are nil value
Like this on a 16F18877?
ODCONC.6 = 0 ' Permit transmission (source current at will)
hserout [ ...message... ]
while TXSTA.1 = 0 ...
I've worked with the BMP180 with PBP, but not the BME280 IIRC.
Troy
Yeah, had Port instead of Lat.
https://www.picbasic.co.uk/forum/showthread.php/26614-Leaves-the-mainloop
I switched this to WDTE=OFF and it no longer resets.
(have some reading to do on...
PIC 16F18877
#CONFIG
__config _CONFIG1, _FEXTOSC_OFF & _RSTOSC_HFINT32 & _CLKOUTEN_OFF & _CSWEN_OFF & _FCMEN_ON
__config _CONFIG2, _MCLRE_ON & _PWRTE_OFF & _LPBOREN_OFF & _BOREN_ON &...
Re: Framing error if I disable transmitter after shift register is empty?
To be able to add more PICs later on the TX line.
Demon Today, 21:07Yup, on RX also. Both are on PIC #1.
PIC #1: