Site Tools
Sidebar
User's Manual
t2:inhibit
inhibit
inhibit — Inhibit I/O
Description
void inhibit(uint8 io, uint32 ms);
Inhibit the I/O indexed by io for ms milli-seconds.
The inhibit() sets the I/O value to zero until its active time is greater than or equal to ms milli-seconds. |
Parameters
- io: Index of an I/O.
- ms: Time expressed in milli-seconds.
Return Value
No value is returned.
Examples
Example #1 inhibit() example
main { inhibit(BUTTON_12, 1250); }
t2/inhibit.txt · Last modified: 2016/11/18 13:59 by J2Kbr