We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc67453 commit 9f3d99cCopy full SHA for 9f3d99c
docs/Berry.md
@@ -2150,8 +2150,8 @@ cam_view.center()
2150
i = img()
2151
2152
import cam
2153
-cam.setup(4) # 240 x 240
2154
-cam.get_image(i,i.RGB565)
+cam.setup(5) # 240 x 240
+cam.get_image(i,i.RGB565LE)
2155
2156
def lv_img_dsc(image)
2157
var i = image.info()
@@ -2174,7 +2174,7 @@ descriptor = lv_img_dsc(i)
2174
cam_view.set_src(descriptor) # bind cam_view to buffer of img
2175
2176
def video()
2177
- cam.get_image(i,i.RGB565) # this will just update the buffer, no reallocation
+ cam.get_image(i,i.RGB565LE) # this will just update the buffer, no reallocation
2178
cam_view.invalidate()
2179
tasmota.set_timer(20,/->video()) # aim for 50 Hz
2180
end
0 commit comments