EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / header file

header file

|

Microcontroller › PIC › header file

  • This topic has 1 reply, 2 voices, and was last updated 13 years, 6 months ago by Amrith.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 12, 2012 at 1:52 pm #1875
    Madhavan G
    Participant

     

    void main()
    {
    TRISB=0x00; // Set PORTB as output PORT
    LATB=0xFF; // Set PORTB high initially (All LEDs on)
    while(1)
    {
    LATB = ~LATB; // Toggle the value of PORTB
    Delay_ms(1000); // Delay of 1 sec
    }
    }

    what is the header file for this above program. any bodies can help me friends ?

    July 14, 2012 at 1:58 pm #8254
    Amrith
    Participant

    Hi Madhavan,

    The header file depends on the type of microcontroller you are using. Generally compilers include this header files in their library.

    By seeing the above code it seems that registers used belongs to PIC controller.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • renewed interest in old project I call it WICKED 8 January 23, 2026
  • Expensive hobby January 23, 2026
  • analog logic of shmidt trigger bjt circuit January 23, 2026
  • getting no where fast 8 x 8 led matrix January 23, 2026
  • Micro mouse January 22, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise