Skip to content

issue 118 ambient light sensor max framerate

fleur requested to merge fleur/firmware:fleur/light_sensor_420_blaze_it into master

since freertos ticks at 1kHz i can't really use it for super fast input, so i just put in a direct access. precise timing kinda is the user's problem. each read has an overhead of ~240us, you might wanna add a 100-300us delay with utime.sleep_us for stability though.

Merge request reports