\r
/// appmain.c\r
void AppMain(void);\r
+void SamyRun(void);\r
void DbpIntegers(int a, int b, int c);\r
void DbpString(char *str);\r
-void SpinDelay(int ms);\r
-void SpinDelayUs(int us);\r
void ToSendStuffBit(int b);\r
void ToSendReset(void);\r
void ListenReaderField(int limit);
void SimTagIso15693(DWORD parameter); // simulate an ISO15693 tag - greg\r
\r
/// util.h\r
+#define LED_RED 1
+#define LED_ORANGE 2
+#define LED_GREEN 4
+#define LED_RED2 8
+#define BUTTON_HOLD 1
+#define BUTTON_NO_CLICK 0
+#define BUTTON_SINGLE_CLICK -1
+#define BUTTON_DOUBLE_CLICK -2
+#define BUTTON_ERROR -99
int strlen(char *str);\r
void *memcpy(void *dest, const void *src, int len);\r
void *memset(void *dest, int c, int len);\r
int memcmp(const void *av, const void *bv, int len);\r
+void SpinDelay(int ms);
+void SpinDelayUs(int us);\r
+void LED(int led, int ms);
+void LEDsoff();
+int BUTTON_CLICKED(int ms);
+int BUTTON_HELD(int ms);
\r
#endif\r