Giter Club home page Giter Club logo

chrono's People

Contributors

ddebree avatar njh avatar per1234 avatar sofian avatar thomasfredericks avatar willeccles avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chrono's Issues

missin stop_reset function

I would suggest to add a function like stop_reset

void Chrono::stop_reset() {
_offset = 0; // reset to zero
_isRunning = false;
}

Add Chrono ArduBadge Badge

Hi!
A nice addition to your readme page can be a this ardu-badge "badge" from www.ardu-badge.com.
arduino-library-badge

Code:
[![arduino-library-badge](http://www.ardu-badge.com/badge/Chrono.svg)](http://www.ardu-badge.com/Chrono)

It shows:

  1. That Chrono is in the "Library Manager" in the Arduino IDE
  2. The latest realease
  3. Clicking on it redirects to a page with explanation on how to install the library.

What do you think?

myTimer.elapsed()

Thank you for such an easy to use timing system.
The only issue I have seen so far is that the myTimer.elapsed() returns the results of all of only the first times that was created and seems to not be limited to just the instance of the intended timer

I have 4 timers running
Chrono t1(Chrono::SECONDS);
Chrono t2(Chrono::SECONDS);
Chrono t3(Chrono::SECONDS);
Chrono t4(Chrono::SECONDS);

each one is set for a different time however when I check the times in their respective loops I only get the elapsed time of the first timer unless i force a restart on that timer before it is started.

keywords.txt

Keywords are not highlighted in arduino IDE. I've noted, that spaces between "name" and "KEYWORD#" should be "TABs". After that it works ok.
keywords.txt

When I compile on Arduino it comes out this error

Arduino:1.6.6 Hourly Build 2015/06/17 11:12 (Mac OS X), Board:"Arduino Uno"

/Chrono-master/Chrono.cpp: In member function 'void Chrono::delay(long unsigned int)':
/Chrono-master/Chrono.cpp:89:22: error: 'passed' was not declared in this scope
while (!passed(time));
^
/Chrono-master/Chrono.cpp: In member function 'bool Chrono::hasPassed(long unsigned int, bool) const':
/Chrono-master/Chrono.cpp: 100 :15: error: passing 'const Chrono' as 'this' argument of 'void Chrono::restart(long unsigned int)' discards qualifiers [-fpermissive]
restart();
^

Chrono Timer(Chrono::SECONDS, false);

Setting the timer so it will not start does not seem to work. Is this the correct way to implement it?

I am using the latest version but getting this

exit status 1
no matching function for call to 'Chrono::Chrono(Chrono::Resolution, bool)'

myChrono.start()

Hi,

I am trying to use the chrono library to make an arduino longterm countdown. When I compile the code, it is saying 'class Chrono' has no member named 'start' . Is there an obvious mistake I am making here?

Thanks

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.