Sure this does not apply generally to all Pics. Can you specify the device you talk about?
Jerson
Sure this does not apply generally to all Pics. Can you specify the device you talk about?
Jerson
droptail, just use a pullup resistor of about 2.7k to 4.7k.
Dave Purola,
N8NTA
Yes for sure, use Dave's suggestion.Will a port pin that is an "open drain output" support a SEROUT command?
YesThe pin in question RA4 is multiplexed with a Timer0 module clock input. Can it still be used as a digital pin?
Nope, this is also why we see many question about that. Always make sure you disable multiplexed stuff(when possible) on an i/o before using it.Will a SEROUT command set the pin digital output even if the pin was previously set as analog input?
ADCs/analog comparator are popular.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I have success with 1k hold up for now.
I also have no problems for years with SEROUT command working on a port pin set as analog and input, why?
TRISA =255 'all PortA Inputs
ADCON1 =0 'all PortA Analog
SerOut PORTA.0,N2400 ...
James
Probably at slow baudrate it may work... but i will never trust or use that.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks