Simple program + big libraries = arduino crash. How do I solve it?
i need making program run. want take output 3 sensors , print results sd card in csv format.
each sensor work individually. collectively, crash arduino in unusual , inconsistent ways. suspect memory issue, don't know can it. i need program work.
any expert advice on how nail thing? program asking arduino handle?
if so, there device capable of running thing?
thanks advice or suggestions...
each sensor work individually. collectively, crash arduino in unusual , inconsistent ways. suspect memory issue, don't know can it. i need program work.
any expert advice on how nail thing? program asking arduino handle?
if so, there device capable of running thing?
thanks advice or suggestions...
quote
i suspect memory issue
yep. sd library takes on 1/4 of sram, on uno class processor.
you using softwareserial, tinygps, onewire, etc., too, of need memory.
you have string constants moved progmem. 1.0, easy:
serial.print(f("he rocket payload v6d sd_g_p_t "));
doing string contants might free enough memory, think there mega in future.
Arduino Forum > Using Arduino > Programming Questions > Simple program + big libraries = arduino crash. How do I solve it?
arduino
Comments
Post a Comment