sipeed / MaixPy-v1

MicroPython for K210 RISC-V, let's play with edge AI easier
https://wiki.sipeed.com/maixpy
Other
1.68k stars 439 forks source link

设置彩条测试模式不生效 #348

Open lixin7 opened 3 years ago

lixin7 commented 3 years ago

`import sensor import image import lcd

def camera_init(): sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.set_colorbar(1) sensor.run(1) sensor.skip_frames(10)

camera_init() lcd.init(freq=15000000, color=65535) while True: lcd.display(sensor.snapshot()) ` 在代码中 设置彩条测试模式 没有任何效果,没找到示例程序,是我使用错误吗?

junhuanchen commented 3 years ago

不是每个摄像头都会完全实现功能的,你可以搜索它的实现确认 https://github.com/sipeed/MaixPy/search?q=set_colorbar