这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
| icore3_micropython_13 [2020/06/15 18:08] zgf 创建 | icore3_micropython_13 [2022/03/18 15:18] (当前版本) sean | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| |技术支持电话|**0379-69926675-801**||| | |技术支持电话|**0379-69926675-801**||| | ||
| |技术支持邮件|Gingko@vip.163.com||| | |技术支持邮件|Gingko@vip.163.com||| | ||
| - | |技术论坛|http://www.eeschool.org||| | ||
| ^ 版本  ^ 日期  ^ 作者  ^ 修改内容  ^ | ^ 版本  ^ 日期  ^ 作者  ^ 修改内容  ^ | ||
| | V1.0 | 2020-06-15  | gingko  | 初次建立  | | | V1.0 | 2020-06-15  | gingko  | 初次建立  | | ||
| 行 46: | 行 45: | ||
| <code python> | <code python> | ||
| + | # -*- coding: utf-8-*- | ||
| # MY/LED.py 文件 | # MY/LED.py 文件 | ||
| import pyb | import pyb | ||
| 行 51: | 行 51: | ||
| #LED类 | #LED类 | ||
| class LED(object): | class LED(object): | ||
| - | """docstring for LED""" | + | """My water LED""" | 
| def __init__(self): | def __init__(self): | ||
| super(LED, self).__init__() | super(LED, self).__init__() | ||
| 行 64: | 行 64: | ||
| <code python> | <code python> | ||
| + | # -*- coding: utf-8-*- | ||
| # main.py 文件 | # main.py 文件 | ||
| import LED #导入自写模块 | import LED #导入自写模块 | ||