Open cmdrscotty opened 1 year ago
This can be closed. apparently there was an issue with the ATTiny Core that I was using, reinstalling it fixed the hardware looping i was getting.
But will keep this as it has the values that need to be added to FreqMeasureCapture.h to allow ATtinyx4 to use the library
Description
Attempting to add ATTiny 84/44/24 to the capture definition will allow it to compile, but the ATtiny will end up in a perpetual hardware loop
In the hardware spec sheet for the ATTINYx4 it lists on page 61 that ICP1 is attached to Timer/Counter1 on pin PA7 (arduino pin 6)
At this point, i'm unsure if this is a fault of how i'm defining the ATtiny definition in FreqMeasureCapture.h, a draw back of the ATtiny core, or the ATtiny itself just can't handle the FreqMeasure library.
Steps To Reproduce Problem
update FreqMeasureCapture.h with the following definition update:
Hardware & Software
ATtiny84 None Arduino IDE version: 1.8.16 and 2.0.3 Version info & package name (from Tools > Boards > Board Manager): ATtiny core 1.5.2 Windows 10 Pro 21H2 Any other software or hardware?
Arduino Sketch
Errors or Incorrect Output