1) There is a problem with compilation of the code because the function declared as static powf is in conflict with such function declared as extern in 'math.h'.
2) There seems to be no possibility to switch off the white diodes by software.
2024-11-25 17:30:07
1. I have not encountered compilation problems in this environment. May I ask what environment you are compiling in?
2. Yes, these diodes are directly powered to emit light.