MICRO BIT CSIM COMPUTER SCIENCE FOR INNOVATORS AND
MICRO: BIT CSIM COMPUTER SCIENCE FOR INNOVATORS AND MAKERS
Introduction � Website: https: //makecode. microbit. org/ Open in Firefox and bookmark � Coding Environment File menu Emulator Drawers Work space Save
Scavenger Hunt �Record your answers in your workbook �Hint: You can use the search bar above the drawers to help
Blink LED �Use the basic drawer to create a blinking LED light pattern Challenge: Include a Input block
Downloading to your micro: bit � Working with your partner connect the USB cord to the micro: bit and then the computer. Let the drivers install before moving on. � To download a program you will send the correct HEX file to the mirco: bit. In the stu_share_class templates folder find the correct program and right on it and send the micro: bit. The yellow light on the back will blink while downloading and go steady when it is finished. Partner 1: A 1_3_Innovator. hex Partner 2: A 1_3_Maker. hex In your notebook describe what each program does
LED Grid Practice �Plot Create the patter below using the X, Y coordinates �Unplot Modify your program using unplot Challenge: Press “A” for the 1 st pattern and “B” for the 2 nd
Find the Bug �Steps: 1. Test outcomes 2. Check your hardware 3. Review your comments 4. Code trace 5. Corner the bug 1. Find the anomaly Crush the bug 6. 1. 7. A ADD ENT M COM Rework the code Test outcomes again CE A R ET D O C
Termites Dragonflies Fire Ants Moths Yellow Jackets �Use the debugging steps to find the problem and fix it. to HEX files: Ch �Import one of following al de len bu ge g: : P H ick or o ne n t, e t M he an fo te llo s, w W in as g ps Buggy Code
The Blinking Message � Design and program an animated LED message using letters, symbols, and images, like an emoji. Your LED message to your friend can include scrolling words, but just like a handwritten note or a text message, you’ll also want to include some images. Requirements � � Part of the message scrolls Uses letters, numbers, or symbols Displays at least one image Displays at least one animation (a sequence of images to show movement) Challenge: Watch the Compass & Accelerometer video. Modify your code so that each part of the message displays with a different input
The Blinking Message
The Blinking Message
The Blinking Message
The Blinking Message
The Blinking Message
The Blinking Message
The Blinking Message
The Blinking Message
- Slides: 17