Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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
 
Suraj143 said:
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.:)
 
Suraj143 said:
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?

No, it's designed to do that - it's a very common action to use.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top