![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Automatic cocktail maker
Diff: main.cpp
- Revision:
- 2:2351d0558c70
- Parent:
- 1:aa2e8e59127c
--- a/main.cpp Thu Dec 03 04:28:49 2015 +0000 +++ b/main.cpp Thu Dec 03 04:58:36 2015 +0000 @@ -130,7 +130,7 @@ Thread t2(thread2); Thread t3(thread3); Thread t4(thread4); - Thread t5(thread5); + //Thread t5(thread5); t_enabled = false; char message; char msg[10]; @@ -141,6 +141,9 @@ spi.frequency(500000); enable=0; latch=0; + wait(10); + while(distSensor < 0.05) {} + pc.putc('l'); int i; while (1)