// ********************************************************************
// * *
// * NAME : Shaan Sandhu *
// * Program Name: YA LED FADER v1.0.ino *
// * Date : 2023-03-27 *
// * Desc : Our program to play Mr. Jacy's game *
// * *
// ********************************************************************
const int button1 = 4;
const int button2 = 5;
const int button3 = 6;
// define our output led
// the number of the led pin
const int P1led = 9;
const int P2led = 10;
const int P3led = 11;
const int speaker = 8;
// define all interupts
const int continueInt = 2;
const int resetInt = 3;
// flag variables to control flow
;int whatPlayerPressed = 0
;int continueGame = 0 // 0 = not been pressed 1 = presseed
;int resetGame = 0 // 0 = not been pressed 1 = presseed
;int P1Stopped = 0 // 0 NOT stopped for playing 1= STOPPED
;int P2Stopped = 0 // 0 NOT stopped for playing 2= STOPPED
;int P3Stopped = 0; // 0 NOT stopped for playing 3= STOPPED
void setup() {
pinMode (P1led, OUTPUT);
//
//
//
//
//
}
;void loop() {
// put your main code here, to run repeatedly:
}
//*****************************************
// ALL OUR FUNTIONS WE CREATED BELOW *
//*****************************************
void fadup (int pinNumber);