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.
Diff: Detector.h
- Revision:
- 24:418711ed8c52
- Parent:
- 23:bb57966cb776
--- a/Detector.h Wed Jun 13 20:50:26 2018 +0000
+++ b/Detector.h Thu Jun 14 14:47:16 2018 +0000
@@ -1,7 +1,7 @@
#ifndef DETECTOR_H
#define DETECTOR_H
-#include "Detector.h"
#include <vector>
+#include "TextLCD.h"
using namespace std;
class Detector
@@ -10,13 +10,15 @@
Detector(bool setValue);
~Detector();
bool checkReservation(int number);
- void reserveDetector(vector<int> area);
+ void makeReservation(vector<int> area);
void clearReservation(vector<int> area);
+ void showReservation();
protected:
private:
vector<bool> detector;
+ TextLCD lcd; // lcd
};
#endif // DETECTOR_H
