diff --git a/lab3/main.c b/lab3/main.c index 0afc4a6..6ba25a6 100644 --- a/lab3/main.c +++ b/lab3/main.c @@ -46,11 +46,11 @@ void SysTick_Handler(void) { // every 1ms ++tick_count; if (1 == (tick_count % 10)) { - //ReflectanceStart(); // every 10ms + ReflectanceStart(); // every 10ms } if (2 == (tick_count % 10)) { - uint8_t r = ReflectanceRead(1000); + uint8_t r = ReflectanceEnd(); DebugDump( BumpRead(), ReflectancePosition(r) ); return; }