Need Help with Code Structure

Post your requests and ideas for the mikroElektronika website & forums.
Post Reply
Author
Message
Mc Daniel
Posts: 2
Joined: 23 Mar 2021 08:32

Need Help with Code Structure

#1 Post by Mc Daniel » 23 Mar 2021 09:05

Greetings my name is Mc Daniel

i new to Micro-Controller programming and i need help with coding a Pic16F877a. I need the structure for declaring a port as input or Output and been able to read output from lets say;
1. the output from an AND gate into the Microcontroller.
2. the output from LM35

Then implement some conditions based on the two inputs from the LM35 and an AND gate and out one output through a set pin in the microcontroller.

Hope you understand my question and your response is highly appreciated

Thank you for your time

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Need Help with Code Structure

#2 Post by filip » 24 Mar 2021 09:54

Hi,

I believe I have answered you here :
viewtopic.php?f=146&t=77999

Regards,
Filip.

Post Reply

Return to “Website & Forums Wishlist”