Pages: [1]   Go Down
Author Topic: question about libraries  (Read 390 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 203
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
#include <avr/io.h>
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, that was really an issue!
Vito.
Logged

Pages: [1]   Go Up
Jump to: