Pimoroni BH1745 luminance and colour sensor breakout

Their functions for the wire.h file based off the BH1745.cpp file, but I’m not sure what it does. Wire.send() doesn’t seem to be a default function but the file I modified was from 3 years ago so it could have been one previously. My main issue is I don’t have my Arduino libraries set up in a simple way which makes this difficult for me to fix.

For the send() function in the wire library see post #3 here. You can ignore the function - it should never be used in any reasonably recent code.

The available() function is described here.

1 Like

Thanks for the help, I managed to get rid of the error message but for some unknown reason it still won’t activate the leds but there are other ways around it that are less accurate