blob: 147536dd076f3d8c580ed7f21a5a98f0070190a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef DISPLAY_H
#define DISPLAY_H
#include <xc.h> // include processor files - each processor file is guarded.
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
// Insert declarations
enum DIGIT {
MSB = (0b1 << 11),
LSB = (0b1 << 10)
};
void init7seg(void);
void showChar7seg(char myChar, int myDigit);
void delay(long num);
#ifdef __cplusplus
}
#endif
#endif
|