summaryrefslogtreecommitdiff
path: root/include/driver/max44009.h
blob: 6bedd3c8976078d1b4f4cf184699d9640cbf2934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MAX44009_H
#define MAX44009_H

class MAX44009 {
	private:
		MAX44009(const MAX44009 &copy);
		unsigned char const address;
		unsigned char txbuf[2];
		unsigned char rxbuf[2];

	public:
		MAX44009(unsigned char const addr) : address(addr) {}

		float getLux();
};

extern MAX44009 max44009;

#endif