Skip to content

1.0.1 megaTinyCore - timing fixes, DAC + Servo support

Compare
Choose a tag to compare
@SpenceKonde SpenceKonde released this 08 Jul 04:09

Version 1.0.1 of megaTinyCore brings a major bugfix for timekeeping - a bug in micros() caused micros() and delay() to make the millis timer miss counts. Documentation has been improved and expanded. This version also brings some exciting new features:

  • Servo library support (if you've installed the Servo library to your sketchbook, including using library manager, the IDE will use that version instead of the one included with this core - you can include Servo_megaTinyCore.h instead to work around that (Servo_megaTinyCore is a duplicate of our version of Servo under a different name)
  • DAC support - Using analogWrite() on the DAC pin will enable the DAC and output an analog voltage (only available on 1-series parts)
  • Improved PWM on pins controlled by TCD (10 and 11 on x16, 12 and 13 on x17) - When turning PWM on or off for one of those pins, it still produces a glitch on the other channel if it's outputting PWM, but the glitch is the shortest possible now.

This is the version for board manager installation.