i have a file i include into my program but its very large and i would like to include it by its own .h file
namespace images$smiley_jpg
{
CreatePageName; // Include this on every of your namespaced-webpages
IMAGE = { 0x98,0x97,0x96 etc..};
}
how could i put that in a .h file and use it in my sketch?
Have you tried to do it ?
gcjr
3
put that code in a separate file. if you name it myInclude.h, put "#include "myInclude.h" near the top of each file that needs it
What do i replace the code in my sketch to instead of,
namespace images$smiley_jpg
{
CreatePageName; // Include this on every of your namespaced-webpages
IMAGE = { 0x98,0x97,0x96 };
}
for imageFile.h or do i just remove it?
Okay just remove it, i got it now thankyou