First Version (beta test) raw ethernet

Dependencies:   EthernetNetIf mbed

Revision:
0:db9ea2448fdd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/variables.h	Mon Jul 09 22:31:28 2012 +0000
@@ -0,0 +1,29 @@
+/*
+*
+*
+*        Variables needed in the program
+*
+*
+*/
+#include "mbed.h"
+#include "EthernetNetIf.h"
+#include "defines.h"
+
+/*Statics and uninitialiazed*/
+
+Ethernet eth;  /*Starts ethernet interface for mbed*/
+static char eth_txs_buffer[ETH_BUFF_SIZE];
+
+
+/*Statics and initialiazed*/
+
+static const char broadcast[MAC_ADD_NUM] =
+{
+    0xff, 0xff, 0xff, 0xff, 0xff, 0xff
+};
+
+static char my_mac[MAC_ADD_NUM] =
+{
+    0x11, 0x11, 0x11, 0x11, 0x11, 0x11
+};
+