aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Mikhirev2014-10-26 21:54:30 +0300
committerDmitry Mikhirev2014-10-26 21:54:30 +0300
commit80a11c5a7546502cb9cb3aabeaad27c138ce37e8 (patch)
treeff048f4e67c6dee51ca7e6da12d7c8a2f137a54a
parentbcf08a8c5498b1e80d748b6d4347251f5b2b1d2c (diff)
downloadbrainuino-80a11c5a7546502cb9cb3aabeaad27c138ce37e8.zip
brainuino-80a11c5a7546502cb9cb3aabeaad27c138ce37e8.tar.gz
brainuino-80a11c5a7546502cb9cb3aabeaad27c138ce37e8.tar.bz2
brainuino-80a11c5a7546502cb9cb3aabeaad27c138ce37e8.tar.xz
added functions' prototypes for compatibility with Arduino.mk
-rw-r--r--brainuino.ino16
1 files changed, 16 insertions, 0 deletions
diff --git a/brainuino.ino b/brainuino.ino
index 4f40e87..a192d83 100644
--- a/brainuino.ino
+++ b/brainuino.ino
@@ -23,6 +23,20 @@
#include "game.h"
#include "lcdprint.h"
+void ask(void);
+answer_t discuss(uint16_t);
+answer_t answer(uint8_t);
+void falseStart(uint8_t);
+void refresh(void);
+void printState(const char*);
+void printState(const __FlashStringHelper*);
+void printTime(void);
+void printPreciseTime(void);
+void readButton(void);
+void pinInit(void);
+void printGameType(void);
+void printPlayer(uint8_t);
+
LiquidCrystal lcd(LCD4, LCD6, LCD11, LCD12, LCD13, LCD14);
void setup()
@@ -388,6 +402,8 @@ void printPlayer(uint8_t num)
#endif
break;
+ default:
+ break;
}
buttonPressed = 0;
}