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.
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
7
+
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), your BBC micro:bit or the Adafruit CLUE! 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
9
9
monitor allows you to observe the device output.
10
10
@@ -18,7 +18,7 @@ monitor allows you to observe the device output.
@@ -120,8 +120,6 @@ In Device Simulator Express, you can use keyboard to interact with the device:
120
120
121
121
## Adafruit CLUE Simulator
122
122
123
-
NOTE: This simulator is hidden under the preview mode flag. See below on how to enable the preview mode flag.
124
-
125
123
### Features
126
124
127
125
- IntelliSense and syntax highlighting for CircuitPython code for the following drivers and libraries:
@@ -164,22 +162,6 @@ NOTE: This simulator is hidden under the preview mode flag. See below on how to
164
162
- Refresh the simulator: <kbd>Shift</kbd> + <kbd>R</kbd>
165
163
- Run the simulator: <kbd>Shift</kbd> + <kbd>F</kbd>
166
164
167
-
## How to enable preview flag
168
-
169
-
Currently, we have our Adafruit CLUE simulator hidden behind a preview flag and we want you to try it out!
170
-
171
-
### I. Open settings
172
-
173
-
For Windows and Linux, you can use <kbd>Ctrl</kbd> + <kbd>,</kbd> or use `File -> Preferences -> Settings` in the top menu to navigate to settings. For Mac, you can use <kbd>Cmd</kbd> + <kbd>,</kbd> or use `Code -> Preferences -> Settings`.
To use Device Simulator Express, install the extension from the marketplace and reload VS Code.
@@ -225,8 +207,12 @@ Before deploying the Python code to your CPX device, you need to format your dev
225
207
- Download the lastest versions of the cpx libraries (link: https://learn.adafruit.com/welcome-to-circuitpython/circuitpython-libraries).
226
208
227
209
-_For the micro:bit_:
210
+
228
211
- Download the firmware with the .hex file (link: https://microbit.org/get-started/user-guide/firmware/).
229
212
213
+
-_For the CLUE_:
214
+
- Download the latest versions of the cpx libraries and follow the instructions here (link:https://learn.adafruit.com/adafruit-clue/circuitpython).
215
+
230
216
1. Plug in your device (make sure it’s formatted properly already).
231
217
2. Run the command `"Device Simulator Express: Deploy to Device"`.
232
218
@@ -305,7 +291,7 @@ A `ThirdPartyNotices.txt` file is provided in the extension's source code listin
305
291
- If you try to deploy to the CPX while it's plugged in but you still get an error saying it cannot find the board, make sure your device is formatted correctly and that its name matches `CIRCUITPY`.
306
292
- If you can't get the Simulator communication working while debugging, try to open your `Settings` and check the port used under `"Device Simulator Express: Debugger Server Port"`. You can either change it (usually ports above 5000 should work) or try to free it, then start debugging again.
307
293
- When you are using the serial monitor, if you get some unusual error messages, unplug the device and reload the VS Code windows.
308
-
- If you're using Ubuntu and having some problems with setting up the environment, try reviewing [this article's](https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-local-programming-environment-on-ubuntu-16-04)"Step 1" section on how to set up Python 3 on Ubuntu 16.04. Then, ensure that you've run `sudo apt-get install -y python3-venv` to allow for virtual environment creation.
294
+
- If you're using Ubuntu and having some problems with setting up the environment, try reviewing [this article's](https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-local-programming-environment-on-ubuntu-16-04) "Step 1" section on how to set up Python 3 on Ubuntu 16.04. Then, ensure that you've run `sudo apt-get install -y python3-venv` to allow for virtual environment creation.
0 commit comments