Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

How to handle global variables in XC16 (ian_3k)

$
0
0
I'm confused. I'm using XC16 V1.60 for a project. If I declare a global string variable and give it a value by placing it in my globals.h file, it complies fine if I have only 1 #include globals.h in the project. But if I #include globals.h in both main.c..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>