Projekt simulacije parkirnih senzora
Dependencies: mbed Citanjeznaka SeeedShieldBot BluetoothSerial potenciometar
Diff: main.cpp
- Revision:
- 0:9a75004026e7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Nov 26 17:40:44 2020 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "Citanjeznaka.h" +#include "potenciometar.h" + +int main() +{ + int start2=0; + while(1) { + start2=Citanjeznaka(); + if (start2 == 1){ + potenciometar(); + Sudar(); + } + } +} \ No newline at end of file