Code Syntax Test

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
/* Name: NumOut
* Author: Simon Boak
* Copyright: ©2012 Simon Boak
* License: Creative Commons Share Alike
*
* Receives input from 16 data lines and
* displays to 4 digit Numitron (or LED)
* display through TLC____ driver ICs
*
*/


#define INPUT_CLOCK 1
#define INPUT_DATA 2
#define INPUT_LATCH 3

const int displayMap[16] = {
0b11111100, // 0
0b01100000, // 1
0b11011010, // 2
0b11110010, // 3
0b01100110, // 4
0b10110110, // 5
0b10111110, // 6
0b11100000, // 7
0b11111110, // 8
0b11100110, // 9
0b11101110, // A
0b00111110, // b
0b00011010, // c
0b01111010, // d
0b10011110, // E
0b10001110 // F
};

void setup() {
}

void loop() {
}

Posted in Uncategorized | 1 Comment