Charles Young's development fork. Going forward I only want to push mature code to main repository.
Fork of GEO_COUNTER_L432KC by
Diff: main.cpp
- Revision:
- 3:23b0185c7e7b
- Parent:
- 2:ac0ed3d84d44
- Child:
- 4:b17c6556cf1f
--- a/main.cpp Tue Aug 28 00:37:21 2018 +0000 +++ b/main.cpp Tue Aug 28 14:29:03 2018 -0700 @@ -126,7 +126,7 @@ // set the 1 sec ticker to periodically call the Update() routine // NOTE: this is also the 1-sec time base for counters. A better approach // would replace the ticker with an interrupt from the RTC (to be implemented) - Sec_Beat.attach(&Update, 1); + Sec_Beat.attach_us(&Update, 1000000); //RTC::attach(&Update, RTC::Second); //RTC::detach(RTC::Second);