Project

General

Profile

Revision bbf2f5ad

IDbbf2f5ad4ee456d5e8d4b623b7b6685bca29641a
Parent 8c95bbef
Child 1a305335

Added by Thomas Mullins over 11 years ago

Added flushing before write to rfid reader

And other various fixes and changes, which I don't remember. Changed
rfid reading to read every tick, but only try writing if enough ticks
have passed.

View differences:

toolbox/time.c
7 7
#define OCR (F_CPU / PRESCALE / 1000UL)
8 8
#define ERROR (F_CPU / PRESCALE - OCR * 1000UL)
9 9

  
10
static char ready, ms;
10
static volatile char ready;
11
static char ms;
11 12
static uint16_t error;
12 13

  
13 14
ISR(TIMER0_COMPA_vect) {

Also available in: Unified diff