acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

README.md (870B)

      1 # LibrarySizeBenchmark
      2 
      3 A small sketch to determine the size of the AceButton library.
      4 First we compile it with `#define USE_ACE_BUTTON 1` to include the library.
      5 Then we compile it with `#define USE_ACE_BUTTON 0` to exclude the library.
      6 The difference should give us a rough idea of the size of the library.
      7 (The compiler will produce slightly difference results for different programs.)
      8 
      9 ```
     10 -------------+--------------+---------------+------------+
     11 board        | AceButton    | w/o AceButton | Difference |
     12 -------------+--------------+---------------+------------+
     13 ATmega328P   |   2282/   55 | 1126   /  41  | 1156/14    |
     14 ESP8266      | 249364/28076 | 248032/28048  | 1332/28    |
     15 ESP32        | 195588/14044 | 194424/14028  | 1164/16    |
     16 Teensy 3.2   |   9852/ 3476 |   8760/ 3460  | 1092/16    |
     17 -------------+--------------+---------------+------------+
     18 ```