Kris2475 0 Posted June 4, 2019 Share Posted June 4, 2019 Hi all, I have recently acquired a color click board (https://www.digikey.co.uk/en/product-highlight/m/mikroelektronika/color-click-board) and would like to get it working with one of my MSP430 Launchpads. A sketch already exists for the Arduino (https://github.com/raivisr/TCS3471-Arduino-Library/blob/master/TCS3471/examples/ColorSensor/ColorSensor.pde) I have tried porting it over to MSP430, but have been unsuccessful. Do you have any suggestions as to where I may be going wrong? Problems are with undefined references. Thanks! Quote Link to post Share on other sites
Rei Vilo 695 Posted June 4, 2019 Share Posted June 4, 2019 Have you checked Porting an Arduino library to Energia and I²C Check-List? Two options: Dig into the Arduino library and try to adapt it to Energia, or Download the data-sheet of the TCS3471 sensor and develop your own library. I strongly recommend option 2. It is the best way to learn Energia and I²C. Using a logic analyser could be very helpful for debugging. Quote Link to post Share on other sites
Kris2475 0 Posted June 4, 2019 Author Share Posted June 4, 2019 Thanks. I think I have it working now. Will share on this forum as soon as I have run some tests. Cheers! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.