Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 1.67 KB

heap.md

File metadata and controls

74 lines (46 loc) · 1.67 KB

H4P Logo

H4P_EmitHeap

Shortname heap

Emits H4PE_HEAP events at a user-defined frequency. The event message contains the string representation of the amount of free heap space.

For information on how to use this plugin, see 💎Everything is an event: Listeners, Emitters and Handlers


Contents


Usage

H4P_EmitHeap uriah(...

This plugin is a "singleton" - there may be only one single instance of it in the app. It may be instantiated as any name the user chooses, prefix all API calls below with than name.

Dependencies

N/A

Commands Added

N/A

Service Commands

stop / start have no effect

Callback functions

N/A


API

Constructor

/*
uint32_t f; event frequency in milliseconds
*/
H4P_EmitHeap(uint32_t f=1000);

Example Sketch 1

Example Sketch 2


(c) 2021 Phil Bowles [email protected]