Skip to content

v1.10.0 - Animation Looping

Compare
Choose a tag to compare
@jasonacox jasonacox released this 16 Apr 21:05
· 9 commits to master since this release

What's Changed

  • Bug Fix: Changed abs() to long int supported labs() in showNumber() method by @KelevraSlevin7 in #33 which fixes overflow situation seen on some cores for showNumber()
  • Added option for non-blocking animation to allow looping sequence via Animate(true) and added method to stop animation with stopAnimation() for TM1637TinyDisplay and TM1637TinyDisplay6 classes.
  //! The event loop function to enable non-blocking animations
  //!
  //! The method returns TRUE when an animation is still occurring, it is
  //! FALSE when there is no animation occurring
  //!
  //! @return A boolean value indicating if an animation is occurring
  //! @param loop If true, keep looping animation when it ends
  bool Animate(bool loop = false);

  //! The function used to stop a non-blocking animation
  //!
  void stopAnimation();

New Contributors

Full Changelog: v1.9.0...v1.10.0