Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. code

code

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 11394914
    wrote on last edited by
    #1

    how do a write a code to switch on the LED using pic16f877A

    L A J 3 Replies Last reply
    0
    • U User 11394914

      how do a write a code to switch on the LED using pic16f877A

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • U User 11394914

        how do a write a code to switch on the LED using pic16f877A

        J Offline
        J Offline
        Jochen Arndt
        wrote on last edited by
        #3

        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).

        1 Reply Last reply
        0
        • U User 11394914

          how do a write a code to switch on the LED using pic16f877A

          A Offline
          A Offline
          Afzaal Ahmad Zeeshan
          wrote on last edited by
          #4

          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 !~

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups