RokKos / ArduinoAlarmClock

Project in arduino. I will try to create alarm clock so that I don't need my phone
GNU Affero General Public License v3.0
0 stars 0 forks source link

Program size improvments #1

Closed aljazerzen closed 5 years ago

aljazerzen commented 5 years ago

Some of the variables could be shorts instead of ints. This would reduce space needed on Arduino Due and SAMD based boards by 50%.

Eg. pitches could definety be shorts.

Until this is fixed this repo is useless and disgrace to open source community.

RokKos commented 5 years ago

Changed sizes of pitches and also a melody. So now pitches are unsigned short and melodies are unsigned char. You can see change in this commit: ce1fc2aab95d4fe32fb8156411f58b6a0fe80d01

Thanks for proposing this. (Size of program significantly dropped)