summaryrefslogtreecommitdiff
path: root/include/arch/atmega2560/driver/dmx.h
blob: 444cb26b2aefdb5812d093561d78d056a8ebfa83 (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 DMX {
	private:
		DMX(const DMX &copy);

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

		DMX() {}

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

extern DMX dmx;