KontroLIR Macros: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''''> KontroLIR Home''''' '''''> KontroLIR Home'''''") |
mNo edit summary |
||
Line 1: | Line 1: | ||
'''''[[KontroLIR - Arduino compatible IR remote control|> KontroLIR Home]]''''' | '''''[[KontroLIR - Arduino compatible IR remote control|> KontroLIR Home]]''''' | ||
In file KIR_Macros.ino we have shown how macros can be added. | |||
If you want to assign a macro to a button / device in KontroLIR sumply call the macro from the function assigned to that button/device. For example: | |||
void DFN(POWER)(void) { | |||
KIR_Macro1(void); | |||
} | |||
We have shown several example Macros with timed signal sequences in this file, but have left them commented-out for now. Users are free to add any number of macros here. We strongly suggest you use this file for creating macros to avoid cluttering the individual device mode files. | |||
'''''[[KontroLIR - Arduino compatible IR remote control|> KontroLIR Home]]''''' | '''''[[KontroLIR - Arduino compatible IR remote control|> KontroLIR Home]]''''' |
Revision as of 03:47, 25 October 2019
In file KIR_Macros.ino we have shown how macros can be added.
If you want to assign a macro to a button / device in KontroLIR sumply call the macro from the function assigned to that button/device. For example:
void DFN(POWER)(void) { KIR_Macro1(void); }
We have shown several example Macros with timed signal sequences in this file, but have left them commented-out for now. Users are free to add any number of macros here. We strongly suggest you use this file for creating macros to avoid cluttering the individual device mode files.