Update Max44009.h

This commit is contained in:
Bollie 2018-12-07 19:22:56 +01:00 committed by GitHub
parent a9eb3aecf3
commit ba645e5a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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