logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

toggle - 'push-on, push-off' from momentary pushbuttons

Author

       John Kasunich

Description

            ┐     ┌──┐        ┌──┐
       in : └─────┘  └────────┘  └──
            ┐     ┌───────────┐
       out: └─────┘           └─────

Functions

toggle.N

License

       GPL

LinuxCNC Documentation                             2025-08-07                                          TOGGLE(9)

Name

       toggle - 'push-on, push-off' from momentary pushbuttons

Parameters

toggle.N.debounce u32 rw (default: 2)
              debounce delay in periods

Pins

toggle.N.in bit in
              button input

       toggle.N.out bit io
              on/off output

Synopsis

loadrttoggle[count=N|names=name1[,name2...]]

See Also