Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (25 sloc) 0.619 kb
/*
RFIDDB.h - HackPittsburgh RFID System DB
Author: Marty McGuire <marty@hackpittsburgh.org>, Nov. 2009
Released under CC3.0-BY-SA - http://creativecommons.org/licenses/by-sa/3.0/
*/
#ifndef RFIDDB_h
#define RFIDDB_h
#include "WProgram.h"
// TODO: Include this directly
//#include <EEPROM.h>
#define TAG_LENGTH 10 // Length of a tag, in bytes
#define MAX_TAGS 50 // Maximum number of tags we can hold
class RFIDDB
{
public:
RFIDDB();
int getNumTags();
bool validTag(char* tag);
void printTags();
void readTags();
private:
int tagSize;
int numTags;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.