├── Assessments
├── Healthy Eating Test 1.docx
├── Healthy Eating Test 2.docx
├── Micro PET Test 1.docx
├── Micro PET Test 2.docx
├── Sound Sensors Crypo Test 1.docx
└── Sound Sensors Crypo Test 2.docx
├── Healthy Eating (1 to 6)
├── Micropython for microbit_L1_updated
│ ├── Baseline test answers.docx
│ ├── Baseline test.docx
│ ├── L1 Activity.docx
│ ├── L1.pptx
│ ├── L1_scroll_text.py
│ ├── Lesson_plan_1.docx
│ └── microbit-Python-Lesson-1-block-example.hex
├── Micropython for microbit_L2_updated
│ ├── L2 Activity.docx
│ ├── L2.pptx
│ ├── Lesson_plan_2.docx
│ ├── boat.py
│ └── dot.py
├── Micropython for microbit_L3_updated
│ ├── 1.py
│ ├── 2.py
│ ├── 3 interview start.py
│ ├── 4 interview example.py
│ ├── 5 lists and buttons.py
│ ├── L3 Activity.docx
│ ├── L3.pptx
│ ├── Lesson_plan_3.docx
│ ├── circuit.fzz
│ └── circuit.png
├── Micropython for microbit_L4_updated
│ ├── 1 shrinking square.py
│ ├── 2 loop example.py
│ ├── 3 two pins.py
│ ├── 5 Variable.py
│ ├── L4 Activity.docx
│ ├── L4.pptx
│ ├── Lesson_plan_4.docx
│ └── pinout.png
├── Micropython for microbit_L5_updated
│ ├── Design template.pub
│ ├── L5.pptx
│ ├── Lesson_plan_5.docx
│ ├── Project 1 Quiz Machine.docx
│ ├── Teacher Example.docx
│ └── Teacher example.py
└── Micropython for microbit_L6_updated
│ ├── L6.pptx
│ ├── Lesson_plan_6.docx
│ ├── Project 1 Quiz Machine.docx
│ └── Reflection Doc.docx
├── Licence.md
├── Micro PET (13 to 24)
├── Micropython for microbit_L13_updated
│ ├── L13 Activity.docx
│ ├── L13.pptx
│ ├── Lesson_plan_13.docx
│ └── button, write a or b.py
├── Micropython for microbit_L14_updated
│ ├── L14 Activity.docx
│ ├── L14.pptx
│ └── Lesson_plan_14.docx
├── Micropython for microbit_L15_updated
│ ├── L15 Activity.docx
│ ├── L15.pptx
│ ├── Lesson_plan_15.docx
│ ├── real_time.py
│ └── temp.py
├── Micropython for microbit_L16_updated
│ ├── L16 Activity.docx
│ ├── L16.pptx
│ ├── Lesson_plan_16.docx
│ ├── basic light program.py
│ ├── real time.py
│ └── response.py
├── Micropython for microbit_L17_updated
│ ├── L17 Activity.docx
│ ├── L17.pptx
│ ├── Lesson_plan_17.docx
│ └── torch.py
├── Micropython for microbit_L18_updated
│ ├── L18 Activity.docx
│ ├── L18.pptx
│ ├── Lesson_plan_18.docx
│ ├── receiver.py
│ └── sender.py
├── Micropython for microbit_L19_updated
│ ├── 1 send a message.py
│ ├── 2 receive a message.py
│ ├── 3 stretch.py
│ ├── L19 Activity.docx
│ ├── L19.pptx
│ └── Lesson_plan_19.docx
├── Micropython for microbit_L20_updated
│ ├── 1_zoo.py
│ ├── 2_microbit_piano.py
│ ├── L20 Activity.docx
│ ├── L20.pptx
│ └── Lesson_plan_20.docx
├── Micropython for microbit_L21_updated
│ ├── 1 turning right.py
│ ├── 2 iteration.py
│ ├── 3 left to right button a and b.py
│ ├── L21 Activity.docx
│ ├── L21.pptx
│ └── Lesson_plan_21.docx
├── Micropython for microbit_L22_updated
│ ├── 1 basic left to right.py
│ ├── 2 left to right button a and b.py
│ ├── 3 a quater turn.py
│ ├── L22 Activity.docx
│ ├── L22.pptx
│ └── Lesson_plan_22.docx
├── Micropython for microbit_L23_updated
│ ├── 1_hello_friend.py
│ ├── 2_give_me_space.py
│ ├── 3_I_am_hungry.py
│ ├── 4_feed_the_PET.py
│ ├── Design template.pub
│ ├── L23 Activity Sheet 1.docx
│ ├── L23 Activity Sheet 2.docx
│ ├── L23.pptx
│ └── Lesson_plan_23.docx
└── Micropython for microbit_L24_updated
│ ├── Example score card.docx
│ ├── L24 Activity Sheet 1.docx
│ ├── L24 Activity Sheet 2.docx
│ ├── L24.pptx
│ ├── Lesson_plan_24.docx
│ └── Reflection microPET.docx
├── README.md
├── Sound Sensors and Crypto Second (7 to 12)
├── Micropython for microbit_L10_updated
│ ├── 1 Starter.py
│ ├── 2 Fortune Teller starter.py
│ ├── L10 Activity.docx
│ ├── L10.pptx
│ └── Lesson_plan_10.docx
├── Micropython for microbit_L11_updated
│ ├── L11 Activity.docx
│ ├── L11.pptx
│ └── Lesson_plan_11.docx
├── Micropython for microbit_L12_updated
│ ├── 1 crash detector starter code.py
│ ├── L12 Activity.docx
│ ├── L12.pptx
│ └── Lesson_plan_12.docx
├── Micropython for microbit_L7_updated
│ ├── L7 Activity.docx
│ ├── L7.pptx
│ └── Lesson_plan_7.docx
├── Micropython for microbit_L8_updated
│ ├── 1 speaking.py
│ ├── L8 Activity.docx
│ ├── L8.pptx
│ └── Lesson_plan_8.docx
└── Micropython for microbit_L9_updated
│ ├── 1 crypto code.py
│ ├── 2 solution.py
│ ├── L9 Activity.docx
│ ├── L9.pptx
│ └── Lesson_plan_9.docx
├── micropython for microbit NC mapping.pdf
└── micropython for microbit Specification.pdf
/Assessments/Healthy Eating Test 1.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Assessments/Healthy Eating Test 1.docx
--------------------------------------------------------------------------------
/Assessments/Healthy Eating Test 2.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Assessments/Healthy Eating Test 2.docx
--------------------------------------------------------------------------------
/Assessments/Micro PET Test 1.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Assessments/Micro PET Test 1.docx
--------------------------------------------------------------------------------
/Assessments/Micro PET Test 2.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Assessments/Micro PET Test 2.docx
--------------------------------------------------------------------------------
/Assessments/Sound Sensors Crypo Test 1.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Assessments/Sound Sensors Crypo Test 1.docx
--------------------------------------------------------------------------------
/Assessments/Sound Sensors Crypo Test 2.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Assessments/Sound Sensors Crypo Test 2.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/Baseline test answers.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/Baseline test answers.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/Baseline test.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/Baseline test.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/L1 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/L1 Activity.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/L1.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/L1.pptx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/L1_scroll_text.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 |
5 | while True:
6 | display.scroll('Hello, World!')
7 |
8 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/Lesson_plan_1.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L1_updated/Lesson_plan_1.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/L2 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/L2 Activity.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/L2.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/L2.pptx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/Lesson_plan_2.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/Lesson_plan_2.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/boat.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | boat = Image("05050:"
5 | "05050:"
6 | "05050:"
7 | "99999:"
8 | "09990")
9 |
10 | display.show(boat)
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L2_updated/dot.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | from time import sleep
4 |
5 | dot1 = Image("00000:"
6 | "00000:"
7 | "00000:"
8 | "00000:"
9 | "50000")
10 |
11 | dot2 = Image("00000:"
12 | "00000:"
13 | "00000:"
14 | "00000:"
15 | "05000")
16 |
17 | dot3 = Image("00000:"
18 | "00000:"
19 | "00000:"
20 | "00000:"
21 | "00500")
22 |
23 | display.show(dot1)
24 | sleep(0.5)
25 | display.show(dot2)
26 | sleep(0.5)
27 | display.show(dot3)
28 | sleep(0.5)
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/1.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 |
3 | from microbit import *
4 |
5 | while True:
6 | if button_a.is_pressed():
7 | display.show(Image.HAPPY)
8 | else:
9 | display.show(Image.SAD)
10 |
11 | display.clear()
12 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/2.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if button_a.is_pressed():
6 | display.show(Image.HAPPY)
7 | elif button_b.is_pressed():
8 | display.show(Image.SAD)
9 | else:
10 | display.show(Image.ASLEEP)
11 |
12 | display.clear()
13 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/3 interview start.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if button_a.is_pressed():
6 | display.scroll("Yes")
7 | elif button_b.is_pressed():
8 | display.show(Image.SAD)
9 | else:
10 | display.show(Image.ASLEEP)
11 |
12 | display.clear()
13 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/4 interview example.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if button_a.is_pressed() and button_b.is_pressed():
6 | display.scroll("Yes")
7 | elif button_b.is_pressed():
8 | display.show(Image.SAD)
9 | elif button_a.is_pressed():
10 | display.show(Image.GHOST)
11 | else:
12 | display.show(Image.ASLEEP)
13 |
14 | display.clear()
15 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/5 lists and buttons.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | shopping_list = ("cheese", "beans", "apples")
5 | x = 0
6 |
7 | while True:
8 | if button_a.is_pressed():
9 | display.scroll(str(shopping_list[x]))
10 | if button_b.is_pressed():
11 | x = x + 1
12 | sleep(1000)
13 | else:
14 | display.clear()
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/L3 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/L3 Activity.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/L3.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/L3.pptx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/Lesson_plan_3.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/Lesson_plan_3.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/circuit.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/circuit.fzz
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/circuit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L3_updated/circuit.png
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/1 shrinking square.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if pin0.is_touched():
6 | display.show(Image.SQUARE_SMALL)
7 | else:
8 | display.show(Image.SQUARE)
9 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/2 loop example.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if pin0.is_touched():
6 | display.show(Image.SQUARE_SMALL)
7 | sleep(500)
8 | display.show(Image.SQUARE)
9 | sleep(500)
10 | else:
11 | display.show(Image.CHESSBOARD)
12 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/3 two pins.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if pin0.is_touched():
6 | display.show(Image.SQUARE_SMALL)
7 | sleep(500)
8 | display.show(Image.SQUARE)
9 | sleep(500)
10 | elif pin1.is_touched():
11 | display.scroll("SAFE")
12 | else:
13 | display.show(Image.CHESSBOARD)
14 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/5 Variable.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | total = 0
5 |
6 | while True:
7 | if button_a.is_pressed():
8 | total = total + 1
9 | sleep(100)
10 | display.scroll(total)
11 | elif button_b.is_pressed():
12 | total = total - 2
13 | sleep(100)
14 | display.show(total)
15 | elif button_a.is_pressed() and button_b.is_pressed():
16 | total = 0
17 | sleep(100)
18 | display.show(total)
19 | else:
20 | display.show(Image.SMILE)
21 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/L4 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/L4 Activity.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/L4.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/L4.pptx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/Lesson_plan_4.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/Lesson_plan_4.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/pinout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L4_updated/pinout.png
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Design template.pub:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Design template.pub
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/L5.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/L5.pptx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Lesson_plan_5.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Lesson_plan_5.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Project 1 Quiz Machine.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Project 1 Quiz Machine.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Teacher Example.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Teacher Example.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L5_updated/Teacher example.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | display.scroll("The Food Quiz")
5 | display.scroll("Get Ready")
6 | sleep(2000)
7 |
8 | #1
9 | display.scroll("Q1")
10 | display.scroll("Yes = A: No = B")
11 | display.scroll("Do you eat chocolate every day?")
12 |
13 | while True:
14 | if button_a.is_pressed():
15 | display.scroll("Too much")
16 | display.show(Image.SAD)
17 | sleep(2000)
18 | break
19 |
20 | elif button_b.is_pressed():
21 | display.scroll("Good")
22 | display.show(Image.SMILE)
23 | sleep(2000)
24 | break
25 |
26 | #2
27 | display.scroll("Q2")
28 | display.scroll("Yes = A: No = B")
29 | display.scroll("Do you sleep well?")
30 |
31 | while True:
32 | if button_a.is_pressed():
33 | display.scroll("That is important")
34 | display.show(Image.SMILE)
35 | sleep(2000)
36 | break
37 |
38 | elif button_b.is_pressed():
39 | display.scroll("Get some")
40 | display.show(Image.SAD)
41 | sleep(2000)
42 | break
43 |
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/L6.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/L6.pptx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/Lesson_plan_6.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/Lesson_plan_6.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/Project 1 Quiz Machine.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/Project 1 Quiz Machine.docx
--------------------------------------------------------------------------------
/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/Reflection Doc.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Healthy Eating (1 to 6)/Micropython for microbit_L6_updated/Reflection Doc.docx
--------------------------------------------------------------------------------
/Licence.md:
--------------------------------------------------------------------------------
1 | ## ARM EDUCATION
2 |
3 | ## END USER LICENSE AGREEMENT FOR TEACHING AND LEARNING CONTENT
4 |
5 | 1. These terms are displayed for you to read prior to use of the teaching and learning content and any related documentation and materials (“Materials”) made available to you by Arm Limited (“Arm”). If you choose not to agree with these terms, do not use or access the Materials.
6 |
7 | 2. THESE TERMS AND CONDITIONS CONSTITUTE A LEGALLY BINDING AGREEMENT BETWEEN YOU AND ARM (“AGREEMENT”). The Materials may include third party elements, and/or hardware distributed on behalf of a third party, which may be subject to separate terms of use. You acknowledge that any hardware provided to you is a third-party product and Arm is solely distributing such hardware on behalf of the third party. To the fullest extent permitted by law, Arm shall have no responsibility or liability in respect of any such hardware.
8 |
9 | 3. You acknowledge that the Materials are specifically designed and licensed only for non-commercial, educational purposes.
10 |
11 | 4. INTELLECTUAL PROPERTY. The Materials are protected by copyright laws, international copyright treaties, and trade secret laws, and other intellectual property laws and treaties around the world. The Materials are licensed, not sold, to you, and can only be used in accordance with the terms of this Agreement. Arm and its licensors retain title and ownership of the Materials (other than in respect of any third party elements), including all intellectual property rights in the Materials. Arm reserves all rights not specifically granted under this Agreement.
12 |
13 | 5. LICENCE. Subject to your compliance with this Agreement and unless otherwise specified in Clause 13, Arm hereby grants to you a limited, non-exclusive, non-transferable, royalty-free, licence under its copyright subsisting in the Materials to use, copy and modify the Materials (and if and only if you are a current member of an educational institution, make the Materials available to others within your educational institution) upon the terms of this Agreement, solely for non-commercial educational purposes. For the purposes of these terms, “educational purposes” means internal use in taught classes and related projects at educational institutions, including but not limited to schools, colleges and universities.
14 | Unless otherwise specified in Clause 13: (a) you may refer to and cite the Materials in publications provided that you give a full citation referencing Arm as the author and owner of the Materials; (b) you may not use the Materials for any commercial purpose, except as expressly approved by Arm in writing (contact education@arm.com to request permission); (c) you may not remove any proprietary notice(s) contained in the Materials; (d) you may not use the Materials to design or to manufacture Arm-based processors, or use the Materials for the purposes of adapting or developing resources or educational materials relating to non-Arm based architectures and platforms; and (e) you may not modify the Materials for use with non-Arm-based architectures. You may not use the Materials for any unlawful purpose, you may not (except as far as permitted by applicable law) reverse engineer or decompile any software tools delivered as part of the Materials, and you may not use the Materials in any way that may damage Arm’s reputation or bring Arm into disrepute. The licence granted by Arm pursuant to this Clause 5 is effective until terminated. Without prejudice to any other rights, Arm may terminate this Agreement and your right to use the Materials if you are in material breach of any of these terms or if you do anything that infringes Arm’s intellectual property rights. Termination will be effective immediately on the service of Arm’s notice of termination to you. In the event of termination, you shall destroy all copies of the Materials, including all portions and derivatives of them, and cease all use of the Materials immediately. Clauses impliedly or expressly intended to survive termination shall continue in full force and effect.
15 |
16 | 6. WARRANTIES AND LIMITATIONS. a. THE MATERIALS ARE PROVIDED “AS IS”. ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED OR STATUTORY, ARE HEREBY EXCLUDED, INCLUDING, WITHOUT LIMITATION, THOSE RELATING TO MERCHANTABILITY, SATISFACTORY QUALITY, FREEDOM FROM DEFECTS, RELIABILITY, AVAILABILITY, ACCURACY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE.
17 |
18 | b. IN NO EVENT SHALL ARM BE LIABLE UNDER THIS AGREEMENT OR OTHERWISE IN CONNECTION WITH THE MATERIALS FOR ANY INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES WHETHER SUCH DAMAGES ARE ALLEGED AS A RESULT OF TORTIOUS CONDUCT OR BREACH OF CONTRACT OR OTHERWISE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
19 |
20 | c. THE MAXIMUM LIABILITY OF ARM TO YOU IN AGGREGATE FOR ALL CLAIMS MADE AGAINST ARM IN CONTRACT, TORT OR OTHERWISE UNDER OR IN CONNECTION WITH THIS AGREEMENT, OR OTHERWISE IN CONNECTION WITH THE MATERIALS SHALL NOT EXCEED THE GREATER OF ONE HUNDRED U.S. DOLLARS ($100 USD) OR THE TOTAL OF SUMS PAID, IF ANY, BY YOU TO ARM UNDER THIS AGREEMENT.
21 |
22 | d. Nothing in this section shall operate to exclude or limit liability for: (i) death or personal injury resulting from either party's negligence; or (ii) fraud; or (iii) any other matters in respect of which by law liability cannot be excluded or limited.
23 |
24 | 7. EXPORT CONTROL. You hereby acknowledge and agree that the Materials are subject to U.S. export control laws, including the U.S. Export Administration Act and its associated regulations, and may be subject to export or import regulations in other countries. You agree to comply fully with all export laws and regulations of the United States and other countries (“Export Laws”) to assure that neither the Materials, nor any direct products of them are; ( i ) exported, directly or indirectly, in violation of Export Laws, either to any countries that are subject to U.S export restrictions or to any end user who has been prohibited from participating in the U.S. export transactions by any federal agency of the U.S. government; or (ii) intended to be used for any purpose prohibited by Export Laws, including, without limitation, nuclear, chemical, or biological weapons proliferation. The Materials consist solely of commercial items. If applicable, your institution shall be responsible for ensuring that any Materials provided to the US Government in accordance with the terms of this Agreement are provided with the rights and subject to restrictions described elsewhere in this Agreement.
25 |
26 | 8. CONTRIBUTIONS, FEEDBACK AND MODIFICATIONS. If you wish to submit any contributions or feedback (“Contributions”) to Arm you may do subject to you granting Arm the license in this Clause 8, You hereby grant to Arm a perpetual, irrevocable, non-exclusive, royalty-free, fully paid-up, worldwide licence under all your intellectual property rights subsisting in the Contributions to (i) use, copy, create derivative works of and modify the Contributions; (ii) sell supply, distribute the Contributions solely as incorporated into or in conjunction with the Materials; and (iii) and sublicense the rights granted in Clause 8(1) to third parties.
27 | To the extent that any claim in any patent application filed by you would not have been conceived by you but for having had access to the Materials, such claim shall be deemed to be feedback and is hereby licensed to Arm in accordance with the provisions of this Clause 8. You represent that you are legally entitled to grant the licence set out in this Clause 8. If your employer has rights to intellectual property that you submit to Arm, you represent that you have permission to make such submissions on behalf of your employer. You further represent that any contribution, suggestion, comment, or feedback you provide to Arm is your original creation. You represent and agree that you will not submit any third-party intellectual property or materials to Arm without Arm’s express prior written approval. You agree to notify Arm promptly of any circumstances or facts of which you become aware that would make any of these representations inaccurate in any respect. If you have any questions or wish to contact Arm in relation to the contribution process, please contact education@arm.com.
28 |
29 | 9. GOVERNING LAW. This Agreement and any disputes or claims arising out of or in connection with it or its subject matter or formation (including non-contractual disputes or claims) are governed by and construed in accordance with the laws of England and Wales.
30 |
31 | 10. PERSONAL DATA. Arm will process any personal data in accordance with its privacy policy: www.arm.com/company/policies/privacy.
32 |
33 | 11. UPDATES. Arm may update this Agreement from time to time. Where appropriate, updates to the Agreement will be notified to you by email. If you do not agree with an update, you should cease use of the Materials.
34 |
35 | 12. CONTACTING US. If you have any queries in relation to this Agreement or the Materials, please email education@arm.com.
36 |
37 | 13. SPECIAL CONDITIONS. The provisions of this Clause 13 shall take precedence in the event of any conflict with the remainder of this Agreement.
38 |
39 | 13.1. Arm Education Core: Use of the pedagogical processor model provided with the Introduction to Computer Architecture Education Kit (the "Arm Education Core") is subject to the following special conditions:
40 |
41 | (a) you may only refer to or publish the Arm Education Core, or any modifications you make to the Arm Education Core or any results you obtain from its use, in whole or in part if you have first obtained Arm's specific prior written consent by emailing us at the address specified in Clause 12 above;
42 |
43 | (b) you may use the Arm Education Core to synthesize and implement an SoC on FPGA or for an ASIC implementation of the SoC for non-commercial educational purposes (as defined in Clause 5 above);
44 |
45 | (c) you may not make any claims about the Arm Education Core's functionality or otherwise other than those published by Arm. The Arm Education Core is not representative of any commercially available Arm processors and you may not make any statements that indicate or imply the contrary.
46 |
47 | 13.2. Knowledge, Skills and Abilities Framework (the “KSA Framework”): Use of the KSA Framework is subject to the following special conditions:
48 |
49 | (a) You may use, copy and modify the KSA Framework for internal use only;
50 |
51 | (b) If you modify the KSA Framework, the modified version shall include attribution to Arm as the source of the original KSA Framework. Attribution shall be in the following format or a format which provides substantially similar information: “Arm Limited (2024). Knowledge, Skills, and Abilities Framework, version 1.0”;
52 |
53 | (c) You may not distribute or grant any sublicenses in respect of the KSA Framework, or any modified version of the KSA Framework modified by you under the license granted in Clause 13.2(a), except as expressly approved by Arm in writing (contact education@arm.com to request approval) and subject to the terms and conditions set out in such written approval from Arm; and
54 |
55 | (d) You shall not make any representations or warranties on behalf of Arm in respect of the KSA Framework, or in respect of modified versions of the KSA Framework created by You under the license granted in Clause 13.2(a). Furthermore, you will not represent or imply that Arm endorses any third-party products, materials or services, including without limitation any modified versions of the KSA Framework created by you under the terms of this Agreement, except as expressly permitted by Arm in writing separately.
56 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L13_updated/L13 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L13_updated/L13 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L13_updated/L13.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L13_updated/L13.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L13_updated/Lesson_plan_13.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L13_updated/Lesson_plan_13.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L13_updated/button, write a or b.py:
--------------------------------------------------------------------------------
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)
18 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L14_updated/L14 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L14_updated/L14 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L14_updated/L14.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L14_updated/L14.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L14_updated/Lesson_plan_14.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L14_updated/Lesson_plan_14.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L15_updated/L15 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L15_updated/L15 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L15_updated/L15.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L15_updated/L15.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L15_updated/Lesson_plan_15.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L15_updated/Lesson_plan_15.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L15_updated/real_time.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | temp = temperature()
6 | if temp > 26:
7 | display.scroll("Hot")
8 | elif temp > 6 < 15:
9 | display.scroll("Just right")
10 | else:
11 | display.scroll("Too cold")
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L15_updated/temp.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if accelerometer.was_gesture('shake'):
6 | display.scroll(temperature())
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L16_updated/L16 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L16_updated/L16 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L16_updated/L16.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L16_updated/L16.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L16_updated/Lesson_plan_16.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L16_updated/Lesson_plan_16.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L16_updated/basic light program.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | light = display.read_light_level()
5 | display.scroll(light)
6 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L16_updated/real time.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | from time import sleep
4 |
5 | while True:
6 | light = display.read_light_level()
7 | display.scroll(light)
8 | sleep(5)
9 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L16_updated/response.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | from time import sleep
4 |
5 | while True:
6 | light = display.read_light_level()
7 | if light > 20:
8 | display.show(Image.HAPPY)
9 | else:
10 | display.show(Image.SAD)
11 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L17_updated/L17 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L17_updated/L17 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L17_updated/L17.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L17_updated/L17.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L17_updated/Lesson_plan_17.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L17_updated/Lesson_plan_17.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L17_updated/torch.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | if button_a.is_pressed():
6 | pin0.write_digital(1)
7 | else:
8 | pin0.write_digital(0)
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L18_updated/L18 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L18_updated/L18 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L18_updated/L18.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L18_updated/L18.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L18_updated/Lesson_plan_18.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L18_updated/Lesson_plan_18.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L18_updated/receiver.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | # radio 2
3 | from microbit import *
4 | import radio
5 | radio.on()
6 |
7 | # any channel from 0 to 100 can be used for privacy.
8 | radio.config(channel=5)
9 |
10 | while True:
11 | msg = radio.receive()
12 | if msg != None:
13 | if msg == 'HAPPY':
14 | display.show(Image.HAPPY)
15 | sleep(200)
16 | display.clear()
17 | elif msg == 'SAD':
18 | display.show(Image.SAD)
19 | sleep(200)
20 | display.clear()
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L18_updated/sender.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | #radio 1
3 | from microbit import *
4 |
5 | import radio
6 | radio.on()
7 |
8 | # any channel from 0 to 100 can be used for privacy.
9 | radio.config(channel=5)
10 |
11 | while True:
12 | if button_a.was_pressed():
13 | radio.send('HAPPY')
14 | sleep(200)
15 | elif button_b.was_pressed():
16 | radio.send('SAD')
17 | sleep(200)
18 |
19 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L19_updated/1 send a message.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | #radio 1
3 | from microbit import *
4 | import radio
5 |
6 | radio.on()
7 |
8 | radio.config(channel=5)
9 |
10 | while True:
11 | if button_a.was_pressed():
12 | my_message = "A"
13 | radio.send(my_message)
14 | sleep(200)
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L19_updated/2 receive a message.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | #RADIO 2
3 | from microbit import *
4 | import radio
5 | radio.on()
6 |
7 | # any channel from 0 to 100 can be used for privacy.
8 | radio.config(channel=5)
9 |
10 | while True:
11 | #radio.send(my_message)
12 | incoming = radio.receive()
13 | if incoming is not None:
14 | display.show(incoming)
15 | print(incoming)
16 | sleep(500)
17 | display.clear()
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L19_updated/3 stretch.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | #radio 1
3 | from microbit import *
4 | import radio
5 |
6 | radio.on()
7 |
8 | radio.config(channel=5)
9 |
10 | while True:
11 | if button_a.was_pressed():
12 | my_message = "Y"
13 | radio.send(my_message)
14 | sleep(200)
15 | elif button_b.was_pressed():
16 | my_message = "N"
17 | radio.send(my_message)
18 | sleep(200)
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L19_updated/L19 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L19_updated/L19 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L19_updated/L19.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L19_updated/L19.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L19_updated/Lesson_plan_19.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L19_updated/Lesson_plan_19.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L20_updated/1_zoo.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import time
4 |
5 | while True:
6 | if pin0.is_touched():
7 | display.show(Image.DUCK)
8 | sleep(10)
9 | elif pin1.is_touched():
10 | display.show(Image.COW)
11 | sleep(10)
12 | elif pin2.is_touched():
13 | display.show(Image.BUTTERFLY)
14 | sleep(10)
15 | else:
16 | display.show(Image.SKULL)
17 | sleep(1)
18 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L20_updated/2_microbit_piano.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import time
4 | import music
5 |
6 | while True:
7 | if pin0.is_touched():
8 | tune = ["A2:4"]
9 | music.play(tune)
10 | sleep(4)
11 | elif pin1.is_touched():
12 | tune = ["B2:4"]
13 | music.play(tune)
14 | sleep(4)
15 | elif pin2.is_touched():
16 | tune = ["C2:4"]
17 | music.play(tune)
18 | sleep(4)
19 | else:
20 | display.show(Image.SKULL)
21 | sleep(1)
22 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L20_updated/L20 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L20_updated/L20 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L20_updated/L20.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L20_updated/L20.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L20_updated/Lesson_plan_20.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L20_updated/Lesson_plan_20.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L21_updated/1 turning right.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | # Servo control:
4 | # 100 = 1 millisecond pulse all right
5 | # 200 = 2 millisecond pulse all left
6 | # 150 = 1.5 millisecond pulse center
7 | # 10 is 10 milliseconds for period 1/100 Hz
8 | while True:
9 | pin1.set_analog_period(10)
10 | pin1.write_analog(100)
11 | sleep(1000)
12 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L21_updated/2 iteration.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import time
4 | # Servo control:
5 | # 100 = 1 millisecond pulse all right
6 | # 200 = 2 millisecond pulse all left
7 | # 150 = 1.5 millisecond pulse center
8 | # 10 is 10 milliseconds for period 1/100 Hz
9 | turns = 5
10 | while True:
11 | pin1.set_analog_period(50)
12 | if turns > 0:
13 | pin1.write_analog(100)
14 | sleep(2000)
15 | turns = turns - 1
16 | else:
17 | pin1.write_analog(0)
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L21_updated/3 left to right button a and b.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import time
4 | # Servo control:
5 | # 100 = 1 millisecond pulse all right
6 | # 200 = 2 millisecond pulse all left
7 | # 150 = 1.5 millisecond pulse center
8 | # 10 is 10 milliseconds for period 1/100 Hz
9 | pin1.set_analog_period(10)
10 |
11 | while True:
12 |
13 | if button_a.is_pressed():
14 | display.clear()
15 | pin1.write_analog(200)
16 | sleep(2000)
17 | pin1.write_analog(0)
18 | elif button_b.is_pressed():
19 | display.clear()
20 | pin1.write_analog(100)
21 | sleep(2000)
22 | pin1.write_analog(0)
23 | else:
24 | display.show(Image.ASLEEP)
25 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L21_updated/L21 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L21_updated/L21 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L21_updated/L21.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L21_updated/L21.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L21_updated/Lesson_plan_21.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L21_updated/Lesson_plan_21.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L22_updated/1 basic left to right.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | # Servo control:
4 | # 100 = 1 millisecond pulse all right
5 | # 200 = 2 millisecond pulse all left
6 | # 150 = 1.5 millisecond pulse center
7 | # 10 is 10 milliseconds for period 1/100 Hz
8 | while True:
9 | pin1.set_analog_period(10)
10 | pin1.write_analog(150)
11 | sleep(1000)
12 | pin1.write_analog(100)
13 | sleep(1000)
14 | pin1.write_analog(150)
15 | sleep(1000)
16 | pin1.write_analog(200)
17 | sleep(1000)
18 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L22_updated/2 left to right button a and b.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import time
4 | # Servo control:
5 | # 100 = 1 millisecond pulse all right
6 | # 200 = 2 millisecond pulse all left
7 | # 150 = 1.5 millisecond pulse center
8 | # 10 is 10 milliseconds for period 1/100 Hz
9 | pin1.set_analog_period(10)
10 |
11 | while True:
12 | if button_a.is_pressed():
13 | display.clear()
14 | pin1.write_analog(200)
15 | sleep(2000)
16 | pin1.write_analog(0)
17 | elif button_b.is_pressed():
18 | display.clear()
19 | pin1.write_analog(100)
20 | sleep(2000)
21 | pin1.write_analog(0)
22 | else:
23 | display.show(Image.ASLEEP)
24 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L22_updated/3 a quater turn.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import time
4 | # Servo control:
5 | # 100 = 1 millisecond pulse all right
6 | # 200 = 2 millisecond pulse all left
7 | # 150 = 1.5 millisecond pulse center
8 | # 10 is 10 milliseconds for period 1/100 Hz
9 | pin1.set_analog_period(10)
10 |
11 | while True:
12 | if button_a.is_pressed():
13 | display.clear()
14 | pin1.write_analog(200)
15 | sleep(250)
16 | pin1.write_analog(0)
17 | elif button_b.is_pressed():
18 | display.clear()
19 | pin1.write_analog(100)
20 | sleep(250)
21 | pin1.write_analog(0)
22 | else:
23 | display.show(Image.ASLEEP)
24 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L22_updated/L22 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L22_updated/L22 Activity.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L22_updated/L22.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L22_updated/L22.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L22_updated/Lesson_plan_22.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L22_updated/Lesson_plan_22.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/1_hello_friend.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import speech
4 | speech.say("Hello Friend", pitch=64, speed=72, mouth=128, throat=128)
5 |
6 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/2_give_me_space.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import speech
4 | import time
5 |
6 | while True:
7 | light = display.read_light_level()
8 | #display.scroll(light)
9 | sleep(5)
10 | if light > 50:
11 | display.show(Image.HAPPY)
12 | else:
13 | display.show(Image.SAD)
14 | speech.say("give me some space", pitch=64, speed=72, mouth=128, throat=128)
15 |
16 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/3_I_am_hungry.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import speech
4 | import time
5 | import random
6 |
7 | while True:
8 | feeding = random.randint(1, 50)
9 | display.scroll(feeding) #for testing
10 | sleep(1000)
11 | if feeding == 2:
12 | display.show(Image.SAD) #replace with your own image
13 | speech.say("I am hungry ", pitch=64, speed=67, mouth=128, throat=128)
14 | sleep(6000)
15 | elif feeding > 2:
16 | display.show(Image.HAPPY)
17 | sleep(1000)
18 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/4_feed_the_PET.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import speech
4 | import time
5 | import random
6 |
7 | while True:
8 | hungry = False
9 | feeding = random.randint(1, 4) #change after testing
10 | display.scroll(feeding) #for testing
11 | sleep(1000)
12 | if feeding == 2:
13 | hungry = True
14 | while hungry is True:
15 | display.show(Image.SAD) #replace with your own image
16 | speech.say("I am hungry ", pitch=64, speed=67, mouth=128, throat=128)
17 | sleep(1000)
18 | if button_a.is_pressed(): #keep pressing button a to feed the PET
19 | display.show(Image.HAPPY)
20 | speech.say("Thank you for my food ", pitch=64, speed=67, mouth=128, throat=128)
21 | sleep(1000)
22 | speech.say("You are my friend ", pitch=72, speed=67, mouth=135, throat=128)
23 | hungry = False
24 | elif feeding > 2:
25 | display.show(Image.HAPPY)
26 | sleep(1000)
27 |
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/Design template.pub:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L23_updated/Design template.pub
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/L23 Activity Sheet 1.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L23_updated/L23 Activity Sheet 1.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/L23 Activity Sheet 2.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L23_updated/L23 Activity Sheet 2.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/L23.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L23_updated/L23.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L23_updated/Lesson_plan_23.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L23_updated/Lesson_plan_23.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L24_updated/Example score card.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L24_updated/Example score card.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L24_updated/L24 Activity Sheet 1.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L24_updated/L24 Activity Sheet 1.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L24_updated/L24 Activity Sheet 2.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L24_updated/L24 Activity Sheet 2.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L24_updated/L24.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L24_updated/L24.pptx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L24_updated/Lesson_plan_24.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L24_updated/Lesson_plan_24.docx
--------------------------------------------------------------------------------
/Micro PET (13 to 24)/Micropython for microbit_L24_updated/Reflection microPET.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Micro PET (13 to 24)/Micropython for microbit_L24_updated/Reflection microPET.docx
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Programming with MicroPython
2 | Learn about all the programming techniques in the GCSE Computer Science curriculum using micro:python to program a micro:bit. Learners apply these techniques across several projects, mirroring real-world product development.
3 |
4 | ## [Download here](https://github.com/arm-university/MicroPython-for-microbit/archive/refs/heads/main.zip)
5 |
6 | ## Resource Aim
7 | This programming course covers the foundational computational techniques required for 14-16 Computer Science in the UK. It also introduces learners to the key STEM topics of iterative development, abstraction, decomposition and creative problem solving through project-based learning. Learners will be immersed in a series of projects which involve rapid team-based development of a solution to meet specified criteria.
8 |
9 | ## Resource Structure
10 | ## Programming with MicroPython
11 |
12 | ### Getting started and baselining (lessons 1-6)
13 | - Images, variables and functions
14 | - Event handling and buttons
15 | - Variables, selections and incrementing a stored value
16 | - Healthy eating quiz machine project (2 lessons)
17 |
18 | ### Sound Sensors and Crypto Second (lessons 7-12)
19 |
20 | - Setting up a speaker, module and music
21 | - Making the micro:bit speak
22 | - Random number and encryption
23 | - Gestures and movement
24 | - Directions and compass
25 | - Acceleration and the accelerometer
26 |
27 | ### micro:pet (lessons 13-24)
28 |
29 | - Storage and files
30 | - The machine module
31 | - The temperature sensor
32 | - Light level readings
33 | - LEDs and classes
34 | - Radio (2 lessons)
35 | - Using all the pins and touch responses
36 | - Servo motors (2 lessons)
37 | - Advanced micro:pet project (2 lessons)
38 |
39 | ## License
40 | You are free to fork or clone this material. See [Licence.md](https://github.com/arm-university/MicroPython-for-microbit/blob/main/Licence.md) for the complete license.
41 |
42 | ## Inclusive Language Commitment
43 | Arm is committed to making the language we use inclusive, meaningful, and respectful. Our goal is to remove and replace non-inclusive language from our vocabulary to reflect our values and represent our global ecosystem.
44 |
45 | Arm is working actively with our partners, standards bodies, and the wider ecosystem to adopt a consistent approach to the use of inclusive language and to eradicate and replace offensive terms. We recognise that this will take time. This course may contain references to non-inclusive language; it will be updated with newer terms as those terms are agreed and ratified with the wider community.
46 |
47 | Contact us at school@arm.com with questions or comments about this course. You can also report non-inclusive and offensive terminology usage in Arm content at terms@arm.com.
48 |
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/1 Starter.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | gesture = accelerometer.current_gesture()
6 | if gesture == "right":
7 | display.show(Image.ARROW_E)
8 | elif gesture == "left":
9 | display.show(Image.ARROW_W)
10 | else:
11 | display.show(Image.SKULL)
12 |
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/2 Fortune Teller starter.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 | import random
4 |
5 | answers = [
6 | "Yes",
7 | "No",
8 | "I cannot answer that yet"
9 | ]
10 |
11 | while True:
12 | display.show("?")
13 | if accelerometer.was_gesture("shake"):
14 | display.clear()
15 | sleep(1000)
16 | display.scroll(random.choice(answers))
17 |
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/L10 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/L10 Activity.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/L10.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/L10.pptx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/Lesson_plan_10.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L10_updated/Lesson_plan_10.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L11_updated/L11 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L11_updated/L11 Activity.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L11_updated/L11.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L11_updated/L11.pptx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L11_updated/Lesson_plan_11.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L11_updated/Lesson_plan_11.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L12_updated/1 crash detector starter code.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | while True:
5 | readingx = accelerometer.get_x()
6 | readingy = accelerometer.get_y()
7 |
8 | if readingx > 20:
9 | display.show("R")
10 | elif readingx < -20:
11 | display.show("L")
12 |
13 | elif readingy > 20:
14 | display.show("U")
15 | elif readingy < -20:
16 | display.show("D")
17 |
18 | else:
19 | display.show("-")
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L12_updated/L12 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L12_updated/L12 Activity.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L12_updated/L12.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L12_updated/L12.pptx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L12_updated/Lesson_plan_12.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L12_updated/Lesson_plan_12.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L7_updated/L7 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L7_updated/L7 Activity.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L7_updated/L7.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L7_updated/L7.pptx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L7_updated/Lesson_plan_7.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L7_updated/Lesson_plan_7.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L8_updated/1 speaking.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | import speech
5 |
6 | speech.say("How are you?", speed=110, pitch=200, throat=100, mouth=255)
7 |
8 |
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L8_updated/L8 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L8_updated/L8 Activity.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L8_updated/L8.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L8_updated/L8.pptx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L8_updated/Lesson_plan_8.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L8_updated/Lesson_plan_8.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/1 crypto code.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | import random
5 | while True:
6 | if button_a.is_pressed():
7 | display.show(str(random.randint(1, 6)))
8 | sleep(2000)
9 | else:
10 | display.show(Image.TSHIRT)
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/2 solution.py:
--------------------------------------------------------------------------------
1 | # Add your Python code here. E.g.
2 | from microbit import *
3 |
4 | import random
5 | while True:
6 | if button_a.is_pressed():
7 | display.show(str(random.randint(1, 26)))
8 | sleep(2000)
9 | else:
10 | display.show(Image.TSHIRT)
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/L9 Activity.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/L9 Activity.docx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/L9.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/L9.pptx
--------------------------------------------------------------------------------
/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/Lesson_plan_9.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/Sound Sensors and Crypto Second (7 to 12)/Micropython for microbit_L9_updated/Lesson_plan_9.docx
--------------------------------------------------------------------------------
/micropython for microbit NC mapping.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/micropython for microbit NC mapping.pdf
--------------------------------------------------------------------------------
/micropython for microbit Specification.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arm-university/MicroPython-for-microbit/e32292787408cebc0ba1f30c433f34785a246fae/micropython for microbit Specification.pdf
--------------------------------------------------------------------------------