Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Here are some related tutorials to help you get started with BitGadget Kit.
### 1.1 Implementation
We'll make a LED controller that shows different light displays by rotating the rotary angle sensor.
<p align = "left">
<img src="https://docproxy.chmakered.com/server/../Public/Uploads/2019-11-05/5dc0eb0ec788d.png" alt="">
<img src="https://docproxy.chmakered.com/Public/Uploads/2019-11-05/5dc0eb0ec788d.png" alt="">
</p>

### 1.2 Write a Program
Let's go to MakeCode: https://makecode.microbit.org
Create a new project. Firstly add a "forever" block and connect the block "plot bar graph of up to" into it. Then add a "analog read pin" block. Set the maximum as 1023, which is the greatest value that the rotary angle sensor can produce. Finally, connect a "pause" block and set the time delay as 1,000 millisecond.
<p align = "left">
<img src="https://docproxy.tinkergen.com/server/../Public/Uploads/2020-03-16/5e6f524c028a9.png" alt=""></p>
<img src="https://docproxy.tinkergen.com/server/../Public/Uploads/2020-03-16/5e6f524c028a9.png" alt="">
</p>

### 1.3 Connect a Device
Expand All @@ -44,8 +44,8 @@ Let's take the challenge to another level. In this project, we'll make the RGB L
<img src="https://docproxy.tinkergen.com/server/../Public/Uploads/2020-03-16/5e6f53376d166.png" alt=""></p>
<p>Step 2 Select "Extensions" from the drop-down list which takes you to the extensions page.
<img src="https://docproxy.tinkergen.com/server/../Public/Uploads/2020-03-16/5e6f5345efa5c.png" alt=""></p>
<p>Step 3 Input the address of the BitGadget Kit extension into the search box: https://github.com/TinkerGen/pxt-Bit-GadgetKit or input key word: **Bit GadgetKit**
<img src="https://docproxy.tinkergen.com/server/../Public/Uploads/2020-03-16/5e6f5363b7fb0.png" alt=""></p>
<p>Step 3 Input the key word of the BitGadget Kit extension into the search box: Bit GadgetKit or bit-gadgetkit
</p>
<blockquote>
<p>If a prompt says that this extension does not exist, please close the browser and try again.</p>
</blockquote>
Expand Down
4 changes: 2 additions & 2 deletions pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"dependencies": {
"core": "*",
"radio": "*",
"BitMaker": "github:TinkerGen/pxt-BitMaker#v0.1.3",
"Grove": "github:TinkerGen/pxt-Grove#v0.1.0",
"BitMaker": "github:TinkerGen/pxt-BitMaker#v0.1.4",
"Grove": "github:TinkerGen/pxt-Grove#v0.1.1",
"neopixel": "github:microsoft/pxt-neopixel#v0.6.10"
},
"files": [
Expand Down