Swimate V2 without RTOS code

Dependencies:   Adafruit_GFX_128x64 DS3231 PinDetect SDFileSystem USBDevice mbed RealtimeMath MODSERIAL

sync.h

Committer:
paulbartell
Date:
2014-05-28
Revision:
13:227a6cfd2097
Parent:
9:a711b5b34d73
Child:
18:06b718f8e6fd

File content as of revision 13:227a6cfd2097:

#ifndef _SYNC_H
#define _SYNC_H

bool sync_init();
void sync();

#define CMD_RTCSET 0x01
#define CMD_LISTSESSIONS 0x02
#define CMD_SYNCSESSION 0x03
#define CMD_DELETESESSION 0x04
#define CMD_DONE 0x05
#define ACK 0x06
#define NACK 0x07


#endif // _SYNC_H