Make the amount of events configurable. Each event consumes 0x11 bytes of SRAM, the default 10 events consume 0xAA bytes