This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vandy Liu
committed
Feb 11, 2020
1 parent
8e1afe9
commit f621753
Showing
7 changed files
with
83 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
{ | ||
"deviceSimulatorExpressExtension.commands.changeBaudRate": "Change Baud Rate", | ||
"deviceSimulatorExpressExtension.commands.closeSerialMonitor": "Close Serial Monitor", | ||
"deviceSimulatorExpressExtension.commands.label": "Device Simulator Express", | ||
"deviceSimulatorExpressExtension.commands.openSerialMonitor": "Open Serial Monitor", | ||
"deviceSimulatorExpressExtension.commands.openSimulator": "Open Simulator", | ||
"deviceSimulatorExpressExtension.commands.runSimulator": "Run Simulator", | ||
"deviceSimulatorExpressExtension.commands.newFile": "New File", | ||
"deviceSimulatorExpressExtension.commands.runDevice": "Deploy to Device", | ||
"deviceSimulatorExpressExtension.commands.selectSerialPort": "Select Serial Port", | ||
"deviceSimulatorExpressExtension.configuration.title": "Device Simulator Express configuration", | ||
"deviceSimulatorExpressExtension.configuration.properties.open": "Whether to show 'Open Simulator' icon in editor title menu.", | ||
"deviceSimulatorExpressExtension.configuration.properties.device": "Whether to show 'Run Device' icon in editor title menu.", | ||
"deviceSimulatorExpressExtension.configuration.properties.simulator": "Whether to show 'Run Simulator' icon in editor title menu.", | ||
"deviceSimulatorExpressExtension.configuration.properties.debuggerPort": "The port the Server will listen on for communication with the debugger." | ||
} | ||
{ | ||
"deviceSimulatorExpressExtension.commands.changeBaudRate": "Change Baud Rate", | ||
"deviceSimulatorExpressExtension.commands.closeSerialMonitor": "Close Serial Monitor", | ||
"deviceSimulatorExpressExtension.commands.label": "Device Simulator Express", | ||
"deviceSimulatorExpressExtension.commands.openSerialMonitor": "Open Serial Monitor", | ||
"deviceSimulatorExpressExtension.commands.openSimulator": "Open Simulator", | ||
"deviceSimulatorExpressExtension.commands.runSimulator": "Run Simulator", | ||
"deviceSimulatorExpressExtension.commands.newFileCPX": "New Circuit Playground Express File", | ||
"deviceSimulatorExpressExtension.commands.newFileMicrobit": "New micro:bit File", | ||
"deviceSimulatorExpressExtension.commands.runDevice": "Deploy to Device", | ||
"deviceSimulatorExpressExtension.commands.selectSerialPort": "Select Serial Port", | ||
"deviceSimulatorExpressExtension.configuration.title": "Device Simulator Express configuration", | ||
"deviceSimulatorExpressExtension.configuration.properties.open": "Whether to show 'Open Simulator' icon in editor title menu.", | ||
"deviceSimulatorExpressExtension.configuration.properties.device": "Whether to show 'Run Device' icon in editor title menu.", | ||
"deviceSimulatorExpressExtension.configuration.properties.simulator": "Whether to show 'Run Simulator' icon in editor title menu.", | ||
"deviceSimulatorExpressExtension.configuration.properties.debuggerPort": "The port the Server will listen on for communication with the debugger." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
"""Save your file as "code.py" or "main.py" to run on the actual device. | ||
Getting started with CPX and CircuitPython intro on: | ||
https://learn.adafruit.com/circuitpython-made-easy-on-circuit-playground-express/circuit-playground-express-library | ||
Find example code for CPX on: | ||
https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/tree/master/examples | ||
""" | ||
|
||
# import CPX library | ||
from adafruit_circuitplayground import cp | ||
|
||
while True: | ||
# start your code here | ||
pass | ||
""" | ||
Save your file as "code.py" or "main.py" to run on the actual device. | ||
Getting started with CPX and CircuitPython intro on: | ||
https://learn.adafruit.com/circuitpython-made-easy-on-circuit-playground-express/circuit-playground-express-library | ||
Find example code for CPX on: | ||
https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/tree/master/examples | ||
""" | ||
|
||
# import CPX library | ||
from adafruit_circuitplayground import cp | ||
|
||
while True: | ||
# start your code here | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
""" | ||
Get started with micro:bit and MicroPython on: | ||
https://microbit-micropython.readthedocs.io/en/latest/. | ||
""" | ||
|
||
from microbit import * | ||
|
||
while True: | ||
display.scroll("Hello World!") |