summaryrefslogtreecommitdiff
path: root/src/static_patterns.h
blob: 155c68e98f18a87886a8d730fbb11996271eceb9 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * Copyright (C) 2016 by Daniel Friesel
 *
 * License: You may use, redistribute and/or modify this file under the terms
 * of either:
 * * The GNU LGPL v3 (see COPYING and COPYING.LESSER), or
 * * The 3-clause BSD License (see COPYING.BSD)
 *
 */

#ifndef STATIC_PATTERNS_H_
#define STATIC_PATTERNS_H_

#include <avr/pgmspace.h>

const uint8_t PROGMEM shutdownPattern[] = {
	0x20, 0x40,
	0x01, 0x0f,
	0xff, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xff,
	0x7e, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x7e,
	0x3c, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x3c,
	0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18,
	0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00,
	0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00,
	0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00,
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

const uint8_t PROGMEM flashingPattern[] = {
	0x20, 0x10,
	0x06, 0x00,
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
	0x00, 0x00, 0x07, 0x33, 0x55, 0x98, 0x00, 0x00
};

const uint8_t PROGMEM emptyPattern[] = {
	0x10, 0x28,
	0x20, 0x00,
	' ',   1, ' ', 'B', 'l', 'i', 'n', 'k', 'e', 'n', 'r', 'o', 'c', 'k', 'e',
	't', ' ', 'v', '0', '.', '9', ' ', '-', ' ', 'S', 't', 'o', 'r', 'a', 'g',
	'e', ' ', 'i', 's', ' ', 'e', 'm', 'p', 't', 'y'
};

const uint8_t PROGMEM timeoutPattern[] = {
	0x10, 0x0a,
	0x20, 0x00,
	' ', 2, ' ', 'T', 'i', 'm', 'e', 'o', 'u', 't'
};

#endif /* STATIC_PATTERNS_H_ */