http://mbed.org/users/okini3939/notebook/art-net/

Dependents:   ArtNode ArtNode DMXStation ArtNodeLED ... more

Revision:
3:89aa639c946a
Parent:
2:0753f1ed1dec
--- a/DmxArtNet.cpp	Fri Sep 13 06:16:58 2019 +0000
+++ b/DmxArtNet.cpp	Fri Sep 13 08:03:40 2019 +0000
@@ -10,6 +10,17 @@
  * for mbed ported by Suga 2011, 2017
  */
 
+/*
+ * You can use GainSpan Wi-Fi module
+ *
+ * Include: GSwifiInterface
+ * Create file: EthernetInterface.h
+ *   -----
+ *   #include "GSwifiInterface.h"
+ *   #define eth gs
+ *   -----
+ */
+
 /** @file
  */
 
@@ -92,7 +103,9 @@
        SocketErrorOccured("Bind error");
        return -1;
    }
-//   _art.set_broadcasting(true);
+#ifndef GSWIFIINTERFACE_H_
+   _art.set_broadcasting(true);
+#endif
 
     int ip[4];
     sscanf(BindIpAddress, "%d.%d.%d.%d", &ip[0], &ip[1], &ip[2], &ip[3]);