Do stuff periodically. More...
#include "clock.h"
#include <avr/pgmspace.h>
#include <stdint.h>
#include <avr/io.h>
#include "config.h"
#include "timer.h"
#include "arduino.h"
#include <util/atomic.h>
#include <avr/version.h>
Functions | |
void | clock_250ms () |
do stuff every 1/4 second | |
void | clock_10ms () |
do stuff every 10 milliseconds |
Do stuff periodically.
void clock_10ms | ( | void | ) |
do stuff every 10 milliseconds
call from ifclock(clock_flag_10ms) in busy loops
Referenced by main(), process_gcode_command(), and queue_wait().
void clock_250ms | ( | void | ) |
do stuff every 1/4 second
called from clock_10ms(), do not call directly
Referenced by clock_10ms().