wwj718

Results 39 issues of wwj718

添加这个文件,使依赖资源被setup.py打包,否则pip安装的包没有相应资源(当前的从pypi下载的PyBaiduYuyin包有问题,缺少资源)

`VM199:29 Error: Cannot find Jupyter/Colab namespace from javascript`

@陆春锐 给出了解决方案 [node_physical_blocks2.py](https://gist.github.com/wwj718/b56ab76bca5bb842b147cd1f2f178c05)

ref: https://discuss.codelab.club/t/topic/158/2

https://github.com/pyinstaller/pyinstaller/pull/3951

@wangshub 完成了dongle class,我这两天会发布一个包含dongle class新版本。 大家可以先用于本地测试 ```python import time import pygatt import tenacity import binascii # pygatt api doc : https://github.com/peplin/pygatt/blob/master/pygatt/device.py class Dongle(object): def __init__(self): self.adapter = pygatt.BGAPIBackend() self.device = None...

收到一封来自印度的邮件,之前始终没认真考虑接入Arduino,毕竟社区认为micro:bit/MicroPython/RPI更可能是未来,但由于低廉的价格,大量落后地区在使用Arduino,所以打算将pymata-aio内置到CodeLab Adapter,提供开箱可用的Arduino插件,不知是否有小伙伴愿意一起在这个分支上工作。 ![image](https://user-images.githubusercontent.com/3153878/58390667-01195380-8065-11e9-8c44-6c5da8077466.png) 目前[bilikyar](https://github.com/orgs/Scratch3Lab/people/bilikyar)已经完成了一部分工作:[scratch3_arduino](https://github.com/Scratch3Lab/scratch3_arduino), 我们可以在这个基础上继续前进。 已经发布了内置pymata-aio的codelab-adapter版本: v0_8_3 。

利用message报告给Scratch Extension,各个插件在运行之后订阅各自硬件的连接状态。 可以模仿Scratch microbit的消息提醒UI。

[Scratch Link](https://github.com/LLK/scratch-link) 已经开源,计划基于dongle class(近期会看做一些案例)或pyqt5的 BT机制兼容Scratch Link。