This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: BOOSTXL-SENSORS
I have the MSP430FR6989 MCU and BOOSTXL-BASSENSORS connected. I believe the booster pack just needs to be on top of the MSP430 Launchpad as they are both 40 pin compatible.
Assuming I have these connected correctly, I tried running this code. It does compile. However, I'm trying to find what the sensor measurement values are by reading the register values. I'm attempting to do this by adding the watch expressions for OPT3001_ADDRS or OPT3001_RESULT_REG, but the error "identifier not found" pops up.
Does anyone know what I am doing wrong here? How can I read where the sensor values are stored? I think they would be in a register of some sort.
Hi Andrew,
The inputs you put into the expressions are #defines, you can think of #defines as constant values so whenever you put OPT3001_RESULT_REG it is the same thing as inputting 0x00.
I believe the variables you want to add to the watch expression would be LightSensorConfigRead, LightSensorDataRead. The sensor values are going to be stored into some array as they should be communicating through some communication interface. Can you link me to where you found this source code?
Regards,
Luke
Hi Luke,
Thanks for responding!
I got the code at this link right here on e2e
Thank you,
Andrew
**Attention** This is a public forum