Closed tarek20501 closed 3 years ago
Thanks for the work you did here @jack5661
Just a couple of improvement came to mind when I was using your solution:
createCounters
function to Counter class as a static method to make main.cpp
cleanerCOUNTERS
in PinConfig
to determine the number of counters instead of another constant
6 counters are hard coded and declared on the stack in
main.cpp
. Please make the allocation of those counters dynamic. Also make sure your implementation is parametrized such that I can change the numbers of counters easily.Deadline: Jan 30th meeting