Skip to content

Commit f8374d4

Browse files
committed
初始化增加1s延时
1 parent 0ce6526 commit f8374d4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lcdDisplay.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ namespace lcdDisplay {
297297
export function lcdInitIIC() {
298298
creatList();
299299
protocol = Protocol.IIC;
300+
basic.pause(1000);
301+
300302
}
301303

302304
/**

pxt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test.ts"
1717
],
1818
"targetVersions": {
19-
"target": "6.0.28",
19+
"target": "7.0.42",
2020
"targetId": "microbit"
2121
},
2222
"supportedTargets": [

0 commit comments

Comments
 (0)