From 8c3efb592b16b672fc353368c04d88d3a32cf1a2 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 18 Jan 2012 18:02:10 +0000 Subject: updated previous demo to Arduino 1.0 --- arduinoSrc1_0/Platform.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 arduinoSrc1_0/Platform.h (limited to 'arduinoSrc1_0/Platform.h') diff --git a/arduinoSrc1_0/Platform.h b/arduinoSrc1_0/Platform.h new file mode 100644 index 0000000..8b8f742 --- /dev/null +++ b/arduinoSrc1_0/Platform.h @@ -0,0 +1,23 @@ + +#ifndef __PLATFORM_H__ +#define __PLATFORM_H__ + +#include +#include +#include +#include +#include + +typedef unsigned char u8; +typedef unsigned short u16; +typedef unsigned long u32; + +#include "Arduino.h" + +#if defined(USBCON) + #include "USBDesc.h" + #include "USBCore.h" + #include "USBAPI.h" +#endif /* if defined(USBCON) */ + +#endif -- cgit v1.2.3