diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/arch/arduino-nano/driver/dmx.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/arch/arduino-nano/driver/dmx.h b/include/arch/arduino-nano/driver/dmx.h new file mode 100644 index 0000000..5822a0d --- /dev/null +++ b/include/arch/arduino-nano/driver/dmx.h @@ -0,0 +1,20 @@ +/* + * Copyright 2022 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +class DMX { + private: + DMX(const DMX ©); + + public: + unsigned char frames[16]; + + DMX() {} + + void setup(); + void write(); +}; + +extern DMX dmx; |