set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.skip_frames() c = time.clock() # Create the mjpeg object. m = mjpeg.Mjpeg("example.mjpeg") # Add frames. for i in range(100): c.tick() m.add_frame(sensor.snapshot()) # Finalize. m.close() ...
Next © 版权所有 2014-2017, Damien P. George, Paul Sokolovsky, OpenMV LLC, 星瞳科技SingTown, and contributors. 最后更新于 08 10月 2022. Built with Sphinx using a theme provided by Read the Docs. Ports and Versions openmvcam (latest) ...
索引和表格:完整的内容表 列出所有的章节和部分 搜索页面 搜索文档 全局模块索引 快速查看所有的模块 总目录 所的函数,类,术语 © Copyright 2016-2017. translation and authors By TPYBoard. Revision 17387248. Built with Sphinx using a theme provided by Read the Docs. ...
close() do_connect() http_get('http://old.tpyboard.com/esp8266/test.php?val=A') 下载源码 Next Previous © Copyright 2016-2017. translation and authors By TPYBoard Revision 8366536b. Built with Sphinx using a theme provided by Read the Docs. ...
Closing the file object returned by makefile() WILL close the original socket as well. socket.read([size]) Read up to size bytes from the socket. Return a bytes object. If size is not given, it reads all data available from the socket until EOF; as such the method will not return ...
microPython_MCP2515 - A MicroPython library for the MCP2515 CAN bus controller. Compression ufastlz - MicroPython wrapper for FastLZ, a lightning-fast lossless compression library. tamp - A low-memory, MicroPython-optimized, DEFLATE-inspired lossless compression library. micropython-zipfile - Read/write...
Guides and videos are available through the Adafruit Learning System under the CircuitPython category. An API reference is also available on Read the Docs. A collection of awesome resources can be found at Awesome CircuitPython. Specifically useful documentation when starting out: Welcome to CircuitPytho...
In the micropython directory, create a new directory with mkdir esp32 Your micropython directory should now look like ls ACKNOWLEDGEMENTS CONTRIBUTING.md esp32 lib mpy-cross README.md CODECONVENTIONS.md docs examples LICENSE ports tests CODEOFCONDUCT.md drivers extmod logo py tools In ./micropython...
http://docs.micropython.org/en/latest/esp8266/。 要使诊断信息包含在错误报告中,请执行“ 代码语言:javascript 代码运行次数:0 运行 AI代码解释 importport_diag ”。 代码语言:javascript 代码运行次数:0 运行 AI代码解释 sta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.scan()# Scanfor...
i2c.writeto(0x3a, buf) # write the given buffer to the slave 请参考:http://docs.micropython.org/en/latest/esp8266/esp8266/quickref.html?highlight=i2c TPYBoard v202的I2C接口中SCL=Pin(14),SDA=Pin(2),I2C初始化修改为如下: i2c = I2C(scl=Pin(14), sda=Pin(2), freq=100000) ...