Page 1 of 1

sketch too big

Posted: Thu Nov 28, 2013 12:00 pm
by Bogdan
I am trying to decrease the max. % of lights (D and A) in my current sketch and when I try upload it it says sketch too big. 32,396 bytes of 32,256 max. I know that the RA has small memory but I am editing just one parameter in the existing sketch, so how can it be a problem. The only thing I can think of is that I just upgraded the library to 1.1 Is there any solution to my problem? I am using Wizard to program the RA.
Would downgrading to library 1.0.9 help? Where can I find the 1.0.9 version to upload it?

Re: sketch too big

Posted: Thu Nov 28, 2013 1:49 pm
by Sacohen
Yes the new libraries with the DCPump class in them are too large for the RA. You will need to go back to your previous libraries.

The older libraries can be found here...

https://github.com/reefangel/Libraries/tags


Here is a quote from Binder on how to delete/replace the libraries...
binder wrote:You will need to delete the existing libraries off of your computer. Usually these are stored in the ~/Documents/Arduino/libraries folder.
  • Delete existing libraries from ~/Documents/Arduino/libraries
  • Then download the version that you want from here: https://github.com/reefangel/Libraries/tags
  • Unzip the zip file and rename it from Libraries-VERSION to just be libraries
  • Place that folder in your Arduino folder
  • Restart Arduino and then check the version.
That's how you can downgrade / revert back to older libraries

Re: sketch too big

Posted: Thu Nov 28, 2013 2:12 pm
by Bogdan
Thanks.