Problem including a table


hey guys,

i have little problem code included @ bottom of post. file include .csv file contains integers.
the code works long file doesn't contain many values. once file gets bigger stops working.
basically include table 4000 integers project, can't work. in code 1 included.
am overlooking something?

kind regards;
budhalol

code: [select]

int mytable [] = {
#include "ward.h"
}; 
int i=0;
void setup(){
serial.begin(9600);
}
void loop(){
  (i=0;i<=10;i++){
  serial.println(mytable[i]);
  }
}

put table in progmem

quote
am overlooking something?

the limited ram available


Arduino Forum > Using Arduino > Programming Questions > Problem including a table


arduino

Comments