Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore Airplane Programming Guide

Airplane Programming Guide

Published by chongwanleng_1991, 2015-06-24 08:34:04

Description: Airplane Programming Guide

Search

Read the Text Version

© ALL RIGHTS RESERVED

Exercise 1: Movements• Create a programme in the Scratch 1.4 software to allow the Airplane to start rotating its rotors at its maximum speed. Any unauthorized reprint or use of this material is prohibited.

Exercise 2: Tilt Sensor• Create a programme to make use of the tilt sensor.• The Airplane will start rotating its rotors when the tilt sensor is either tilted upwards (3) or downwards (1). Any unauthorized reprint or use of this material is prohibited.

Exercise 3: Changing Speed• Add in additional program blocks to define different speed at different tilted angle. – Set the motor speed to be 100 to represent taking off when the tilt sensor is tilted upwards (3). – Set the motor speed to be 50 to represent touching down when the tilt sensor is tilted downwards (1).


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook