Commit | Line | Data |
---|---|---|
1 | struct codeElement {\r | |
2 | uint16_t onTime; // duration of "On" time\r | |
3 | uint16_t offTime; // duration of "Off" time\r | |
4 | };\r | |
5 | \r | |
6 | struct powercode {\r | |
7 | uint8_t timer_val; // not the actual frequency, but the timer value to generate the frequency\r | |
8 | struct codeElement codes[]; // flexible number of on/off codes\r | |
9 | };\r |