-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
69 changed files
with
231 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
dxkStickIDE可以运行在Windows和macOS等多种操作系统,请根据需要下载。 | ||
|
||
# macOS系统安装注意 | ||
macOS安装时需打开信任第三方应用的设置,方法为: | ||
- 运行dmg镜像内 __安装前运行.sh__ | ||
- 或直接在控制台输入 __sudo spctl --master-disable__ 命令并执行。 | ||
# 安装操作 | ||
1. 安装纯净版thonny3.1.2: | ||
* 推荐: | ||
* [Windows (exe格式)](https://github.com/thonny/thonny/releases/download/v3.1.2/thonny-3.1.2.exe) | ||
* [Mac (dmg格式)](https://github.com/thonny/thonny/releases/download/v3.1.2/thonny-3.1.2.dmg) | ||
* [Linux (检测系统版本安装脚本)](https://github.com/thonny/thonny/releases/download/v3.1.2/thonny-3.1.2.bash) | ||
* 其它版本: | ||
* [Windows (免安装版)](https://github.com/thonny/thonny/releases/download/v3.1.2/thonny-3.1.2-portable-win.zip) | ||
* [Linux (x86_64架构, tar.gz格式)](https://github.com/thonny/thonny/releases/download/v3.1.2/thonny-3.1.2-x86_64.tar.gz) | ||
* [Linux (i686架构, tar.gz格式)](https://github.com/thonny/thonny/releases/download/v3.1.2/thonny-3.1.2-i686.tar.gz) | ||
|
||
1. 下载setup.zip并解压其中plugins_setup文件夹 | ||
|
||
1. 打开Thonny, 运行该文件夹下*setup.py*文件 | ||
* 安装汉化插件**thonny_translate** | ||
* 安装dxkStick支持插件**microbit_dxk** | ||
|
||
# win7系统安装注意 | ||
win7系统需要安装驱动程序,可以下载本目录下的【mbedWinSerial_16466.exe】,或者在【 https://os.mbed.com/docs/latest/tutorials/windows-serial-driver.html 】下载。 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from mb import _exe,gc | ||
_=[0]*6 | ||
def time(addr): | ||
_exe(addr,b'getT',6,1) | ||
try: | ||
for i in range(6): | ||
_[i]=t[i]-1 | ||
return tuple(_) | ||
except:pass | ||
def set_time(Y,M,D,h,m,s,addr): | ||
_exe(addr,b"setT%c%c%c%c%c%c"%(Y,M,D,h,m,s)) | ||
gc() |
Oops, something went wrong.