diff options
Diffstat (limited to 'include/arch/msp430fr5994lp/driver/dmx3.h')
-rw-r--r-- | include/arch/msp430fr5994lp/driver/dmx3.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/arch/msp430fr5994lp/driver/dmx3.h b/include/arch/msp430fr5994lp/driver/dmx3.h new file mode 100644 index 0000000..c8541bf --- /dev/null +++ b/include/arch/msp430fr5994lp/driver/dmx3.h @@ -0,0 +1,21 @@ +/* + * Copyright 2022 Birte Kristina Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +class DMX3 { + private: + DMX3(const DMX3 ©); + + public: + static unsigned char const num_frames = 32; + unsigned char frames[num_frames]; + + DMX3() {} + + void setup(); + void write(); +}; + +extern DMX3 dmx3; |