Go Down

Topic: avr/pgmspace.h (Read 16901 times) previous topic - next topic

dulllou

Sorry for my newbieness. I'm just trying with a sketch downloaded from web. However, it appears to require pgmspace.h to run with. I tried to google hard but found tons of references but not the pgmspace.h file itself and the file is not in my \arduino-0015\* folder nither... could somebody please provide some hints ? thanks a lot

ReSiStAnCe

pgmspace.h is in \arduino-0015\hardware\tools\avr\avr\include\avr\


westfw

If you're compiling from within the IDE, the sketch ought to contain:
Code: [Select]
#include <avr/pgmspace.h>and you shouldn't have to worry about its actual location.  (it's working for me...)

dulllou

oops..... I forgot the # before include.....that's why it's not working, thanks all  ;D

Go Up