SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!
Other
554 stars 144 forks source link

Mainly fix for #1080 (pulseIn), and accidentaly the Wire edit that is already in the DxCore; added fix for #1090 #1086

Closed MX682X closed 2 months ago

MX682X commented 5 months ago

There were some minor things missing, so I pulled the current code from DxCore and added that to the PR - I hope this isn't a big problem.

In the worst case, just copy Ardiono.h , wiring.c and wiring_pulse.c from the PR, this is where the fix for pulseIn() is