How to add a header file in MPLAB x IDE
1 month ago
1
In this quick video i will show you how to add a header file in MPLAB, We can add functions in the header file that we can use for multiple programs.
In this example i will add a header file for LEDs, as you can see first, i coppied the code, then i right clicked header files then i press NEW, then xc8 header dot H.
I name my header file then i hit finish.
Now the hader window is automatically oppened, i simply paste the code for the LED.
We are almost done, last step is to add include the header file in the main code, we do this by oppening the main code then we type #include "name of our header file dot H"
Dont forget to like and follow for more
Loading comments...
-
LIVE
Benny Johnson
26 minutes ago🚨 NEW Trump Assassination Video Shows Secret Service LET Assassin SHOOT Trump, Sabotaged Security
2,676 watching -
LIVE
LFA TV
4 hours agoMUST SEE BODYCAM FOOTAGE! | LIVE FROM AMERICA 8.9.24 11am EST
3,311 watching -
LIVE
Tactical Advisor
14 minutes agoLets Talk Guveaways and Introducing Last Cut Crystal - Vault Room Live Stream
304 watching -
LIVE
Rethinking the Dollar
17 minutes agoIt Can't Be Stopped! Trump Issues Dire Warning For The USA | Morning Check-In
96 watching -
8:01
CartierFamily
1 day agoJoe Rogan Blasts 'Woke' Mob in New Netflix Special!
6575 -
LIVE
The Incredible Salt Mine
59 minutes agoCount Dankula & Bearing On World News!
1,072 watching -
8:10
Vigilant News Network
13 hours agoShocking New Data Emerges from Singapore | Beyond the Headlines
3K5 -
LIVE
Major League Fishing
1 day agoLIVE Bass Pro Tour: Stage 7, Day 2
459 watching -
LIVE
Wendy Bell Radio
7 hours agoTime for Republicans to Fight
8,920 watching -
Matt Kohrs
9 hours agoTrump vs Harris, UK Chaos & Payday Friday || The MK Show
18.3K5