From £14.95 |
Buy it Now The new LAB-X3 is microEngineering Labs, Inc.'s newest experimenter's platform. It provides a full complement of hardware peripherals for an 18-pin microcontroller such as the PIC16F84 or PIC16F628. |
Thanks, I'll squeeze every drop out of it :)
It's just matter of curiosity, rather than actual need...
good luck getting the ternary operator to work with pbp
good luck getting pbp subroutines to return a value
just tick the box in the compile options
I asked to make corrections and he(or it?) created new code, this time with SWORD type variables
when I asked what kind is SWORD variables is, it answered that these are variables not supported by...
Yeah, I thought the problem went away. I'll edit them back.
Demon Today, 02:35Oh crap, I didn't see that. :sad:
Demon Today, 02:34you have now declared the thread solved when it is not!
the problem is only temporally masked and will rear its ugly head when you enable another transmitter
there is another issue with that chip
from data sheet async reception chapter
9762
no , it will look like it works but the pin is now hard driven high , not tristated at all
UsartTX var LatC.6
UsartTX = 1
TXSTA.5 = 0
Framing error is gone on PIC #2
WOOT!
Should I set LatC.6 to 1 when I disable the transmitter? :confused:
I thought the pull-ups were supposed to handle that?
From £14.95 |
Buy it Now The new LAB-X3 is microEngineering Labs, Inc.'s newest experimenter's platform. It provides a full complement of hardware peripherals for an 18-pin microcontroller such as the PIC16F84 or PIC16F628. |
Re: Framing error if I disable transmitter after shift register is empty?
Since the output on that specific chip will remain as driven output, and if you insist on using this, a crapy solution maybe to add a diode at the output before the pin is connected to the bus.
Ioannis Today, 12:29...