Is it possible to integrate the adafruit TCS34725 color sensor into the Z1-2 Module Sketch? With the arduino IDE?
https://github.com/adafruit/Adafruit_TCS34725
Thanks in advance.
TCS34725 Adafruit Color sensor
Re: TCS34725 Adafruit Color sensor
At the first glance, should be pretty easy to adopt: change all appearances of i2c_dev to a corresponding Z-Uno I2C lib. Check https://z-uno.z-wave.me/Reference/Wire/ for more info.
You are welcome to add it to the Z-Uno library as a Pull Request to https://github.com/Z-Wave-Me/Z-Uno-G2-C ... /libraries
You are welcome to add it to the Z-Uno library as a Pull Request to https://github.com/Z-Wave-Me/Z-Uno-G2-C ... /libraries
Re: TCS34725 Adafruit Color sensor
Hello, thank you very much for the response.
I understand that you are telling me that I could put it in the Zuno2 library as a change request, but the truth is, I still don't have the necessary knowledge, I don't even know how to use Github well, I would like to, and be able to contribute everything to the forum. the possible.
Could you give me some indication of how to do it? Or can you request it?
Thanks greetings
I understand that you are telling me that I could put it in the Zuno2 library as a change request, but the truth is, I still don't have the necessary knowledge, I don't even know how to use Github well, I would like to, and be able to contribute everything to the forum. the possible.
Could you give me some indication of how to do it? Or can you request it?
Thanks greetings
Re: TCS34725 Adafruit Color sensor
You can copy this lib (the .cpp and .h files) to a folder inside libs (create one) and then change all I²C commands to the corresponding I²C commands in Z-Uno SDK. Once it works, we can guide you how to contribute (or just send to us and we put it in git)