Skip to content

jurgenbelien/Clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clock

Class for working with clock signals.

Example usage

#include <Clock.h>

#define PIN_CLOCK 15

Clock clock(PIN_CLOCK);

void setup() {
  Serial.begin(9600);
  clock.init();
}

void loop() {
  clock.update();

  if (clock.ticked()) {
    Serial.println("Rising edge of clock signal received");
  }
}

Example circuit

About

Class for working with clock signals.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages