Published on 8 Feb 2013
School
Department
Course
Professor

1
RYERSON UNIVERSITY
DEPARTMENT OF COMPUTER SCIENCE
CPS310 – COMPUTER ORGANIZATION II
Winter 2013
Lab #2B
Introduction to Arduino
[2Marks]
SoftwareandinformationaboutArduinoUnocanbefoundat:www.arduino.cc
1. FamiliarizewithArduinosoftware.
2. ImplementcontrolofLEDlightsbywritingaprogramusingArduinosoftwarethat
executestheflowchartprovidedinFigure1.Yourprogramshouldcontrolatleast4
LEDswhereeachLEDcouldbesettoadifferent“Wait”timesuchitflashesatadifferent
rateascomparedtoremainingthreeLEDs.
Figure1:FlowchartforFlashingLEDs.
Demonstration:
Duringthelab:runtheprogramandprovideanswerstoTAs’questionsaboutyouralgorithm
andcode.
2
3
RYERSON UNIVERSITY
DEPARTMENT OF COMPUTER SCIENCE
CPS310 – COMPUTER ORGANIZATION II
Winter 2013
Lab #2B
Arithmetic manipulations, Loops, and Subroutines
First Name: __________________________ Last Name: _______________________
Student #: __________________________
Section #: ___________________________ Lab Room #: ______________________
Signature: __________________________ Date: ____________________________