diff --git a/main.cpp b/main.cpp index b873eb4..ae257ea 100644 --- a/main.cpp +++ b/main.cpp @@ -221,7 +221,7 @@ int main() pwmTc0.setDutyA(counter); pwmTc0.setDutyB(counter-64); pwmTc2.setDutyB(counter-128); - _usleep(20); + _delay_ms(20); } }