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.

Trouble with portb (pic16f876a)

Status
Not open for further replies.

Mehmood Ahmed

New Member
HI,

I am using using portb as an input and i want some particular bit combination to be given on it then further execution should take place....but when i keep portb inputs floating that combination generates itself and mcu goes on further execution i don't want it to be happend while inputs are in floating state...is there any wayout?????????????

Regards,
 
Turn on the weak pullups by clearing bit 7 of the OPTION register.

Mike.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top