LOGIN
Krishna Singh
Edit
Delete
Share
Report
QUESTION
  ·  Mark as Answered

how to solve this error

Arduino: 1.6.8 Hourly Build 2016/03/04 03:33 (Windows 8.1), Board: “Arduino Due (Programming Port)”

In file included from C:\Users\KRISHNA MOHAN SINGH\Documents\Arduino\ultrasonictank\ultrasonictank.ino:1:0:

C:\arduino-nightly-windows\arduino-nightly\libraries\AFmotor/AFMotor.h:9:20: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

                ^

compilation terminated.

exit status 1
Error compiling.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

how to solve this error…

0 like 
Like
Share
Shubham Jha
 · BengaluruIndia
Edit
Delete
Share
Report

You have included the avr/io library in your project but you may not have it installed on your pc. to solve this you can try the following steps
1)In the Arduino IDE, go to Tools>Import Library and then select your library from the list.
2)If your library does not show up in the list, you need to install it from the internet

1 like 
Leave a reply...
DISCOVER
CHAT
ALERTS
-2
DISCUSSIONS
-1
FEED