已经是最新固件版本
# Untitled - By: 58486 - 周四 4月 20 2023
import sensor, image, time,hashlib
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.skip_frames(time = 2000)
clock = time.clock()
str = '12345'
md = hashlib.md5() # 创建md5加密对象
md.update(str.encode('utf-8')) # 指定需要加密的字符串
str_md5 = md.hexdigest() # 加密后的字符串
print(str_md5) # 结果:e10adc3949ba59abbe56e057f20f883e
while(True):
clock.tick()
img = sensor.snapshot()
# print(clock.fps())