/* Quiz-O-Tron 3000 By Roy Rabey Version 1.0 6-DEC-2010 */ // Arrays to define the Arduino pin sets assocaited with the big button boxe (arrays are zero relative). // // int outputPins[4] = {13,12,11,10}; // The numbers of the LED pins. int inputPins[4] = {5,4,3,2}; // The numbers of the switch pins. // Some variables to control processing int maxPins = 4; // Max number of pin sets (1 in and 1 out for each contestant button). unsigned long WinDelayTime = 5000; // Number of milliseconds to wait while the winner LEDs are on. void winner(int); // Function definition. // // Begin processing // void setup() { // The setup() function is performed once when the Arduino is powered up or reset. // Initialize the LED pins. // This tells the Arduino how the pins will be used. for(int i=0; i