sketch too big

Post Reply
Bogdan
Posts: 108
Joined: Sat Aug 11, 2012 9:16 pm

sketch too big

Post 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?
Image
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: sketch too big

Post 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
Bogdan
Posts: 108
Joined: Sat Aug 11, 2012 9:16 pm

Re: sketch too big

Post by Bogdan »

Thanks.
Image
Post Reply