X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=phase0%2Fphase0.ino;h=feb0caac8f4cc186184f8b2081fbae289f180f9c;hb=45417e719505bd89c62203632a5f5e325cef78b8;hp=523ca5f5cec8e32dc0b1df41bc1ebb403a7aaf80;hpb=e092686dfff99c65158ced79b1d7a806f73c700b;p=challenge-bot 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