code
-
how do a write a code to switch on the LED using pic16f877A
-
how do a write a code to switch on the LED using pic16f877A
Please read http://www.codeproject.com/Messages/2922875/HOW-TO-ASK-A-QUESTION.aspx[^], and do some basic research before posting "how to" questions. You can use Google, search the CodeProject Articles section[^], or even search existing questions for similar queries.
-
how do a write a code to switch on the LED using pic16f877A
What is that pic16f877A that you're going to use to write the code to turn the LED on? I believe you're asking a question for some circuit board, if that is the case, then you should know that most of the board manufacturers have an API, and a developer forum that can guide you. You can use thode documents to get help in performing different actions, like the basic on turning the LED on.
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
how do a write a code to switch on the LED using pic16f877A
By configuring the port with your LED as output (writing to the TRIS_x register) and setting the output state to the level which lets current flow through your LED (writing to the PORT_x register; the level depends on how the LED is connected).