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

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support