Arming
Arming
• Arming is a safety switch and the propellers will only spin when
arm is set to 1
Task:
• Make a variable called Arm
• When pressing A+B, change the Arm between 0 and 1
• If Arm is 1 make it 0 and visa versa
• Use Show Number: Arm to verify
• When pressing A+B also reset throttle to 0
Disarmed
Armert
40
Bryteren setter Arm til 0 og 1 annenhver gang
PARTY
pitch,
arm
, roll, throttle, yaw
Tips!
Bruk
If Arm
(betyr “hvis arm ikke er 0”)
I praksis betyr dette “hvis dronen er armert”
Summary of Contents for Air:bit 2
Page 1: ...Air bit 2 makekit no The micro bit drone...
Page 4: ...4 If you experience trouble getting the air bit to fl y please see page 61...
Page 12: ...Tools 12 Small philips screwdriver Socket wrenches 5 5mm included...
Page 14: ...14 Assembly...
Page 27: ...27 Ready for coding...
Page 28: ...Coding...
Page 29: ...29 PARTY Five values to control the drone...
Page 31: ...Start coding makecode microbit org...
Page 36: ...Code blocks We will be using these blocks 36...
Page 37: ...37 More blocks...
Page 39: ...39 Solution...
Page 41: ...41 Solution...
Page 43: ...43 Solution...
Page 46: ...46 Solution...
Page 48: ...48 Throttle 25 goes in the inner block Solution Pixel Y 4 throttle 25...
Page 52: ...52 Two solutions With mapping With functions...
Page 60: ...60 How to fl y video https youtu be VMF9uehLfg8...
Page 63: ...63 Yaw Solution...