1. Building on the C++ code from last week and the example code from this week, expand our in-class examples to output the following patterns using 8 LEDs. # means on, - means off.

Output

#-------
-#------
--#-----
---#----
----#---
-----#--
------#-
-------#

Output

-#######
#-######
##-#####
###-####
####-###
#####-##
######-#
#######-

Output

########
--------
########
--------
########
--------
########
--------

Output

#-#-#-#-
-#-#-#-#
#-#-#-#-
-#-#-#-#
#-#-#-#-
-#-#-#-#
#-#-#-#-
-#-#-#-#
#-#-#-#-
  1. Complete the following tutorials. The required components can be acquired in your kits (if you have one), purchased in the Media Center, or borrowed from the EK lab in the basement.