AgonConsole8 / agon-vdp

Official Firmware for the Agon Console8: ESP32 VDP
MIT License
43 stars 17 forks source link

Delayed calls #66

Open stevesims opened 1 year ago

stevesims commented 1 year ago

It would be very useful to be able to do delayed calls to buffers.

Possible use cases for this are for queueing up notes to play in the audio system, or a persistent on-screen clock that updates every second.

This is conceptually similar to setTimeout in JS. A similar setInterval type of call may also be useful.

Much like the JS equivalents, it should be possible to cancel delayed calls.