I am getting an errror "'Tone' does not name a type" its like it can read all the libraries but the tone one. const byte ROWS = 4 //four rows const byte COLS = 4 //four columns char keys = #include #include #include //#include #include #define pound 14 Tone tone1 int Scount = 12 // count seconds int Mcount = 10 // count minutes int Hcount = 0 // count hours int DefuseTimer = 0 // set timer to 0 long secMillis = 0 // store last time for second add long interval = 1000 // interval for seconds char password // number of characters in our password int currentLength = 0 //defines which number we are currently writing int i = 0 char entered int ledPin = 4 //red led int ledPin2 = 3 //yellow led int ledPin3 = 2 //green led //LiquidCrystal lcd(7,8,10,11,12,13) // the pins we use on the LCD //and add a cable to pin 6 which is pin 1 on the keypad.
0 Comments
Leave a Reply. |