Hello,
I need to know what to write in a program at start to make all the ports on the chip 16f877 and 18f4620 digital I/O , and not analog or other special functions which might be embedded on the same pin
Thank you
Ion George
Printable View
Hello,
I need to know what to write in a program at start to make all the ports on the chip 16f877 and 18f4620 digital I/O , and not analog or other special functions which might be embedded on the same pin
Thank you
Ion George
put this on top of your source file
(analog disable)
ADCON1 = $07
Thanks Beto,
What i shoud do for port E to make it digital too ?
Thank you
Ion george
this set all analog inputs to digital i/o mode, (also port E)