URS - LV11 - HMI - 2. zadatak
Dependencies: mbed
Diff: main.cpp
- Revision:
- 1:a397ad7e537b
- Parent:
- 0:57ec9c61562e
- Child:
- 2:d7142743ba21
--- a/main.cpp Fri Jan 21 10:48:16 2022 +0000 +++ b/main.cpp Sat Jan 22 21:09:42 2022 +0000 @@ -12,7 +12,6 @@ void prolaz(){ T = t.read(); t.reset(); - t.start(); flag = true; } @@ -25,6 +24,7 @@ } int main(){ + t.start(); optic.rise(&prolaz); sendData.attach(&data, 1.0); while(1) {