Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Level1.cpp
- Revision:
- 19:4789cb4ca550
- Parent:
- 18:ff0a53dcb862
- Child:
- 20:78bd235f8caa
diff -r ff0a53dcb862 -r 4789cb4ca550 Level1.cpp
--- a/Level1.cpp Mon Apr 01 21:51:08 2019 +0000
+++ b/Level1.cpp Mon Apr 01 23:55:24 2019 +0000
@@ -51,7 +51,8 @@
int Level1::spikes(N5110 &lcd)
{
- if(_level.spike1(25, 45, lcd)|| _level.spike1(58, 7, lcd) == 1) {
+ if(_level.spike1(25, 45, lcd)|| _level.spike1(58, 7, lcd) ||
+ _level.spike3(75, 7, lcd) == 1){
return 1;
} else {
return 0;