Go Down

Topic: question about libraries (Read 406 times) previous topic - next topic

whitto

Hello there,
I cannot find answer to my next question: How to import io library to Arduino. For example, if I write
#include < avr/io.h >
and I get this result when verifying:
22: error:  avr/io.h : No such file or directory In function 'void setup()':

I saw sth. that I should import libraries into arduino-0007/lib/targets/libraries/. But where to find all of those libraries (especially in that kind of structure as files in that map look like)?

Thanks for help,
Vito.

jims

It should just happen. The way you typed it in the forum, you have spaces inside the angle brackets. It should not have spaces. You want it to be like this...
Code: [Select]
#include <avr/io.h>

whitto

Thanks, that was really an issue!
Vito.

Go Up