Skip to content

@junhuanchen junhuanchen released this Jun 23, 2019 · 7 commits to master since this release

No gifts for this update.
本次更新没有礼品。

Added a soft serial interface module, the code in serial.py.

添加了软串口模块,代码在 serial.py

You can stop worrying about the number of serial ports, but note that only 9600 are stable, 57600 will shake, 115200 to be fixed (ESP-IDF normal).
你可以不再担心串口数量了,但注意,只有 9600 最稳定,57600 会抖动,115200 待修复(IDF 下正常)。

code in github/esp-idf-software-serial

Assets 3

@junhuanchen junhuanchen released this Jun 21, 2019 · 7 commits to master since this release

There are gifts for this update.
本次更新有礼品。

In addition to the last machine.I2S, bluetooth, smartconfig and this also add the machine.SDcard.
除了上次的 machine.I2S、bluetooth、smartconfig等功能,这次还加了 machine.SDcard 。

Fixes some important performance issues, Python execution speed is improved.

修复了一些不重要的性能问题,Python 的执行速度有提升。

Assets 3

@junhuanchen junhuanchen released this May 31, 2019 · 10 commits to master since this release

See the readme document for details.
具体看这个文档 intellij-micropython.。

This version is based on mpfshell operations.
这个版本是基于 mpfshell 操作的。

Assets 3

@junhuanchen junhuanchen released this May 31, 2019 · 10 commits to master since this release

Pull the code, provide a bluetooth host module.
拉取下述代码,提供蓝牙主机模块。

micropython/micropython#4589

Example:
例子:

import bluetooth
bt = bluetooth.Bluetooth()
bt.active(1)
bt.advertise(100, 'MicroPython')
tx = bluetooth.Characteristic('6E400002-B5A3-F393-E0A9-E50E24DCCA9E', bluetooth.FLAG_READ|bluetooth.FLAG_NOTIFY)
rx = bluetooth.Characteristic('6E400003-B5A3-F393-E0A9-E50E24DCCA9E', bluetooth.FLAG_WRITE)
s = bt.add_service('6E400001-B5A3-F393-E0A9-E50E24DCCA9E', [tx, rx])

tx.write('hello')

def callback(char, data):
    print('rx on update data:', data)

rx.on_update(callback)

Provides an android debugging tool.
提供一个 android 调试工具。

Assets 2

@junhuanchen junhuanchen released this May 28, 2019 · 16 commits to master since this release

Uasge:
用法:

  • Open the FlashMicroPython-*.zip file and run Flashtool.exe In Windows.
  • 在Windows下,打开 FlashMicroPython-*.zip 压缩包,然后运行里面的 Flashtool.exe 工具即可。

图片

Please insert the hardware first and then open the software, the software will burn automatically
请先插入硬件后打开软件,这个软件会自动运行烧写。

You can also select the serial port to Flash, firmware updates only need to be replaced firmware.bin.
你也可以自己选择串口烧录,升级固件只需要替换压缩包中的 firmware.bin 重烧入即可。

更多信息请看 mpy-flasher

下载很慢的,可以用这个地址腾讯微云

Assets 4
You can’t perform that action at this time.