Hi! I am trying to use the BH1750Lib for my Photon.
When I try to use the Sample INO I get the following error:
lux.cpp: In function ‘void setup()’:
lux.cpp:23:12: error: request for member ‘begin’ in ‘bh1750’, which is of non-class type ‘BH1750Lib()’
//initialize devide
^
lux.cpp: In function ‘void loop()’:
lux.cpp:33:32: error: request for member ‘lightLevel’ in ‘bh1750’, which is of non-class type ‘BH1750Lib()’
#endif
^
What am I doing wrong?