I'm developing a product that uses a Prop 1 and it needs to have a UART/USB connection to a PC at times, but will mostly be running independently w/o a connection.
I'm just using the Propeller Serial Terminal object and calling the RXCount method to see if any characters are present on the port.
When I have my project connected to the PPDB with a USB cable connected it works as expected. However, when I remove the cable my code seems to think there are random characters there.
Repeat While PC_PST.RXCount>0
When I run disconnected, my Debug_Led goes crazy. SO, it's like the RX Pin is floating and confusing the RXCount method. I have been able to resolve this by pulling Pin 31 low with a 10K resistor and it seems to be happy.
In production, I will be using the Propeller FLiP module and have not set that up yet, but wondering if I should design a pullup there also.