-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhw262.h
37 lines (31 loc) · 813 Bytes
/
hw262.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
31
32
33
34
35
36
37
#ifndef HW262_H
#define HW262_H
#include <Arduino.h>
#include "buzzer.h"
#include "led.h"
#include "pot.hpp"
#include "switches.h"
#include "display.h"
#include "ds18.h"
#include "lm35.h"
#include "ir.h"
#include "constants.h"
#include "pins.h"
class Hw262 : public Led,
public Buzzer,
public Pot,
public Switches
{
protected:
static uint16_t readA5();
static uint16_t readVoltageA5();
public:
static void begin(uint8_t sensorPrecision=DEFAULT_PRECISION,uint32_t baudRate=SERIAL_BAUD_RATE);
static Lm35 lm35;
static Ds18 ds18;
static Display display;
static IR ir;
static void resetAllLeds();
};
extern Hw262 HW262;
#endif