Skip to content

Commit fcbb5e5

Browse files
committed
【完善】micropython 示例程序
1 parent 587dfd1 commit fcbb5e5

File tree

20 files changed

+180
-180
lines changed

20 files changed

+180
-180
lines changed

examples/basic/_thread.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import _thread
1212
import utime as time

examples/basic/array.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import array
1212

examples/basic/random.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import random
1212

examples/basic/rtthread.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import rtthread
1212

examples/basic/sys.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import sys
1212

examples/basic/ucollections.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
from ucollections import namedtuple
1212

examples/basic/uos.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import uos
1212

examples/basic/utime.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import utime
1212

examples/network/network_wlan_ap.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import network
1212

examples/network/network_wlan_sta.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
* Copyright (c) 2006-2019, RT-Thread Development Team
3-
*
4-
* SPDX-License-Identifier: MIT License
5-
*
6-
* Change Logs:
7-
* Date Author Notes
8-
* 2019-06-13 SummerGift first version
9-
*/
1+
#
2+
# Copyright (c) 2006-2019, RT-Thread Development Team
3+
#
4+
# SPDX-License-Identifier: MIT License
5+
#
6+
# Change Logs:
7+
# Date Author Notes
8+
# 2019-06-13 SummerGift first version
9+
#
1010

1111
import network
1212

0 commit comments

Comments
 (0)