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: Reket.h
- Revision:
- 0:a5f6ba8c378e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Reket.h Thu Jun 05 17:37:09 2014 +0000 @@ -0,0 +1,22 @@ +#ifndef REKET_H +#define REKET_H + +#include "mbed.h" +#include "N5110.h" + +class Reket { + int x1, x2, y1, y2; +public: + Reket(int x_1, int x_2, int y_1, int y_2) : x1(x_1), x2(x_2), y1(y_1), y2(y_2) {} + + int dajX1(); + int dajX2(); + int dajY1(); + int dajY2(); + + void crtajReket(N5110 &display); + void brisiReket(N5110 &display); + void osvjeziPoziciju(AnalogIn &p1); +}; + +#endif \ No newline at end of file