diff --git a/bsl/csl/interfaces/timer.h b/bsl/csl/interfaces/timer.h index b37edba..7691ab7 100644 --- a/bsl/csl/interfaces/timer.h +++ b/bsl/csl/interfaces/timer.h @@ -11,7 +11,7 @@ * This the timer interface and belongs to the interface layer * * @todo 06.03.22 Following functions are to be implmented : timerSetHz / timerSetMs / timerSetNs / timerSetPs -* @todo 06.03.22 Create all the posssible timerInitxxxxxxx versions Ex. timerInitPWM(). +* @todo 27.03.22 Add Compare capture modules compare/capture/ register set value in function timerInitOutputCompare(); ************************************************************************************************** */ diff --git a/main.cpp b/main.cpp index 80a8821..d0fc803 100644 --- a/main.cpp +++ b/main.cpp @@ -22,7 +22,7 @@ void timer_test(timerNo_t timer, pinNo_t pin) void timer_capture_compare_test(timerNo_t timer) { - timerInitCounter(timer, 4000, 999, downCounting); + timerInitCounter(timer, 1000, 999, downCounting); // We use pin PA3 (Arduino header A2) timerInitOutputCompare(timer, toggle, 4, pinA3, 2,0); timerSart(timer);