Paul Batchelorimporta901d566 years agoHistory
44 lines · 862 B · Lua
RawDownload
sptbl["timer"] = {     files = {        module = "timer.c",        header = "timer.h",        example = "ex_timer.c",    },     func = {        create = "sp_timer_create",        destroy = "sp_timer_destroy",        init = "sp_timer_init",        compute = "sp_timer_compute",    },     params = {    },     modtype = "module",     description = [[Tap-tempo like timer When triggered, timer will begin an internal stopwatch until it is triggered again.The output of the timer will be the time elapsed in seconds.]],     ninputs = 1,    noutputs = 1,     inputs = {        {            name = "clock",            description = "When non-zero, will start/stop the timer."        },    },     outputs = {        {            name = "out",            description = "Outputs the time of the last timer (in seconds)."        },    } }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t