Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
img = sensor.snapshot() img = img.to_rgb565() img.draw_cross(160,120) rgb=img.get_pixel(160,120) print(rgb)
因为你24行,draw_cross了,把这个点变白了。所以读出来的是白色,没问题啊。