lab 3 fix

This commit is contained in:
Ondrej Hladuvka 2025-05-07 14:37:59 +03:00
parent 1b89bef1dd
commit 5a0ceba79a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}