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 Today, 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...
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
Re: SOLVED - PIC seems to RESET unless I add a PAUSE in Mainloop
I have no clue.
Demon Today, 22:36My PIC is either ON or OFF, I have no Sleep mode.
https://ww1.microchip.com/downloads/en/DeviceDoc/31026a.pdf