http://mbed.org/users/okini3939/notebook/art-net/
Dependents: ArtNode ArtNode DMXStation ArtNodeLED ... more
Revision 3:89aa639c946a, committed 2019-09-13
- Comitter:
- okini3939
- Date:
- Fri Sep 13 08:03:40 2019 +0000
- Parent:
- 2:0753f1ed1dec
- Commit message:
- bug fix;
Changed in this revision
DmxArtNet.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0753f1ed1dec -r 89aa639c946a DmxArtNet.cpp --- 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]);