Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

ATMEGA328 Question
Moderators: adafruit_support_bill, adafruit

ATMEGA328 Question

by greenleiftea on Fri May 24, 2013 2:43 pm

Good afternoon community, new user here.

I was about to order the ATMEGA328 standalone programmer shield kit (

I am planning on programming it for a project using the FFFT library. And since it will be going on the road, I was hoping to put everything onto a breadboard.

I was wondering if the ATMEGA328 can support an external library, or if there is another mechanism on the Arduino that enables external libraries to be used.

Thank you,

Posts: 2
Joined: Fri May 24, 2013 2:36 pm

Re: ATMEGA328 Question

by tldr on Fri May 24, 2013 7:35 pm

there is an arduino fft library available, here. just download the file, unzip it, and move the contents to the libraries directory in your sketchbook.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: ATMEGA328 Question

by adafruit_support_mike on Sat May 25, 2013 12:41 am

The microcontroller itself doesn't know anything about libraries. All it sees is a bunch of machine code in its Flash memory.

The Arduino IDE (which generates the machine code and writes it to the chip via the Arduino bootloader) does support libraries, on the scheme tldr mentioned.

The programmer shield writes machine code directly to the microcontroller, without going through the Arduino bootloader. You use that for programming blank microcontrollers or writing firmware that doesn't need the Arduino bootloader.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.

Posts: 15773
Joined: Thu Feb 11, 2010 2:51 pm

Re: ATMEGA328 Question

by greenleiftea on Mon May 27, 2013 2:38 pm

Thank you tldr and Mike for the responses. I appreciate the help.
Posts: 2
Joined: Fri May 24, 2013 2:36 pm