To learn how to use the Touch sensor with a variety of output devices
Sensor: A device whose purpose is to detect events or changes in its environment and send the information to other electronics (EV3 brick)
Head over to 'https://makecode.mindstorms.com/'. This programming environment will be used over the coming weeks to improve your programming ability.
Create a program so that when the Touch Sensor 1 is pressed, it runs a motor at 75% power. When Touch Sensor 2 is pressed, it stops the motor.
Add blocks to the program so that when the motor is running, there are 'open eyes' on the screen. When the motor is not running, the eyes are closed.
Add a motor to the setup. Adapt the code so that when Touch Sensor 1 is pressed, both motors run at 75%, however they must run in opposite directions. When Touch Sensor 2 is pressed, the motors change direction.
Add loops and variables to your code, so when the motors are running, they are stopping and starting every 500ms.
Below is a hint to get you started.
Can you change the code so you only need 1 touch sensor?
Take a screencast of Task 4, demonstrate it working. Make sure you show your code and your device performing it's task.