isaac879 / Pan-Tilt-Mount

A stepper motor driven, 3D printed and Arduino controlled pan/tilt mount.
MIT License
377 stars 99 forks source link

Issues with compiling #22

Open Bobsblobblog opened 2 years ago

Bobsblobblog commented 2 years ago

I am having difficulty compiling for the nano, as the sketch is too big. I tried removing any mention of a battery, as I am not utilizing one, but it is still at 101%. Am I missing something?

`Arduino: 1.8.19 (Mac OS X), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

text section exceeds available space in board Sketch uses 31096 bytes (101%) of program storage space. Maximum is 30720 bytes. Global variables use 1503 bytes (73%) of dynamic memory, leaving 545 bytes for local variables. Maximum is 2048 bytes. Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it. Error compiling for board Arduino Nano.

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

cbradburne commented 2 years ago

Strange. I'm using Arduino IDE 1.8.19, macOS 12.3, selected board "Arduino Nano, ATmega328P, tried both boot loaders. Compiles fine, with this result:

"Sketch uses 30388 bytes (98%) of program storage space. Maximum is 30720 bytes. Global variables use 1503 bytes (73%) of dynamic memory, leaving 545 bytes for local variables. Maximum is 2048 bytes."

Did you put Isaac's "library" folder in to the Arduino/libraries folder? from here LINK