First off, i wish everyone a happy new year!
For the last years i have been developing a amplifier, and now im in the final stages creating the MCU unit that consists of a Arduino Mega board with a lot of (amplifier)safety features connected to it. Now, there is nothing wrong with the board it self, the error lays in my programming skills so i hope someone would be so kind to help me fix this issue. For some reason when im verifying the program, it ends up finished with a result of: Binary sketch size: 1 778 bytes
However, there is no way that this size is correct, and it does not function on the arduino unit at all. Ive created a smaller program just to do a check, with this simple program everything is running as it should(although no security features is actived with that program) and even this program is bigger around 2200 bytes.
Check the file attached to this post, if was to big to be pasted here.
Anyone have some input for me? Thanks.
Hovedkort.ino (12.9 KB)