Skip to content

Commit a846f0c

Browse files
authored
Merge pull request #136 from paulober/develop
Patch v3.2.6
2 parents 0acc16e + 4a0eb88 commit a846f0c

File tree

7 files changed

+280
-253
lines changed

7 files changed

+280
-253
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup node
3030
uses: actions/setup-node@v3
3131
with:
32-
node-version: "16.17.x"
32+
node-version: "18.15.x"
3333
registry-url: "https://npm.pkg.github.com"
3434
scope: "@paulober"
3535
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: '16.17.x'
21+
node-version: '18.15.x'
2222
registry-url: "https://npm.pkg.github.com"
2323
scope: "@paulober"
2424
token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ All notable changes to the "MicroPico" extension will be documented in this file
99

1010
---
1111

12+
## [3.2.6] - 2023-10-01
13+
14+
# Added
15+
- Fix #134, Support stopping execution with VS Code command (#13 by @eplusx)
16+
17+
# Changed
18+
- Minimum VS Code version is now v1.82.0
19+
- Updated dependencies
20+
1221
## [3.2.5] - 2023-09-04
1322

1423
# Changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,19 @@ pin = Pin("LED", Pin.OUT)
6060

6161
print("LED starts flashing...")
6262
while True:
63-
pin.toggle()
64-
sleep(1) # sleep 1sec
63+
try:
64+
pin.toggle()
65+
sleep(1) # sleep 1sec
66+
except KeyboardInterrupt:
67+
break
68+
pin.off()
69+
print("Finished.")
6570
```
6671

72+
- To run your program, run `> MicroPico > Run current file on Pico` in your Python file's tab. You can also use the status bar button "Run " at the bottom of VS Code window.
73+
74+
- To stop the execution of the currently running program, run `> MicroPico > Stop execution`. The "Stop" button at the status bar does the same.
75+
6776
---
6877

6978
## Extension Settings

0 commit comments

Comments
 (0)