summaryrefslogtreecommitdiff
path: root/include/arch/msp430fr5994lp/driver/dmx2.h
blob: 1c8cd6711eab1d32e158237073cb632aad025444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright 2022 Birte Kristina Friesel
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

class DMX2 {
	private:
		DMX2(const DMX2 &copy);

	public:
		static unsigned char const num_frames = 32;
		unsigned char frames[num_frames];

		DMX2() {}

		void setup();
		void write();
};

extern DMX2 dmx2;