Giter Club home page Giter Club logo

led-ring-clock's People

Contributors

commander1024 avatar jackw01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

led-ring-clock's Issues

Minute / hour blank periodically

I used your code and replaced the RTC functionality with NtpClientLib. This works now. But I use a 60 LED ring and have strange behaviour which shows up in the two following situations:

  1. The hour "hand" goes off from ~ xx:59:xx - xx:01:xx
  2. The minute hand goes off for one second once a minute. But the exact moment drifts - depending on the progress of the minute hand.

I managed to pin down 2. to maybe have something to do with "(float)minute(now()) + ((1.0 / 60.0) * " in float minutePosition(). When I remove the statement the minute hand won't fade anymore but it won't blank out either.
Disabling enhanced renderer also solves 2.

Both does not seem to happen on a 24 LED count, but still happens when defining 59.

My changes can be viewed here: https://github.com/Commander1024/led-ring-clock.git

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.