mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
Update Max44009.h
This commit is contained in:
parent
a9eb3aecf3
commit
ba645e5a03
@ -40,9 +40,9 @@
|
|||||||
class Max44009
|
class Max44009
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// dataPin and clockPin are only used by ESP8266
|
// dataPin and clockPin can be used for ESP8266
|
||||||
// for UNO ignore these (and its warning)
|
// for UNO ignore these (and its warning)
|
||||||
Max44009(const uint8_t address, const uint8_t dataPin = 5, const uint8_t clockPin = 4);
|
Max44009(const uint8_t address, const uint8_t dataPin = 255, const uint8_t clockPin = 255);
|
||||||
|
|
||||||
float getLux();
|
float getLux();
|
||||||
int getError();
|
int getError();
|
||||||
@ -90,4 +90,4 @@ private:
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// END OF FILE
|
// END OF FILE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user