1A big array of a bigger type than it needs
An int takes two bytes. Readings from 0 to 255 fit in a byte, so the same array takes half the space.
int samples[1200];
void setup() {
Serial.begin(9600);
samples[0] = 7;
Serial.println(samples[0]);
}
void loop() {
}byte samples[1200];
void setup() {
Serial.begin(9600);
samples[0] = 7;
Serial.println(samples[0]);
}
void loop() {
}Mokxi’s build tab says: The global variables need more than the 2 KB of RAM this board has