Memory Analysis

Somewhere you also mentioned that you wanted to experiment by “merging” your classes you had in seperate projects/libraries in your solution into just one main project to see what you gain.

I just did that. I had/have the following projects in my solution:
InternalFlashStorage
SD_Read_Write
Serial_LCD_Backpack

After removing them from the solution, their references from the main project and including their classes in the main project my total size of bytes deployed is down from 91672 to 89692 bytes which is a further 1980 bytes.

Also, this:


                                active_value = (bike_data.DoMeasurement ? "1" : "0");

vs this:

                                if (bike_data.DoMeasurement)
                                    active_value = "1";
                                else
                                    active_value = "0";

saves 4 bytes.