Lesson 8: Simon - Arrays

Size: px
Start display at page:

Download "Lesson 8: Simon - Arrays"

Transcription

1 Lesson 8: Simon - Arrays Introduction: As Arduino is written in a basic C programming language, it is very picky about punctuation, so the best way to learn more complex is to pick apart existing ones. In this session, you are going to hack the game Simon so you can re design the images. You will start by working on a stripped backed version, giving you the opportunity to write some to get it working and change its functionality. Once working, you can then pick it apart further and try to work out the logic. Goals Play Simon Look at the logic of some of the Re design the game interface images using arrays this Test your Project Save Save your project Page 1 - Lesson 8: Simon - Arrays

2 Step 1: Play the game 1. Open the game Simon then CodeClub > SimonSays 2. Play Simon Says Whats your top score? Write it here Step 2: Understanding the 1. Open the game Simon then CodeClub > Simon00 2. Find the inclusion of the gamer library This is included in every DIY Gamer sketch and should now look quite familiar /* * SIMON SAYS! (images) * A TWSU Gamer game by YOU! * This lesson is about arrays and images! */ #include <Gamer.h> // Include the Gamer library Page 2 - Lesson 7: Simon - Arrays

3 Step 2: Understanding the 3. Find the referencing of the gamer library This is where the gamer library is called upon to do its magic /* Create an object - a copy of the DIY Gamer library, which contains commands for controlling the display, buttons, and everything else on your console. */ Gamer gamer; 4. Find the referencing of the gamer library This happens once at the beginning. void setup() { gamer.begin(); // Fire up the Gamer! } Page 3 - Lesson 7: Simon - Arrays

4 Step 2: Understanding the 5. Find the void loop function This happens again and again as long as the gamer has power. void loop() { for(int i=0;i<4;i++) { gamer.clear(); //clear delay(100); //wait gamer.printimage(framessimon[i]); //print delay(300); //wait } //and so on! 6. Code comprehension Let s look at that bit of in detail, it is called a for loop. It is a neat way of compacting a lot of repetitive into a few lines. This will in effect display all 4 arrow images one after the other. Lets break it down line by line: for(int i=0;i<4;i++) { This line starts the for loop and creates a variable called i that will hold the frame number of the animation to display. It keeps adding 1 to the value of i, until it gets to 4. gamer.clear(); //clear This line clears the gamer screen. delay(100); //wait This line makes the gamer wait for 100 milliseconds. gamer.printimage(framessimon[i]); //print This line makes the gamer display the frame of the animation held by the variable i delay(300); //wait This line makes the gamer wait for 300 milliseconds. } //and so on! After the closed bracket, it then returns to the top of the for loop and checks the value of variable i again. Page 4 - Lesson 7: Simon - Arrays

5 Step 3: Re-design the arrows screens 1. Find the up, down, left and right arrays that are used in the game Remember these from the earlier sessions. You should be able to read the ones and zeros as on and off LEDs. This one is the image for the up button. { // up 2. Design your new screens for arrows on the paper game design worksheets Use the squares array templates to design your own personal version of the up, down, left and right buttons. They could be smaller, bigger, to the edge, full screen. The choice is yours. Page 5 - Lesson 7: Simon - Arrays

6 Step 3: Re-design the arrows screens 3. Open the arrays sketch then CodeClub > Arrays Change the up array to your design. { // up { // up Test your project 4. Test your This will just check that the first edited array for the up arrow is understood. 5. Not compiling? Check your array is still 8 by 8 and that you have not deleted anything other than the array ones and zeros. If you can t solve it, simply re-open the sketch and start again. Page 6 - Lesson 7: Simon - Arrays

7 Step 3: Re-design the arrows screens 6. Find the down array in the Change the down array to your design. { // down { // down B Test your project 7. Test your This will just check that the first edited array for the down arrow is understood. Page 7 - Lesson 7: Simon - Arrays

8 Step 3: Re-design the arrows screens 8. Find the left array in the Edit the ones and zeros to display the new design you have just created. { // left B , B , B , B , { // left B , B , B , B , B , B , Test your project 9. Test your This will just check that the first edited array for the left arrow is understood. Page 8 - Lesson 7: Simon - Arrays

9 Step 3: Re-design the arrows screens 10. Find the right array in the Edit the ones and zeros to display the new design you have just created. { // right B , B , B , B , { // right B , B , B , B , B , B , Test your project 11. Test your This will just check that the first edited array for the up right is understood. 12. Remember If things go really wrong, reopen the sketch and try again 13. Upload and Test to transfer the onto the Arduino in the DIY Gamer. Is it now displaying your versions of the arrows one after the other? 14. Save your sketch Go to File > Save as. Save your Sketch as SimonYourName Page 9 - Lesson 7: Simon - Arrays

10 Step 4: Design the Go, Right and Wrong screens 1. Find the arrays for; go, tick and cross This has the term byte at the beginning and a name. A byte is a the term for one single image or chunk of information. The name will be used to summon this particular array. // This is our GO! image byte go[8] = { B , B , B , B , B , B , B }; 2. Re-design the arrays for; go, tick and cross Edit just the same as you did for the arrow arrays. Page 10 - Lesson 7: Simon - Arrays

11 Step 4: Design the Go, Right and Wrong screens Test your project 3. Test your Happy with everything? 4. Upload and Test to transfer the onto the Arduino in the DIY Gamer. You should now have your DIY Gamer displaying all the images you have designed for your version of Simon Says. Next you need to get the buttons working. Save Save your project 5. Save your sketch Go to File > Save as. Save your Sketch as SimonYourName Well done! You have used your knowledge of arrays to start to design your own game assets. Challenge: Find the delays and alter them to change the speed of playback. Page 11 - Lesson 7: Simon - Arrays

12 Annotated sketch Your should now look like this... /* * SIMON SAYS! (images) * A TWSU Gamer game by YOU! * This lesson is about arrays and images! */ #include <Gamer.h> // Include the Gamer library /* Create an object - a copy of the DIY Gamer library, which contains commands for controlling the display, buttons, and everything else on your console. */ Gamer gamer; /* You should create your own arrays with your own images! */ // These are our arrow images byte framessimon[4][8] = { { // up }, { // down Page 12 - Lesson 7: Simon - Arrays

13 Your should now look like this... { // left B , B , B , B , }, { // right B , B , B , B , } }; // This is our GO! image byte go[8] = { B , B , B , B , B , B , B }; // This is our tick image byte right[8] = { B , B , B , B , B , B , B , B Page 13 - Lesson 7: Simon - Arrays

14 Your should now look like this... }; // This is our cross image byte wrong[8] = { B , B , B , B }; void setup() { gamer.begin(); // Fire up the Gamer! } void loop() { for(int i=0;i<4;i++) { gamer.clear(); //clear delay(100); //wait gamer.printimage(framessimon[i]); //print delay(300); //wait } //and so on! gamer.clear(); delay(100); gamer.printimage(go); delay(300); gamer.clear(); delay(100); gamer.printimage(right); delay(300); gamer.clear(); delay(100); gamer.printimage(wrong); delay(300); } Page 14 - Lesson 7: Simon - Arrays

Lesson 5: LDR Control

Lesson 5: LDR Control Lesson 5: LDR Control Introduction: Now you re familiar with the DIY Gamer and editing in an Arduino sketch. its time to write one from scratch. In this session you will write that talks to the Light Dependent

More information

Lesson 4: Animation. Goals

Lesson 4: Animation. Goals Introduction: In this session you are going to use custom built tools in Arduino to help you turn images or animation into code that automatically uploads to your DIY Gamer. It is a fun and easy way to

More information

2SKILL. Variables Lesson 6. Remembering numbers (and other stuff)...

2SKILL. Variables Lesson 6. Remembering numbers (and other stuff)... Remembering numbers (and other stuff)... Let s talk about one of the most important things in any programming language. It s called a variable. Don t let the name scare you. What it does is really simple.

More information

CTEC 1802 Embedded Programming Labs

CTEC 1802 Embedded Programming Labs CTEC 1802 Embedded Programming Labs This document is intended to get you started using the Arduino and our I/O board in the laboratory - and at home! Many of the lab sessions this year will involve 'embedded

More information

General Use. Searching for Assets (All users) Browsing for Assets (All users) Viewing and Downloading an Asset (All Users)

General Use. Searching for Assets (All users) Browsing for Assets (All users) Viewing and Downloading an Asset (All Users) User Guide Rev1.1 Table of Contents General Use... 2 Searching for Assets (All users)... 2 Browsing for Assets (All users)... 2 Viewing and Downloading an Asset (All Users)... 2 Downloading Large Files

More information

1 Getting started with Processing

1 Getting started with Processing cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For

More information

Introduction to Unreal Engine Blueprints for Beginners. By Chaven R Yenketswamy

Introduction to Unreal Engine Blueprints for Beginners. By Chaven R Yenketswamy Introduction to Unreal Engine Blueprints for Beginners By Chaven R Yenketswamy Introduction My first two tutorials covered creating and painting 3D objects for inclusion in your Unreal Project. In this

More information

CSC 101: Lab Manual#9 Machine Language and the CPU (largely based on the work of Prof. William Turkett) Lab due date: 5:00pm, day after lab session

CSC 101: Lab Manual#9 Machine Language and the CPU (largely based on the work of Prof. William Turkett) Lab due date: 5:00pm, day after lab session CSC 101: Lab Manual#9 Machine Language and the CPU (largely based on the work of Prof. William Turkett) Lab due date: 5:00pm, day after lab session Purpose: The purpose of this lab is to gain additional

More information

SET UP A MOODLE BOOK

SET UP A MOODLE BOOK SET UP A MOODLE BOOK Book is, essentially, a series of connected web pages and you can therefore build into your book anything which is possible in Page, except that you are not restricted to just one

More information

This chapter is intended to take you through the basic steps of using the Visual Basic

This chapter is intended to take you through the basic steps of using the Visual Basic CHAPTER 1 The Basics This chapter is intended to take you through the basic steps of using the Visual Basic Editor window and writing a simple piece of VBA code. It will show you how to use the Visual

More information

Connecting Arduino to Processing a

Connecting Arduino to Processing a Connecting Arduino to Processing a learn.sparkfun.com tutorial Available online at: http://sfe.io/t69 Contents Introduction From Arduino......to Processing From Processing......to Arduino Shaking Hands

More information

Shorthand for values: variables

Shorthand for values: variables Chapter 2 Shorthand for values: variables 2.1 Defining a variable You ve typed a lot of expressions into the computer involving pictures, but every time you need a different picture, you ve needed to find

More information

You re most likely eager to get started programming in C. I shan t waste

You re most likely eager to get started programming in C. I shan t waste Chapter 1 A Quick Start for the Impatient In This Chapter Getting the Code::Blocks IDE Setting up your first project Typing in code Building and running Quitting Code::Blocks You re most likely eager to

More information

Customizing FlipCharts Promethean Module 2 (ActivInspire)

Customizing FlipCharts Promethean Module 2 (ActivInspire) Customizing FlipCharts Promethean Module 2 (ActivInspire) Section 1: Browsers The browsers (located on the left side of the flipchart) are menus for various functions. To view the browsers, click Main

More information

JCM 352: Corporate Video Production. Final Cut Pro HD Overview: Beginning a Project

JCM 352: Corporate Video Production. Final Cut Pro HD Overview: Beginning a Project JCM 352: Corporate Video Production Final Cut Pro HD Overview: Beginning a Project Final Cut Pro HD from Apple Computers is a tremendously powerful nonlinear editing system. In addition, FCPHD has the

More information

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

University of Hull Department of Computer Science C4DI Interfacing with Arduinos Introduction Welcome to our Arduino hardware sessions. University of Hull Department of Computer Science C4DI Interfacing with Arduinos Vsn. 1.0 Rob Miles 2014 Please follow the instructions carefully.

More information

Some (semi-)advanced tips for LibreOffice

Some (semi-)advanced tips for LibreOffice Some (semi-)advanced tips for LibreOffice by Andy Pepperdine Introduction We cover several tips on special things in Writer and Calc and anything else that turns up. Although I use LibreOffice, these should

More information

Open your blogger dashboard and click the design tab and then click template designer

Open your blogger dashboard and click the design tab and then click template designer Open your blogger dashboard and click the design tab and then click template designer Now you're going to go down the list on the left hand and make changes to your blog to set up your template. First

More information

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Microbots Workbook

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Microbots Workbook Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl Microbots Workbook Challenge 3 Nations competing against one another on the Moon! Each racing PICAXE robots to sample lunar rocks and follow a given course.

More information

Lecture 7. Processing Development Environment (or PDE)

Lecture 7. Processing Development Environment (or PDE) Lecture 7 Processing Development Environment (or PDE) Processing Class Overview What is Processing? Installation and Intro. Serial Comm. from Arduino to Processing Drawing a dot & controlling position

More information

Lab 4: On Lists and Light Sabers

Lab 4: On Lists and Light Sabers Lab 4: On Lists and Light Sabers Due: March 19th at 11:59pm Overview The goal of this lab is to familiarize yourself with the usage of Lists and their implementations, Array List and Linked. To do so,

More information

Pointers. A pointer is simply a reference to a variable/object. Compilers automatically generate code to store/retrieve variables from memory

Pointers. A pointer is simply a reference to a variable/object. Compilers automatically generate code to store/retrieve variables from memory Pointers A pointer is simply a reference to a variable/object Compilers automatically generate code to store/retrieve variables from memory It is automatically generating internal pointers We don t have

More information

Coding Workshop. Learning to Program with an Arduino. Lecture Notes. Programming Introduction Values Assignment Arithmetic.

Coding Workshop. Learning to Program with an Arduino. Lecture Notes. Programming Introduction Values Assignment Arithmetic. Coding Workshop Learning to Program with an Arduino Lecture Notes Table of Contents Programming ntroduction Values Assignment Arithmetic Control Tests f Blocks For Blocks Functions Arduino Main Functions

More information

IT82: Multimedia Macromedia Director Practical 1

IT82: Multimedia Macromedia Director Practical 1 IT82: Multimedia Macromedia Director Practical 1 Over the course of these labs, you will be introduced Macromedia s Director multimedia authoring tool. This is the de facto standard for time-based multimedia

More information

Procedure: Determine the polarity of the LED. Use the following image to help:

Procedure: Determine the polarity of the LED. Use the following image to help: Section 2: Lab Activity Section 2.1 Getting started: LED Blink Purpose: To understand how to upload a program to the Arduino and to understand the function of each line of code in a simple program. This

More information

Variables, Arrays, and the setpositiontarget Function

Variables, Arrays, and the setpositiontarget Function Variables, Arrays, and the setpositiontarget Function Goals In this tutorial, you will use the ZR IDE (Integrated Development Environment) to: Create a new project Create a new variable Create an array

More information

Interactive Tourist Map

Interactive Tourist Map Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 1 Set up your project This lesson aims to teach you how to: Import images Set up the stage Place and size images Draw shapes Make

More information

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Physics 364 Arduino Lab 1 Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Vithayathil/Kroll Introduction Last revised: 2014-11-12 This lab introduces you to an electronic development

More information

WALT: definition and decomposition of complex problems in terms of functional and non-functional requirements

WALT: definition and decomposition of complex problems in terms of functional and non-functional requirements Item 5: It's Totally Random Monday, 5 October 08 :5 PM IT'S TOTALLY RANDOM EXPLORE WALT: definition and decomposition of complex problems in terms of functional and non-functional requirements WILF - Defined

More information

Getting Started with Processing by Casey Reas and Ben Fry

Getting Started with Processing by Casey Reas and Ben Fry Free Sampler Getting Started with Processing by Casey Reas and Ben Fry Copyright 2010 Casey Reas and Ben Fry. All rights reserved. Printed in the United States of America. Published by O Reilly Media,

More information

Using PowerPoint - 1

Using PowerPoint - 1 Using PowerPoint - 1 Introduction to the course. Before we start, we need to know what power point is. I m sure most of you know about ppt, but for those of you who may be new to this: [1a-c] When you

More information

Arduino IDE Friday, 26 October 2018

Arduino IDE Friday, 26 October 2018 Arduino IDE Friday, 26 October 2018 12:38 PM Looking Under The Hood Of The Arduino IDE FIND THE ARDUINO IDE DOWNLOAD First, jump on the internet with your favorite browser, and navigate to www.arduino.cc.

More information

CS12020 for CGVG. Practical 2. Jim Finnis

CS12020 for CGVG. Practical 2. Jim Finnis CS12020 for CGVG Practical 2 Jim Finnis (jcf1@aber.ac.uk) This week Solution to last week and discussion Global variables and the model The Main Loop pattern States and the State Machine pattern Random

More information

B - Broken Track Page 1 of 8

B - Broken Track Page 1 of 8 B - Broken Track There's a gap in the track! We need to make our robot even more intelligent so it won't get stuck, and can find the track again on its own. 2017 https://www.hamiltonbuhl.com/teacher-resources

More information

IGCSE ICT Section 16 Presentation Authoring

IGCSE ICT Section 16 Presentation Authoring IGCSE ICT Section 16 Presentation Authoring Mr Nicholls Cairo English School P a g e 1 Contents Importing text to create slides Page 4 Manually creating slides.. Page 5 Removing blank slides. Page 5 Changing

More information

Smoother Graphics Taking Control of Painting the Screen

Smoother Graphics Taking Control of Painting the Screen It is very likely that by now you ve tried something that made your game run rather slow. Perhaps you tried to use an image with a transparent background, or had a gazillion objects moving on the window

More information

Lab 1 Implementing a Simon Says Game

Lab 1 Implementing a Simon Says Game ECE2049 Embedded Computing in Engineering Design Lab 1 Implementing a Simon Says Game In the late 1970s and early 1980s, one of the first and most popular electronic games was Simon by Milton Bradley.

More information

Microsoft PowerPoint. Now you can easily create presentations using Microsoft PowerPoint.

Microsoft PowerPoint. Now you can easily create presentations using Microsoft PowerPoint. Microsoft PowerPoint Now you can easily create presentations using Microsoft PowerPoint. 1. Locate Microsoft Office. The easiest way to do this would be to perform a search through your programs. Move

More information

Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Java Basics Lecture 02

Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Java Basics Lecture 02 Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Java Basics Lecture 02 Hello, in this lecture we will learn about some fundamentals concepts of java.

More information

Static Methods. Why use methods?

Static Methods. Why use methods? Static Methods A method is just a collection of code. They are also called functions or procedures. It provides a way to break a larger program up into smaller, reusable chunks. This also has the benefit

More information

CS12020 (Computer Graphics, Vision and Games) Worksheet 1

CS12020 (Computer Graphics, Vision and Games) Worksheet 1 CS12020 (Computer Graphics, Vision and Games) Worksheet 1 Jim Finnis (jcf1@aber.ac.uk) 1 Getting to know your shield First, book out your shield. This might take a little time, so be patient. Make sure

More information

The Dynamic Typing Interlude

The Dynamic Typing Interlude CHAPTER 6 The Dynamic Typing Interlude In the prior chapter, we began exploring Python s core object types in depth with a look at Python numbers. We ll resume our object type tour in the next chapter,

More information

Java Programming. String Processing. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Java Programming. String Processing. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved. Java Programming String Processing 1 Copyright 2013, Oracle and/or its affiliates. All rights Overview This lesson covers the following topics: Read, search, and parse Strings Use StringBuilder to create

More information

Week - 04 Lecture - 01 Merge Sort. (Refer Slide Time: 00:02)

Week - 04 Lecture - 01 Merge Sort. (Refer Slide Time: 00:02) Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 04 Lecture - 01 Merge Sort (Refer

More information

Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module

Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module Rover Wifi Module 1 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the Sten-Bot kit against component

More information

Your First Windows Form

Your First Windows Form Your First Windows Form From now on, we re going to be creating Windows Forms Applications, rather than Console Applications. Windows Forms Applications make use of something called a Form. The Form is

More information

Lab #1: A Quick Introduction to the Eclipse IDE

Lab #1: A Quick Introduction to the Eclipse IDE Lab #1: A Quick Introduction to the Eclipse IDE Eclipse is an integrated development environment (IDE) for Java programming. Actually, it is capable of much more than just compiling Java programs but that

More information

Basics of Flash Animation

Basics of Flash Animation Basics of Flash Animation The Stage is where you do your main design work The timeline is where you animate your objects by setting keyframes The library is where you store all your assets things you use

More information

Lesson 1A - First Java Program HELLO WORLD With DEBUGGING examples. By John B. Owen All rights reserved 2011, revised 2015

Lesson 1A - First Java Program HELLO WORLD With DEBUGGING examples. By John B. Owen All rights reserved 2011, revised 2015 Lesson 1A - First Java Program HELLO WORLD With DEBUGGING examples By John B. Owen All rights reserved 2011, revised 2015 Table of Contents Objectives Hello World Lesson Sequence Compile Errors Lexical

More information

FPGA RGB Matrix. Created by lady ada. Last updated on :15:42 PM UTC

FPGA RGB Matrix. Created by lady ada. Last updated on :15:42 PM UTC FPGA RGB Matrix Created by lady ada Last updated on 2017-12-27 09:15:42 PM UTC Guide Contents Guide Contents Overview Controlling the Adafruit 32x16 RGB LED Matrix with a DE0-Nano FPGA Board Prerequisites

More information

These are the four symbols which we will use in the picture box to represent the sum instructions.

These are the four symbols which we will use in the picture box to represent the sum instructions. Create a Maths quiz game in Visual studio with C# Guess the symbol This you will need resource images for the symbols 4 labels 1 picture box called symbol num1 will show the first number num2 will show

More information

Top-Down Program Development

Top-Down Program Development Top-Down Program Development Top-down development is a way of thinking when you try to solve a programming problem It involves starting with the entire problem, and breaking it down into more manageable

More information

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL 1 Preface About RobotLinking RobotLinking is a technology company focused on 3D Printer, Raspberry Pi and Arduino open source community development.

More information

COPYRIGHTED MATERIAL. An Introduction to Computers That Will Actually Help You in Life. Chapter 1. Memory: Not Exactly 0s and 1s. Memory Organization

COPYRIGHTED MATERIAL. An Introduction to Computers That Will Actually Help You in Life. Chapter 1. Memory: Not Exactly 0s and 1s. Memory Organization Chapter 1 An Introduction to Computers That Will Actually Help You in Life Memory: Not Exactly 0s and 1s Memory Organization A Very Simple Computer COPYRIGHTED MATERIAL 2 Chapter 1 An Introduction to Computers

More information

Programming in ROBOTC ROBOTC Rules

Programming in ROBOTC ROBOTC Rules Programming in ROBOTC ROBOTC Rules In this lesson, you will learn the basic rules for writing ROBOTC programs. ROBOTC is a text-based programming language Commands to the robot are first written as text

More information

micro:bit Lesson 1. Using the Built-in Sensors

micro:bit Lesson 1. Using the Built-in Sensors micro:bit Lesson 1. Using the Built-in Sensors Created by Simon Monk Last updated on 2018-03-02 05:46:13 PM UTC Guide Contents Guide Contents Overview Magnetometer Magnet Detector High-strength 'rare earth'

More information

Teacher Cheat Sheet - Game Coding Challenges

Teacher Cheat Sheet - Game Coding Challenges Teacher Cheat Sheet - Game Coding Challenges Challenge #1 Movement: Make your sprite move across the screen. When it hits the walls, it must bounce off and keep moving. 1. The When Flag is clicked is your

More information

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process Lab 01 Arduino 程式設計實驗 Essential Arduino Programming and Digital Signal Process Arduino Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's

More information

ENGR 40M Project 3c: Coding the raindrop pattern

ENGR 40M Project 3c: Coding the raindrop pattern ENGR 40M Project 3c: Coding the raindrop pattern For due dates, see the overview handout The raindrop pattern works like this: Once per time period (say, 150 ms), (a) move the pattern one plane down: the

More information

Chapter 1. Data types. Data types. In this chapter you will: learn about data types. learn about tuples, lists and dictionaries

Chapter 1. Data types. Data types. In this chapter you will: learn about data types. learn about tuples, lists and dictionaries Chapter 1 Data types In this chapter you will: learn about data types learn about tuples, lists and dictionaries make a magic card trick app. Data types In Python Basics you were introduced to strings

More information

BEPI FOR PROGRAMMERS

BEPI FOR PROGRAMMERS BEPI FOR PROGRAMMERS General This manual is intended for those with some experience of programming. Less experienced programmers may prefer to refer to a longer document BEPI User Manual. As with any programming

More information

Memory and Pointers written by Cathy Saxton

Memory and Pointers written by Cathy Saxton Memory and Pointers written by Cathy Saxton Basic Memory Layout When a program is running, there are three main chunks of memory that it is using: A program code area where the program itself is loaded.

More information

Connecting Arduino to Processing

Connecting Arduino to Processing Connecting Arduino to Processing Introduction to Processing So, you ve blinked some LEDs with Arduino, and maybe you ve even drawn some pretty pictures with Processing - what s next? At this point you

More information

Sten-SLATE ESP Kit. Description and Programming

Sten-SLATE ESP Kit. Description and Programming Sten-SLATE ESP Kit Description and Programming Stensat Group LLC, Copyright 2016 Overview In this section, you will be introduced to the processor board electronics and the arduino software. At the end

More information

BrainyBetty.Com presents: Mail merge I: Use mail merge for mass mailings

BrainyBetty.Com presents: Mail merge I: Use mail merge for mass mailings BrainyBetty.Com presents: Mail merge I: Use mail merge for mass mailings Course contents Overview: Mailings en masse Lesson 1: How it works Lesson 2: Set up your recipient list Lesson 3: Perform a complete

More information

STUDENT LESSON A12 Iterations

STUDENT LESSON A12 Iterations STUDENT LESSON A12 Iterations Java Curriculum for AP Computer Science, Student Lesson A12 1 STUDENT LESSON A12 Iterations INTRODUCTION: Solving problems on a computer very often requires a repetition of

More information

Smart Builder Presented By Smruti Shah

Smart Builder Presented By Smruti Shah Smart Builder Presented By Smruti Shah 1 Table of Content Sr.No Topic Pg.No 1 Introduction 3 2 Pre-workshop Preparation 4 3 Classroom Design 6 4 Session Plan 7 5 Content Analysis 11 6 Appendices 32 6.1

More information

Flash CS6 First Edition

Flash CS6 First Edition Flash CS6 Flash CS6 First Edition LearnKey provides self-paced training courses and online learning solutions to education, government, business, and individuals world-wide. With dynamic video-based courseware

More information

SI Training for Online Sessions

SI Training for Online Sessions SI Training for Online Sessions WebEx Follow the instructions below to schedule, conduct, and record online SI sessions. Logging In 1. Open a web browser and go to https://tamucc.webex.com, click Log In

More information

7. Arrays, More Java Looping

7. Arrays, More Java Looping 7-1 7. Arrays, More Java Looping Review and Preview In the last class, we introduced the idea of looping repeating code blocks. In this class Java lesson, we look at another way to loop (the Java for loop)

More information

Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module

Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module Rover Wifi Module 1 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the Sten-Bot kit against component

More information

Session 4 Starting the Air Raid Game

Session 4 Starting the Air Raid Game Session 4 Starting the Air Raid Game Authored by Brian Cullen (bcullen@rossettschool.co.uk/@mrbcullen) (c) Copyright 2011 Computing At School. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike

More information

Starting from. An Introduction to Computing Science by Jeremy Scott LEARNER NOTES

Starting from. An Introduction to Computing Science by Jeremy Scott LEARNER NOTES Starting from An to Computing Science by Jeremy Scott LEARNER NOTES You have probably already used several computers today without realising it. If you have sent a text, been driven in a car, or checked

More information

Colliery Task (Word 2007) Module 3 Word Processing (Word 2007)

Colliery Task (Word 2007) Module 3 Word Processing (Word 2007) Colliery Task (Word 2007) Module 3 Word Processing (Word 2007) 1. Open the document called Word2.doc 2. Save the document called Word2.doc to your area 3. Once the document has opened, choose file save

More information

Control Tone with IR Remote

Control Tone with IR Remote Lesson 17 Lesson 17: Control Tone with IR Remote Control Tone with IR Remote The Big Idea: The ability to detect and decode Sony-protocol infrared messages, which was explored in Lesson 16, can be added

More information

A Step-by-Step Guide to getting started with Hot Potatoes

A Step-by-Step Guide to getting started with Hot Potatoes A Step-by-Step Guide to getting started with Hot Potatoes Hot Potatoes Software: http://web.uvic.ca/hrd/hotpot/ Andrew Balaam Objectives: To put together a short cycle of exercises linked together based

More information

F U Z E I N S TA L L K I T

F U Z E I N S TA L L K I T STORY NEWS EDU SHOP USD SIGN IN F U Z E I N S TA L L K I T Zubi Flyer Setup Instructions in 3 Steps 1. Download Arduino IDE, Install Required Libraries 2. Setup Zubi Flyer's Board 3. Code the games! To

More information

BehavePlus fire modeling system, version 2.0. Single Value for Each Input Variable

BehavePlus fire modeling system, version 2.0. Single Value for Each Input Variable BehavePlus fire modeling system, version 2.0 Operation Lesson 4 Calculation Self-Study In lessons 2 and 3 you learned how to set up a worksheet and to define input values. In this lesson you will do the

More information

CharityTracker Plus User Guide with. ADMIN Section

CharityTracker Plus User Guide with. ADMIN Section CharityTracker Plus User Guide with ADMIN Section Table of Contents File Uploads 01 Services 03 Requests / Referrals 06 Groups Outcomes 10 11 ADMIN Section Groups Outcomes 15 17 File Uploads Welcome to

More information

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 05 I/O statements Printf, Scanf Simple

More information

Keep Track of Your Passwords Easily

Keep Track of Your Passwords Easily Keep Track of Your Passwords Easily K 100 / 1 The Useful Free Program that Means You ll Never Forget a Password Again These days, everything you do seems to involve a username, a password or a reference

More information

INTRODUCTION TO THE MATLAB APPLICATION DESIGNER EXERCISES

INTRODUCTION TO THE MATLAB APPLICATION DESIGNER EXERCISES INTRODUCTION TO THE MATLAB APPLICATION DESIGNER EXERCISES Eric Peasley, Department of Engineering Science, University of Oxford version 4.6, 2018 MATLAB Application Exercises In these exercises you will

More information

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Note. The above image and many others are courtesy of   - this is a wonderful resource for designing circuits. Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how

More information

COMP 122/L Lecture 1. Kyle Dewey

COMP 122/L Lecture 1. Kyle Dewey COMP 122/L Lecture 1 Kyle Dewey About Me I research automated testing techniques and their intersection with CS education This is my first semester at CSUN Third time teaching this content About this Class

More information

Your total guide to setup your own click funnel website.

Your total guide to setup your own click funnel website. Your total guide to setup your own click funnel website. This ebook will give you full step by step instructions on creating a click funnel website. If you need help, anytime, email us at: contact@merchantsavenow.com

More information

September 30 October 2, 2015 Las Vegas, NV. Benefits of Visuals

September 30 October 2, 2015 Las Vegas, NV. Benefits of Visuals Simple Techniques to Make Your elearning More Visual Katie Stroud Benefits of Visuals Reasons for good design More engaging Easily used over web AND for self-paced Larger print good for mobile too Simple

More information

Spell Casting Motion Pack 5/5/2017

Spell Casting Motion Pack 5/5/2017 The Spell Casting Motion pack requires the following: Motion Controller v2.49 or higher Mixamo s free Pro Magic Pack (using Y Bot) Importing and running without these assets will generate errors! Overview

More information

Sten-SLATE ESP. WiFi

Sten-SLATE ESP. WiFi Sten-SLATE ESP WiFi Stensat Group LLC, Copyright 2016 1 References www.arduino.cc http://esp8266.github.io/arduino/versions/2.1.0/doc/reference.html 2 Introduction The wifi integrated in the processor

More information

Using Word to Create a Resume

Using Word to Create a Resume Using Word to Create a Resume Table of Contents Typing... 2 Typing Master - http://www.typingmaster.com/index.asp?go=itutor_start... 2 Using Word... 4 Screen Layout... 4 Formatting Text... 5 Selecting

More information

AN INTRODUCTION TO SCRATCH (2) PROGRAMMING

AN INTRODUCTION TO SCRATCH (2) PROGRAMMING AN INTRODUCTION TO SCRATCH (2) PROGRAMMING Document Version 2 (04/10/2014) INTRODUCTION SCRATCH is a visual programming environment and language. It was launched by the MIT Media Lab in 2007 in an effort

More information

SPRITES Moving Two At the Same Using Game State

SPRITES Moving Two At the Same Using Game State If you recall our collision detection lesson, you ll likely remember that you couldn t move both sprites at the same time unless you hit a movement key for each at exactly the same time. Why was that?

More information

Introduction to C: Pointers

Introduction to C: Pointers Introduction to C: Pointers Nils Moschüring PhD Student (LMU) Nils Moschüring PhD Student (LMU), Introduction to C: Pointers 1 1 Introduction 2 Pointers Basics Useful: Function

More information

Adobe Flash CS3 Reference Flash CS3 Application Window

Adobe Flash CS3 Reference Flash CS3 Application Window Adobe Flash CS3 Reference Flash CS3 Application Window When you load up Flash CS3 and choose to create a new Flash document, the application window should look something like the screenshot below. Layers

More information

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 23 Introduction to Arduino- II Hi. Now, we will continue

More information

Get JAVA. I will just tell you what I did (on January 10, 2017). I went to:

Get JAVA. I will just tell you what I did (on January 10, 2017). I went to: Get JAVA To compile programs you need the JDK (Java Development Kit). To RUN programs you need the JRE (Java Runtime Environment). This download will get BOTH of them, so that you will be able to both

More information

RedBoard Hookup Guide

RedBoard Hookup Guide Page 1 of 11 RedBoard Hookup Guide CONTRIBUTORS: JIMB0 Introduction The Redboard is an Arduino-compatible development platform that enables quick-and-easy project prototyping. It can interact with real-world

More information

Adafruit DS3231 Precision RTC Breakout

Adafruit DS3231 Precision RTC Breakout Adafruit DS3231 Precision RTC Breakout Created by lady ada Last updated on 2016-02-05 04:43:25 PM EST Guide Contents Guide Contents Overview Pinouts Power Pins: I2C Logic pins: Other Pins: Assembly Prepare

More information

The Simon State Machine Part 1

The Simon State Machine Part 1 The Simon State Machine Part 1 Lab Summary This lab is the first part to a two-part lab where you will be combining all the components you created throughout the semester into one functioning state machine.

More information

(Updated 29 Oct 2016)

(Updated 29 Oct 2016) (Updated 29 Oct 2016) 1 Class Maker 2016 Program Description Creating classes for the new school year is a time consuming task that teachers are asked to complete each year. Many schools offer their students

More information

This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step.

This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step. This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step. Table of Contents Just so you know: Things You Can t Do with Word... 1 Get Organized... 1 Create the

More information