Skip to content

Commit b29873f

Browse files
Add example script
1 parent 769ed3e commit b29873f

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ dist: $(BUILD)
153153
mkdir -p $(LIBDIR)
154154
unzip $(PY_BUILD)/nxpy2.7.12/python.zip -d $(LIBDIR)
155155
cp $(OUTPUT).nro $(DIST_DIR)/$(TARGET).nro
156+
cp examples/hello.py $(DIST_DIR)/main.py
156157
cd $(BUILD) && zip -r $(TARGET)-$(APP_VERSION).zip $(TARGET)
157158

158159
#---------------------------------------------------------------------------------

examples/hello.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
print """
2+
_ _ _
3+
| | | | | |
4+
| | | | ___| | ___ ___ _ __ ___ ___
5+
| |/\\| |/ _ | |/ __/ _ \\| '_ ` _ \\ / _ \\
6+
\\ /\\ | __| | (_| (_) | | | | | | __/
7+
\\/ \\/ \\___|_|\\___\\___/|_| |_| |_|\\___|
8+
9+
_
10+
| |
11+
| |_ ___
12+
| __/ _ \\
13+
| || (_) |
14+
\\__\\___/
15+
16+
______ _
17+
| ___ \\ | |
18+
| |_/ _ _ _ __ __ _| |
19+
| __| | | | '_ \\\\ \\/ | |
20+
| | | |_| | | | |> <|_|
21+
\\_| \\__, |_| |_/_/\\_(_)
22+
__/ |
23+
|___/
24+
25+
Replace this file (main.py) with your own to get started. """

0 commit comments

Comments
 (0)