Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Release Note March 10 #251

Merged
merged 4 commits into from Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 0 additions & 13 deletions README.md
@@ -1,24 +1,11 @@
# Device Simulator Express, a Microsoft Garage project

<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/Python-3.7%2B-blue.svg" alt="Python versions: 3.7+" /></a> <img src="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." /> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License: We are using the MIT License"></a> <a href="CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-Welcome-brightgreen.svg" alt="We are welcoming PRS!"></a> <img src="https://img.shields.io/badge/platform-win%20%7C%20osx-lightgrey.svg" alt="Platforms Supported: Windows, MacOSX"/>

<a href="https://microsoftgarage.visualstudio.com/002806e2-ebaa-4672-9d2e-5fe5d29154ef/_boards/board/t/227906bb-31ac-4b07-8626-3d757754a616/Microsoft.RequirementCategory/"><img src="https://microsoftgarage.visualstudio.com/002806e2-ebaa-4672-9d2e-5fe5d29154ef/227906bb-31ac-4b07-8626-3d757754a616/_apis/work/boardbadge/73f82653-3da1-4a6f-bb79-c91c9eecec28" alt="Azure DevOps Board Badge" /></a>

Make without limit! Device Simulator Express, a Microsoft Garage project, allows you to code microcontrollers without the hardware on hand! You can program your Circuit Playground Express (CPX) or your BBC micro:bit! Test and debug your code on the device simulator and see the same
result when you plug in your actual microcontroller. Curious about the output of the device, the serial
monitor allows you to observe the device output.

<img alt='CircuitPlayground Express' src=https://raw.githubusercontent.com/microsoft/vscode-python-devicesimulator/dev/assets/readmeFiles/cpx.jpg>

## Build Status

| Branch | Build Status |
| :------ | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| dev | [![Build Status](https://microsoftgarage.visualstudio.com/Intern%20GitHub/_apis/build/status/Adafruit/Pacifica-CI?branchName=dev)](https://microsoftgarage.visualstudio.com/Intern%20GitHub/_build/latest?definitionId=304&branchName=dev) |
| staging | [![Build Status](https://microsoftgarage.visualstudio.com/Intern%20GitHub/_apis/build/status/Adafruit/Pacifica-CI?branchName=staging)](https://microsoftgarage.visualstudio.com/Intern%20GitHub/_build/latest?definitionId=304&branchName=staging) |
| master | [![Build Status](https://microsoftgarage.visualstudio.com/Intern%20GitHub/_apis/build/status/Adafruit/Pacifica-CI?branchName=master)](https://microsoftgarage.visualstudio.com/Intern%20GitHub/_build/latest?definitionId=304&branchName=master) |


## Prerequisites

The following dependencies are required to install before launching Device Simulator Express.
Expand Down
95 changes: 28 additions & 67 deletions src/latest_release_note.ts
@@ -1,67 +1,28 @@
// TODO: find a better way of loading html into a string
export const LATEST_RELEASE_NOTE = `<h1>Device Simulator Express Release Notes 👩🏾‍💻 👨🏾‍💻 (Feb. 27, 2020)</h1>
<p>
Welcome to the first update to the Device Simulator Express! <u>Please feel free to enable our feature flag in
Settings
(under the setting titled “<b>deviceSimulatorExpress.previewMode</b>” in the User settings)</u>.
</p>
<h2>Changes</h2>
<p>
<h3>Fixes (enabled by default):</h3>
<ul>
<li>Enabled support for “from adafruit_circuitplayground import cp” as an import statement for the CPX and
changed
“New File” template to use this format.</li>
<ul>
<li>Aligns better with newer online tutorials. Best practice for adafruit_circuitplayground library imports
changed with <a href="https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/pull/79">this
PR
in Adafruit’s official repo</a>.</li>
</ul>
<li>State for sensor selection persists.</li>
<li>More reliable dependency installation and more informative setup fail information.</li>
<li>Fixes to Serial Monitor for CPX device deployment.</li>
<li>More robust debugger functionality.</li>
<li>Fixed spelling and clarity errors in documentation and pop-up messages.</li>
</ul>
<h3>New features (only available with feature flag enabled):</h3>
<ul>
<li><u>BBC micro:bit simulator and debugger – <i>open up a new micro:bit file, write code for the micro:bit and
test it out!</u></i>
<ul>
<li>Ability to interact with LEDs, buttons, and sensors.</li>
<li>Includes autocompletion and error flagging.</li>
<li>Supports the following:</li>
<ul>
<li>Classes:
<ul>
<li>display</li>
<li>image</li>
<li>accelerometer</li>
<li>button</li>
</ul>
</ul>
<ul>
<li>Global static functions:</li>
<ul>
<li>sleep()</li>
<li>running_time()</li>
<li>temperature()</li>
</ul>
</ul>
</ul>
<ul>
<li>Includes accessibility considerations for simulation.</li>
<ul>
<li>Has ability to use keyboard for button presses and navigation.</li>
</ul>
</ul>
</ul>
</p>
<h2>Upcoming Improvements</h2>
<ul>
<li>Deploying to device on the micro:bit with serial monitor interaction.</li>
</ul>
<br>
<p><b>Happy Hacking! ✨✨🐍🐍🍰</b><br>
&nbsp&nbsp&nbsp&nbsp&nbsp <b><i>- The Device Simulator Express Team</i></b></p>`;
// TODO: find a better way of loading html into a string
export const LATEST_RELEASE_NOTE = `<h1>Device Simulator Express Release Notes 🐍📝 (Mar. 10, 2020)</h1>
<p>
Thanks for using our extension! We're back with some small updates. <u>Again, please feel free to enable our feature
flag in
Settings
(under the setting titled “<b>deviceSimulatorExpress.previewMode</b>” in the User settings)</u>.
</p>
<h2>Changes</h2>
<p>
<h3>Fixes (enabled by default):</h3>
<ul>
<li>Playing sounds on the CPX simulation now works on MacOS!
<ul>
<li>Try it out by using <i>cp.play_file(PATH_TO_FILE)</i>.</li>
</ul>
</li>
<li>Previously, the play button on the simulations would sometimes require two clicks. This was fixed.</li>
<li>The editor can now support unicode characters (such as Japanese).</li>
</ul>
<h3>New features (only available with feature flag enabled):</h3>
<ul>
<li>BBC micro:bit deploy to device and accompanying serial monitor support.</li>
</ul>
</p>
<br>
<p><b>Keep being a programming pro 😎🔋,</b><br>
&nbsp&nbsp&nbsp&nbsp&nbsp <b><i>- The Device Simulator Express Team</i></b></p>`;