-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connections: Add generic MicroPython REPL runner.
This repurposes older USB related classes to create a download and run tool similar to the one we have for Pybricks hubs.
- Loading branch information
1 parent
05a798c
commit 460a07d
Showing
3 changed files
with
199 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
LOG_FILE_NAME = "test.txt" | ||
|
||
print("Hello") | ||
|
||
print("_file_begin_", LOG_FILE_NAME) | ||
|
||
for i in range(10): | ||
print(i) | ||
|
||
print("_file_end_") | ||
|
||
print("World!") |
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