Making inputs to outputs & vice versa

Status
Not open for further replies.

Suraj143

Active Member
Before calling my multiplexing routine I make all PORTB outputs. & after I returning from the multiplex routine I make PORTB pins input.

This happens continuously. The program works nicely.

I want to confirm is this ok to make pins input & output continuously?
Will the PIC burn?

Thanks
 
hi Suraj,
No, thats not a problem.
 

No, it's designed to do that - it's a very common action to use.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…