DLCS

Digital Literacy & Computer Science

By

Agenda 3/22-3/26

Do Now #15 – Looking over the Circuit Playground board, focusing on potential input devices. Based on what you already know about this board, how do you think you might use it to get input?

Taking Input from the Board

(This lesson marks the transition from using the board solely as an output device to using it for both input and output. The onBoardEvent() block works much like onEvent(), with the most significant different being that the first parameter is a board object (a variable) while onEvent()takes a UI element ID (a string).)

——————–OBJECTIVE(S)—————————

CO: I CAN Attach an event handler to a hardware input

LO: I CAN Choose the appropriate event for a given scenario

———————-ASSIGNMENT—————————

CSD – Unit #6 L5 – Board Events (on Code.org)

Skip to toolbar