RM3100 SPI sample code

Dependencies:   mbed

Revision:
0:71d5c1c75f0b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.h	Sun Mar 10 01:45:12 2019 +0000
@@ -0,0 +1,22 @@
+
+/**
+* @file         main.h
+*
+* @brief        Sample interface for RM3100.
+*
+* @authors      Betty Zhang
+* @date         05/21/2018
+* @copyright    (C) 2018 PNI Corp, Protonex LLC
+*
+* @copyright    Disclosure to third parties or reproduction in any form
+*               whatsoever, without prior written consent, is strictly forbidden
+*
+*/
+
+#include "mbed.h"
+
+#define REVISION "1.0"
+
+extern SPI spi;
+extern DigitalOut cs; //ssel
+extern Serial comport;