Loading...
Pages: [1]   Go Down
Author Topic: Sketch too long - need help with the project  (Read 190 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 354
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good Morning,
my project is becoming to bigger with a lot's of library used:

Quote
#include <DS1307.h>
#include <LiquidCrystal.h>
#include "M2tk.h"
#include <Time.h>
#include <TimeAlarms.h>
#include "utility/m2ghlc.h"
#include <VirtualWire.h>
#include <Wire.h>

So now I'd like to do some shrink of my project for have more clear it but where i can still to implement a new code ...
which are the technique that we have available ? Have I to do a kind library ?

Thanks for the information,

Gnux
Logged

Global Moderator
Melbourne, Australia
Offline Offline
Shannon Member
*****
Karma: 218
Posts: 13896
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have I to do a kind library ?

What is a kind library?
Logged


Offline Offline
Sr. Member
****
Karma: 2
Posts: 354
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi nick I would like to find the manner the manage at the top my project ...

thanks
gnux
Logged

Global Moderator
UK
Online Online
Brattain Member
*****
Karma: 136
Posts: 18990
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't understand the question - if you need those libraries, those header files have to be there.
You can bundle them up into another header file if you wish, but for such a small number, it hardly seems worth the effort.
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Malaysia
Offline Offline
Sr. Member
****
Karma: 7
Posts: 385
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i think whats the op is asking, is there any library that could manage all the library that he is currently using so that he could shrink the size of his code
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 70
Posts: 6802
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
which are the technique that we have available ?
Use a chip with more program memory.

What are you using now?

Quote
is there any library that could manage all the library that he is currently using so that he could shrink the size of his code
No, and if there was it would be pretty much the same size unless stuff was taken out.

______
Rob
« Last Edit: March 04, 2013, 06:54:10 am by Graynomad » Logged

Rob Gray aka the GRAYnomad http://www.robgray.com

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 16426
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

May be time to move up to a bigger part, like ATmega1284P with 16K SRAM and 128K flash.
http://www.crossroadsfencing.com/BobuinoRev17/
Can put one of these together for ~$20 for a Duemilanove type board, with USB/Serial  off board (as pictured) or on board wiht MIKROE483 module from mouser.com.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

Pages: [1]   Go Up
Print
 
Jump to: