You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 23, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Device Simulator Express, a Microsoft Garage project
2
2
3
-
<ahref="https://www.python.org/downloads/"><imgsrc="https://img.shields.io/badge/Python-3.7%2B-blue.svg"alt="Python versions: 3.7+" /></a> <imgsrc="https://img.shields.io/badge/VS%20Code-v1.43+-blue"alt="VS Code version 1.43"> <imgsrc="https://www.repostatus.org/badges/latest/active.svg"alt="Project Status: Active – The project has reached a stable, usable state and is being actively developed." /> <ahref="LICENSE"><imgsrc="https://img.shields.io/badge/license-MIT-blue.svg"alt="License: We are using the MIT License"></a> <ahref="CONTRIBUTING.md"><imgsrc="https://img.shields.io/badge/PRs-Welcome-brightgreen.svg"alt="We are welcoming PRS!"></a> <imgsrc="https://img.shields.io/badge/platform-win%20%7C%20osx-lightgrey.svg"alt="Platforms Supported: Windows, MacOSX"/>
3
+
<ahref='https://www.python.org/downloads/'><imgsrc='https://img.shields.io/badge/Python-3.7%2B-blue.svg'alt='Python versions: 3.7+' /></a> <imgsrc='https://img.shields.io/badge/VS%20Code-v1.43+-blue'alt='VS Code version 1.43'> <imgsrc='https://www.repostatus.org/badges/latest/active.svg'alt='Project Status: Active – The project has reached a stable, usable state and is being actively developed.' /> <ahref='LICENSE'><imgsrc='https://img.shields.io/badge/license-MIT-blue.svg'alt='License: We are using the MIT License'></a> <ahref='CONTRIBUTING.md'><imgsrc='https://img.shields.io/badge/PRs-Welcome-brightgreen.svg'alt='We are welcoming PRS!'></a> <imgsrc='https://img.shields.io/badge/platform-win%20%7C%20osx-lightgrey.svg'alt='Platforms Supported: Windows, MacOSX'/>
Make without limit! Device Simulator Express, a Microsoft Garage project, allows you to code microcontrollers without the hardware on hand! You can program your Adafruit Circuit Playground Express (CPX) or your BBC micro:bit! Test and debug your code on the device simulator and see the same
8
8
result when you plug in your actual microcontroller. Curious about the output of the device, the serial
@@ -11,11 +11,11 @@ monitor allows you to observe the device output.
@@ -84,14 +84,14 @@ To use Device Simulator Express, install the extension from the marketplace and
84
84
85
85
#### I. Take a look at the "Device Simulator Express: Getting Started" Command.
86
86
1. Type in `"Device Simulator Express: [Circuit Playground Express] New File"` in the command palette (`CTRL + SHIFT + P` / `CMD + SHIFT + P` to open the command palette).
87
-
<imgalt="Deploy to Device"src='assets/readmeFiles/getting_started.png'>
88
-
1. Choose the `CPX` option from the dropdown.
89
-
2. Read, copy and learn some of the things you can do with the simulator!
3. Read, copy and learn some of the things you can do with the simulator!
90
90
91
91
#### II. Start with the "Device Simulator Express [Circuit Playground Express]: New File" Command.
92
92
93
93
1. Type in `"Device Simulator Express: [Circuit Playground Express] New File"` in the command palette (`CTRL + SHIFT + P` / `CMD + SHIFT + P` to open the command palette).
2. Name and save your file somewhere, and we’re good to go!
96
96
3. Start with some examples: you can find examples files and tutorials inside the comments, as well as in the notification pop up when you run the `"Device Simulator Express: [Circuit Playground Express] New File"` Command.
97
97
@@ -102,7 +102,7 @@ To use Device Simulator Express, install the extension from the marketplace and
102
102
103
103
#### IV. Run your code on the simulator.
104
104
105
-
<imgalt='How to run the simulator animation'src='assets/readmeFiles/cpx/cpx-run.gif'>
105
+
<imgalt='How to run the CPX simulator animation'src='https://raw.githubusercontent.com/microsoft/vscode-python-devicesimulator/dev/assets/readmeFiles/cpx/cpx-run.gif'>
106
106
107
107
1. Run `Run Simulator` from the command palette or use the `Play` button on the simulator webview.
108
108
@@ -113,7 +113,7 @@ Before deploying the Python code to your CPX device, you need to format your dev
113
113
1. Download the firmware with the .uf2 file (link: https://learn.adafruit.com/adafruit-circuit-playground-express/circuitpython-quickstart).
114
114
2. Download the lastest version of the cpx library (link: https://learn.adafruit.com/welcome-to-circuitpython/circuitpython-libraries).
115
115
116
-
<imgalt="Deploy to Device"src='assets/readmeFiles/cpx/cpx-deploy.png'>
116
+
<imgalt='Deploy to CPX Device'src='https://raw.githubusercontent.com/microsoft/vscode-python-devicesimulator/dev/assets/readmeFiles/cpx/cpx-deploy.png'>
117
117
118
118
#### VI. Use the Serial Monitor for your Adafruit CPX device (available on Windows and Mac only)
119
119
@@ -184,14 +184,14 @@ In Device Simulator Express, you can use keyboard to interact with the device:
184
184
185
185
#### I. Take a look at the "Device Simulator Express: Getting Started" Command.
186
186
1. Type in `"Device Simulator Express: [Circuit Playground Express] New File"` in the command palette (`CTRL + SHIFT + P` / `CMD + SHIFT + P` to open the command palette).
187
-
<imgalt="Deploy to Device"src='assets/readmeFiles/getting_started.png'>
2. Choose the `micro:bit` option from the dropdown.
189
-
2. Read, copy and learn some of the things you can do with the simulator!
189
+
3. Read, copy and learn some of the things you can do with the simulator!
190
190
191
191
#### II. Start with the "Device Simulator Express [micro:bit]: New File" Command.
192
192
193
193
1. Type in `"Device Simulator Express: [micro:bit] New File"` in the command palette (`CTRL + SHFT + P / CMD + SHIFT + P` to open the command palette).
2. Name and save your file somewhere, and we’re good to go!
196
196
197
197
#### III. Start from an existing Python file.
@@ -201,15 +201,15 @@ In Device Simulator Express, you can use keyboard to interact with the device:
201
201
202
202
#### IV. Run your code on the simulator.
203
203
204
-
<imgalt='How to run the simulator animation'src='assets/readmeFiles/microbit/microbit-run.gif'>
204
+
<imgalt='How to run the micro:bit simulator animation'src='https://raw.githubusercontent.com/microsoft/vscode-python-devicesimulator/dev/assets/readmeFiles/microbit/microbit-run.gif'>
205
205
206
206
1. Run `Run Simulator` from the command palette or use the `Play` button on the simulator webview.
207
207
208
208
#### V. Deploy your code to the physical device
209
209
210
210
1. Run `[micro:bit] Deploy to Device` from the command palette
211
211
212
-
<imgalt="Deploy to Device"src="assets/readmeFiles/microbit/microbit-deploy.png">
212
+
<imgalt='Deploy to micro:bit device'src='https://github.com/microsoft/vscode-python-devicesimulator/blob/dev/assets/readmeFiles/microbit/microbit-deploy.png'>
213
213
214
214
#### VI. Use the Serial Monitor for your BBC micro:bit device (available on Windows and Mac only)
0 commit comments