P
P
Philipp2018-10-22 23:54:01
Arduino
Philipp, 2018-10-22 23:54:01

What to read about Arduino development for writing optimal C code?

The crux of the matter is that I'm new to C and the code ( in progress ) is pretty unwieldy. It currently takes up 80% of the Arduino Nano's available memory, but there's still a lot to cut in terms of functionality.
What are the ways to optimize in terms of memory for the code?
What should be read on this topic?
Maybe you need to completely abandon the Arduino and take a controller with more memory?
There is no need to talk about premature optimization. I know about it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kalapanga, 2018-10-23
@kalapanga

Your main memory consumer is the Adafruit_ST7735.h display library, and there are some external fonts. Look, maybe there are alternatives, albeit with fewer features, but not so voracious. Or take mega instead of nano.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question