Code example for msp430g2xx3 with luminosity sensorbh1750fvi

Heys guys,

I have to make a project using the BH1750FVI luminosity sensor. Its kinda simple. I just have to make the code for that sensor and show the data on a four digit display.

I kind a noob on msp so if anybody can help me, i’ll be eternally gratefull.

School project huh?

MSP430s in a launchpad are pretty easy to program, especially with Energia. If you haven’t used Energia, you should at least try it out. It makes using an MSP in the place of a Arduino pretty easy. If you can program C or anything based off of C this’ll be really easy. All you need to do is: set up an appropriate I2C connection with the MSP and read data, save it to memory. This is as far as I can help you since I don’t know what 4 digit display you have.

I’ll post code examples once I get a spare MSP to test oon. All mine are tied up in my projects at the moment.

Hey thanks for the help guys,

Just so you know the 4digit display is 5461AS