Go Down

Topic: "pins_arduino.h: no such file or directory", but it's there? (Read 3695 times) previous topic - next topic


Hi, so, I'm fairly new to Arduino (but I've gobbled up all info I could find) and I'm having trouble.

I'm doing a project that involves ATmega168s on a protoboard. I followed the tutorial (barebones), and downloaded the files and placed them in the right directories. But when I open the program and select ATmega 328 on a breadboard (8mhz) and load the blink sketch to compile it says:

"arduino-1.0.1\hardware\arduino\cores\arduino/Arduino.h:213:26: error: pins_arduino.h: no such file or directory"

Does anyone know the problem?


I followed the tutorial (barebones)

I do believe that there is more than one. Which one are you referring to?

downloaded the files

Which files? From where?

and placed them in the right directories.

Which ones would those be?

But when I open the program

Which program?

The art of getting good answers lies in asking good questions.


Sorry for not clarifying.

The tutorial: http://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

The files included in the "Minimal Circuit(Removing the External Clock)" section. I downloaded that zip.

I then placed it in the proper file directory: the "Hardware" subdirectory.

The program being Arduino.exe, the program for programming the Arduino and uploading code.


Are you finding the  "ATmega328 on a breadboard (8 MHz internal clock)" under >Tools>Board>?

If not, here is the path that it should be:  C:\Users\[youruserprofilehere]\(My) Documents\Arduino\hardware\breadboard\boards.txt


Yes, I am finding it under the tools>boards menu.





Oct 21, 2012, 04:29 am Last Edit: Oct 21, 2012, 04:37 am by codlink Reason: 1
Try adding this line at the end of the boards.txt file:

Code: [Select]

Or if that doesn't work, try this one:

Code: [Select]

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131