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.
New command for starting a new project (#26)
PBI: 29090 Task: 29812, 29121 * Basic functionality of template file working * Update template file content * Small refactoring * Address PR concerns. * Update localization for commands
- Loading branch information
1 parent
377bc3e
commit 48daf24
Showing
4 changed files
with
44 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"pacificaExtension.commands.label": "Adafruit", | ||
"pacificaExtension.commands.openSimulator": "Open Simulator", | ||
"pacificaExtension.commands.runSimulator": "Run Simulator" | ||
"pacificaExtension.commands.runSimulator": "Run Simulator", | ||
"pacificaExtension.commands.newProject": "New Project" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
''' | ||
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.express import cpx | ||
|
||
while True: | ||
# start your code here | ||
pass |