Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed DMX TextLCD mbed-rtos
ArtNet.h
- Committer:
- Ayrton_L
- Date:
- 2016-03-08
- Revision:
- 15:b0efafcfbb03
- Child:
- 16:3cc108681a53
File content as of revision 15:b0efafcfbb03:
#ifndef ARTNET_H #define ARTNET_H #include "mbed.h" #include "EthernetInterface.h" #define ArtNetPoort 6454 static const char* mbedIp = "2.0.0.100"; //IP static const char* mbedMask = "255.0.0.0"; // Mask static const char* mbedGateway = "2.0.0.1"; //Gateway void V_ArtNet(); void V_ArtNet() { EthernetInterface eth; eth.init(mbedIp, mbedMask, mbedGateway); eth.connect(); UDPSocket ArtNetSocket; ArtNetSocket.bind(ArtNetPoort); Endpoint Client; } #endif