- This topic has 1 reply, 2 voices, and was last updated 13 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › header file
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 ?
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.