Can you please let me know how to write coding for this
Hello @yyjadeja and welcome to the forum
I haven’t worked with the mbed microcontroller but doing a little research I found that it allows you to program it in C++.
I also found that someone has already created a library for the color sensor module TCS3200, here it is:
https://os.mbed.com/users/grantphillips/code/TCS3200/docs/b98e768bc655/classTCS3200.html
And in case you need some help getting started with the mbed here’s some useful information:
https://os.mbed.com/handbook/mbed-NXP-LPC1768-Getting-Started