Looking at the source code I see that F_CPU is 8MHz and other comments in the code seem to reflect a 8MHz master clock. However according to the datasheet the ATtiny2313 will actually run at a 8MHz Oscillater with a Div 8 master clock via the CKDIV8 fuse, leading to a 1MHz clock.
Since I see no CLK manipulation in the code I'm assuming that either the SpokePov is actually running at the 1MHz factory clock rate or you used the programmer to disable the CKDIV8 fuse as set from factory, which us users will have to reset after a chip erase. ???
Or I could be completely wrong... a testimony to random access to the datasheet.
Master Clock Rate
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
Please be positive and constructive with your questions and comments.