Open Khaos66 opened 1 year ago
@ytsuboi @Pillar1989 Maybe you know of some spec sheet about the signal that the led ring uses? I couldn't find one online to research why this isn't working...
@Khaos66 Is this problem solved?
@ackPeng Hi thanks for answering!
It is not solved. But I've got an Arduino by now and the C example code for the Arduino is working fine, as long as I don't increase the delays (or add debug logs, which delay the timing too).
So I think python on raspberry pi is too slow to meet the specs of the hardware?!
Hi I've tryed to port the c++ code for the circular led ring for the arduino to python code for the rpi + grove-head. I think I matched the code 1:1. But sadly only one half of the ring will light up and I can't get it to work for the full ring. Can you please help me?
EDIT: It looks like the second half of the data array is overriding the first half. so somehow the led ring is not moving to the second segment and instead writing both halfs to the first half of the ring. My animation stops with the data transferred via the second half of the array. See
If I comment this part out, the animation looks different and stops with the data of the first half of the array. This is how I recognized that both halfs of the data array are controlling only the first half of the led ring