Skip to content

Commit

Permalink
Update the PXT link
Browse files Browse the repository at this point in the history
  • Loading branch information
samlcy1997 committed Jul 20, 2021
1 parent bae5d20 commit f6c2786
Show file tree
Hide file tree
Showing 17 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions docs/smartcity/4_wificonnect.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ On WiFi disconnected handler will be triggered when the WiFi connection is loss,
![auto_fit](images/4_ConnectWiFi/Wifi_p5.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_0bv5b2RPWCCE](https://makecode.microbit.org/#pub:_0bv5b2RPWCCE)<BR><P>
MakeCode: [https://makecode.microbit.org/_53Yf8qcx521m](https://makecode.microbit.org/_53Yf8qcx521m)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_0bv5b2RPWCCE" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_53Yf8qcx521m" width="100%" height="500" frameborder="0"></iframe>


## Result
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case01.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ Connect LED light to the P3 port of Smarthon IoT:bit<BR><P>
![pic_90](images/Case1/Case1_p2.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_8eAaLM6mLEaH](https://makecode.microbit.org/#pub:_8eAaLM6mLEaH)<BR><P>
MakeCode: [https://makecode.microbit.org/_X4xYjzHU6d91](https://makecode.microbit.org/_X4xYjzHU6d91)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_8eAaLM6mLEaH" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_X4xYjzHU6d91" width="100%" height="500" frameborder="0"></iframe>

<P>

Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case02.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ Connect 180° Servo to P2 port of IoT:bit<BR><P>


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_03b9tCdf424k](https://makecode.microbit.org/#pub:_03b9tCdf424k)<BR><P>
MakeCode: [https://makecode.microbit.org/_UgRKmX2XzH2u](https://makecode.microbit.org/_UgRKmX2XzH2u)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_03b9tCdf424k" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_UgRKmX2XzH2u" width="100%" height="500" frameborder="0"></iframe>

## Result
<HR>
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case03.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ Connect Multi-color LED to P1 port of IoT:bit<BR><P>


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_TfH6k4FvHRcg](https://makecode.microbit.org/#pub:_TfH6k4FvHRcg)<BR><P>
MakeCode: [https://makecode.microbit.org/_F2x6j9UaM6wf](https://makecode.microbit.org/_F2x6j9UaM6wf)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_TfH6k4FvHRcg" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_F2x6j9UaM6wf" width="100%" height="500" frameborder="0"></iframe>


## Result
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case04.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ Extend the connection of OLED to I2C connection port of IoT:bit<BR><P>


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_dEw2edKjKJbu](https://makecode.microbit.org/#pub:_dEw2edKjKJbu)<BR><P>
MakeCode: [https://makecode.microbit.org/_TiW9H7CuU5M5](https://makecode.microbit.org/_TiW9H7CuU5M5)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_dEw2edKjKJbu" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_TiW9H7CuU5M5" width="100%" height="500" frameborder="0"></iframe>


## Results
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case05.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ Drag `Pause` to wait 500ms and set `distance2` to `get distance unit cm trig P14


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_P8gPWe6iEg0g](https://makecode.microbit.org/#pub:_P8gPWe6iEg0g)<BR><P>
MakeCode: [https://makecode.microbit.org/_0Y0h5MWPde4A](https://makecode.microbit.org/_0Y0h5MWPde4A)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_P8gPWe6iEg0g" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_0Y0h5MWPde4A" width="100%" height="500" frameborder="0"></iframe>


## Results
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case06.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Select your channel > “API Keys” ,copy the API key as follows:<BR><P>


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_RE7EaeAF1AUt](https://makecode.microbit.org/#pub:_RE7EaeAF1AUt)<BR><P>
MakeCode: [https://makecode.microbit.org/_TMyYxL8Re1du](https://makecode.microbit.org/_TMyYxL8Re1du)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_RE7EaeAF1AUt" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_TMyYxL8Re1du" width="100%" height="500" frameborder="0"></iframe>


## Result
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case07.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ Go to “My services” > “Webhooks”, select “Documentation” . Copy your
![auto_fit](images/Case7/Case7_p5.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_bbKH5FLz0ikL](https://makecode.microbit.org/#pub:_bbKH5FLz0ikL)<BR><P>
MakeCode: [https://makecode.microbit.org/_H4uU8R3716xj](https://makecode.microbit.org/_H4uU8R3716xj)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_bbKH5FLz0ikL" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_H4uU8R3716xj" width="100%" height="500" frameborder="0"></iframe>


## Result
Expand Down
8 changes: 4 additions & 4 deletions docs/smartcity/case08.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ Connect the Light Sensor to P0 port of IoT:bit<BR><P>
![auto_fit](images/Case8/Case8a_p4.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_16MRP0RtHJjx](https://makecode.microbit.org/#pub:_16MRP0RtHJjx)<BR><P>
MakeCode: [https://makecode.microbit.org/_P5fAujhip5Lh](https://makecode.microbit.org/_P5fAujhip5Lh)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_16MRP0RtHJjx" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_P5fAujhip5Lh" width="100%" height="500" frameborder="0"></iframe>


### Result
Expand Down Expand Up @@ -191,9 +191,9 @@ Connect the Traffic LED Module to P0 port of IoT:bit<BR><P>
![auto_fit](images/Case8/Case8b_p7.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_dXhFr77PyDi0](https://makecode.microbit.org/#pub:_dXhFr77PyDi0)<BR><P>
MakeCode: [https://makecode.microbit.org/_V5jcy5Pvm7hF](https://makecode.microbit.org/_V5jcy5Pvm7hF)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_dXhFr77PyDi0" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_V5jcy5Pvm7hF" width="100%" height="500" frameborder="0"></iframe>


### Result
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case09.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ G (black)|G (brown)
![pic_80](images/Case9/Case9_p5.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_FKDKfDYj1Le1](https://makecode.microbit.org/#pub:_FKDKfDYj1Le1)<BR><P>
MakeCode: [https://makecode.microbit.org/_YhvAsP3HCgY6](https://makecode.microbit.org/_YhvAsP3HCgY6)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_FKDKfDYj1Le1" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_YhvAsP3HCgY6" width="100%" height="500" frameborder="0"></iframe>


## IoT (App Inventor)
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case10.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ Connect the white LED Light to P1 port of IoT:bit<BR><P>


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_gro09TAW8Whb](https://makecode.microbit.org/#pub:_gro09TAW8Whb)<BR><P>
MakeCode: [https://makecode.microbit.org/_2cRf6LWq69AL](https://makecode.microbit.org/_2cRf6LWq69AL)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_gro09TAW8Whb" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_2cRf6LWq69AL" width="100%" height="500" frameborder="0"></iframe>


## IoT (IFTTT)
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/case11.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ G (black) | G (brown)


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_4m94VyctJYbr](https://makecode.microbit.org/#pub:_4m94VyctJYbr)<BR><P>
MakeCode: [https://makecode.microbit.org/_6KyfVPJEd10A](https://makecode.microbit.org/_6KyfVPJEd10A)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_4m94VyctJYbr" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_6KyfVPJEd10A" width="100%" height="500" frameborder="0"></iframe>


## IoT (IFTTT)
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/chapter1.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ If you want to show the thingspeak status, you can use the on Thingspeak Uploade


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_9PaTppdoCETi](https://makecode.microbit.org/#pub:_9PaTppdoCETi)<BR><P>
MakeCode: [https://makecode.microbit.org/_PHU0oJLwHAYD](https://makecode.microbit.org/_PHU0oJLwHAYD)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_9PaTppdoCETi" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_PHU0oJLwHAYD" width="100%" height="500" frameborder="0"></iframe>

<P>

Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/chapter2.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ If you want to show the IFTTT upload status, you can use the “on IFTTT Uploade


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_Txv1LF34edWu](https://makecode.microbit.org/#pub:_Txv1LF34edWu)<BR><P>
MakeCode: [https://makecode.microbit.org/_CwbdXV0ascyx](https://makecode.microbit.org/_CwbdXV0ascyx)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_Txv1LF34edWu" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_CwbdXV0ascyx" width="100%" height="500" frameborder="0"></iframe>



Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/chapter3.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ You may also show the `WAN_Command` and `value` by `show string`.<P>


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_43A5eiHmjTMH](https://makecode.microbit.org/#pub:_43A5eiHmjTMH)<BR><P>
MakeCode: [https://makecode.microbit.org/_5i7gKJ4KVK9X](https://makecode.microbit.org/_5i7gKJ4KVK9X)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_43A5eiHmjTMH" width="100%" height="500" frameborder="0"></iframe><P>
<iframe src="https://makecode.microbit.org/#pub:_5i7gKJ4KVK9X" width="100%" height="500" frameborder="0"></iframe><P>


## Part 2: App Inventor 2 configuration
Expand Down
4 changes: 2 additions & 2 deletions docs/smartcity/chapter4.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ You may also show the `WAN_Command` and `value` by `show string`.<P>


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_eAoCAYc47207](https://makecode.microbit.org/#pub:_eAoCAYc47207)<BR><P>
MakeCode: [https://makecode.microbit.org/_Jdb8fA66r77Y](https://makecode.microbit.org/_Jdb8fA66r77Y)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_eAoCAYc47207" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_Jdb8fA66r77Y" width="100%" height="500" frameborder="0"></iframe>

<P>

Expand Down
16 changes: 8 additions & 8 deletions docs/smartcity/chapter5.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ After press the A and B button at the same time, Micro:bit will start listening


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_gwm8qKY4q6ze](https://makecode.microbit.org/#pub:_gwm8qKY4q6ze)<BR><P>
MakeCode: [https://makecode.microbit.org/_KbxHgu7xfHhP](https://makecode.microbit.org/_KbxHgu7xfHhP)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_gwm8qKY4q6ze" width="100%" height="500" frameborder="0"></iframe>
<iframe src="https://makecode.microbit.org/#pub:_KbxHgu7xfHhP" width="100%" height="500" frameborder="0"></iframe>
<P><P>


Expand Down Expand Up @@ -77,9 +77,9 @@ When you join different channels, you may receive same command from each of them
![auto_fit](images/Ch5/Ch5_p5.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_XoiUx0a2Wga9](https://makecode.microbit.org/#pub:_XoiUx0a2Wga9)<BR><P>
MakeCode: [https://makecode.microbit.org/_ApFMuua7d072](https://makecode.microbit.org/_ApFMuua7d072)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_XoiUx0a2Wga9" width="100%" height="500" frameborder="0"></iframe><P><P>
<iframe src="https://makecode.microbit.org/#pub:_ApFMuua7d072" width="100%" height="500" frameborder="0"></iframe><P><P>

## Sender side
<HR>
Expand All @@ -102,9 +102,9 @@ After connected to the internet, we can start send the message to our friend tho


<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_8tJhFCHxUcHH](https://makecode.microbit.org/#pub:_8tJhFCHxUcHH)<BR><P>
MakeCode: [https://makecode.microbit.org/_AygdmqgfTCXb](https://makecode.microbit.org/_AygdmqgfTCXb)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_8tJhFCHxUcHH" width="100%" height="500" frameborder="0"></iframe><P><P>
<iframe src="https://makecode.microbit.org/#pub:_AygdmqgfTCXb" width="100%" height="500" frameborder="0"></iframe><P><P>

<h2>Optional:</h2>
<HR>
Expand All @@ -125,6 +125,6 @@ Normally, if no internet connection or the channel Server is down, it will be -2
![auto_fit](images/Ch5/Ch5_p8.png)<P>

<span id="subtitle">Full Solution<BR><P>
MakeCode: [https://makecode.microbit.org/_aXRLd8Ee9Pwf](https://makecode.microbit.org/#pub:_aXRLd8Ee9Pwf)<BR><P>
MakeCode: [https://makecode.microbit.org/_2H1fHvgMv6jg](https://makecode.microbit.org/_2H1fHvgMv6jg)<BR><P>
You could also download the program from the following website:<BR>
<iframe src="https://makecode.microbit.org/#pub:_aXRLd8Ee9Pwf" width="100%" height="500" frameborder="0"></iframe><P>
<iframe src="https://makecode.microbit.org/#pub:_2H1fHvgMv6jg" width="100%" height="500" frameborder="0"></iframe><P>

0 comments on commit f6c2786

Please sign in to comment.