-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDevice.h
More file actions
33 lines (26 loc) · 678 Bytes
/
Device.h
File metadata and controls
33 lines (26 loc) · 678 Bytes
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
/*
* Device.h
*
* Created: 2016/12/18 10:50:09
* Author: dusch
*/
#ifndef DEVICE_H_
#define DEVICE_H_
/******note off you want******/
#include "ADC.h" //ADC reading
#include "EEPROM.h" //internal reading and writeing
#include "I2C.h" //I2C BUS contral
#include "USART.h" //USART RS232 BUS contral
#include "LCD.h" //Basic LCD contral
#include "MyLcd.h" //LCD contral pro
#include "Sort.h"
#include "List.h"
#include "Filter.h"
#include "PID.h"
#define LSL(x, y) x=x<<y
#define LSR(x, y) x=x>>y
#define MAX(a, b) a>b?a:b
#define MIN(a, b) a<b?a:b
#define SEI asm("sei");
#define CLI asm("cli");
#endif /* DEVICE_H_ */