From 1c7c3a5288478079347f9d72a966ccb58eed81d9 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sat, 26 Oct 2013 16:32:22 -0700 Subject: [PATCH] notes for phase0 aka traffic lights --- phase0/phase0.ino | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/phase0/phase0.ino b/phase0/phase0.ino index 523ca5f..feb0caa 100644 --- a/phase0/phase0.ino +++ b/phase0/phase0.ino @@ -12,6 +12,11 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ + +/* + * traffic lights + */ + int red0 = 12; int yellow0 = 11; int green0 = 10; @@ -48,7 +53,7 @@ void off(int pinToTurnOff) { } void onsOffs(int* pinsToTurnOn, int numberOfPinsToTurnOn, - int* pinsToTurnOff, int numberOfPinsToTurnOff){ + int* pinsToTurnOff, int numberOfPinsToTurnOff){ // generic index used for arrays of pins to turn on or off int index; // turn off pins in pinsToTurnOff -- 2.30.2