Hello
Just godt the rotation to work with my Xiaomi cube.
When rotation the cube, i can get values from -360 -> 360.
I would like to take these values and use them in a dim function.
So the more i rotate the Cube, the more it dims a light.
Can someone help with some script that can do that?
Just godt the rotation to work with my Xiaomi cube.
When rotation the cube, i can get values from -360 -> 360.
I would like to take these values and use them in a dim function.
So the more i rotate the Cube, the more it dims a light.
Can someone help with some script that can do that?
Comment