blob: 8be686f568ad9e55bfec5c44f06cd1728130f332 (
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
|
/*
* Copyright 2020 Birte Kristina Friesel
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef S5851A_H
#define S5851A_H
class S5851A {
private:
S5851A(const S5851A ©);
unsigned char const address;
unsigned char txbuf[1];
unsigned char rxbuf[2];
public:
S5851A(unsigned char const addr) : address(addr) {}
float getTemp();
};
extern S5851A s5851a;
#endif
|