Skip to content

Commit f096d08

Browse files
authored
2025 update
1 parent 34aa218 commit f096d08

File tree

65 files changed

+391
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+391
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add your Python code here. E.g.
2+
from microbit import *
3+
import os
4+
5+
while True:
6+
with open('hello.txt', 'w') as newFile:
7+
if button_a.is_pressed():
8+
newFile.write("Arch")
9+
elif button_b.is_pressed():
10+
newFile.write("Linux")
11+
else:
12+
pass
13+
14+
with open('hello.txt') as file:
15+
output=file.readline()
16+
17+
display.scroll(output)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)