Arduino: Ethernet UDP Receive Data Switch LED
Code #include #include #include const int ledPin = 4; // the pin that the LED is attached to // Enter a MAC address and IP address for your controller below. // The IP address will be dependent on your local network: byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; IPAddress ip(192, 168, 0, 3); unsigned int localPort = 8888; // local port to listen on //
| Penerbit | Taratsa |
|---|---|
| Tahun | 2016-01-04 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:67974493-0cd0-5eeb-90f3-1072a01e9e17 |