(07-27-2016, 08:16 AM)Artyom Wrote: Testing humidity and temperature sensor with KH GOH patch for I2C POT Board.And now we test light sensor. As you see all work fine. Link to source on the picture.
As you see sensor work. Great thanks all who help solve this problem.
If you want repeat this experiment you can download test programm from github.com here:
Https://github.com/ControlEverythingComm...C/SI7021.c
After downloading source file compile them:
gcc SI7021.c -o test
Then run it:
./test
WARNING!!! DO NOT FOGET CHANGE I2C ADDRESS IN SOURCE CODE! ON THE PICTURE I SET CURSOR ON PROPER LINE IN SOURCE CODE.
IOCTRL (FILE, I2C_SLAVE, 0X39);
CHANGE 0X39 TO 0X49!!!!