-
Notifications
You must be signed in to change notification settings - Fork 0
/
DMX.h
30 lines (24 loc) · 836 Bytes
/
DMX.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// DMX.h
// HeadMaster
//
// Created by Kevan Ahlquist on 11/8/12.
// Copyright (c) 2013 Tesla Works. MIT license.
//
// =============================================================================
// Defines
// =============================================================================
#define DMX_START_CODE 0x00
// =============================================================================
// Types
// =============================================================================
typedef struct _DMXDevice {
char *buffer;
int startChannel;
int bufferSize;
} DMXDevice;
// =============================================================================
// Functions
// =============================================================================
void DMXSetup(void);
void DMXReceive(DMXDevice *device);