Update README
parent
c73cd7ff5b
commit
702e7b7a08
|
@ -1,4 +1,4 @@
|
|||
# Project to controll LED Strip useing ESP32 via UPD protocol
|
||||
### Data frame :
|
||||
`List<uint16>` ex: `[0xF800, 0x07E0, 0x001F] hoặc [64896, 2016, 31]`
|
||||
### Data frame RGB565:
|
||||
`List<uint16>` ex: `[0xF800, 0x07E0, 0x001F, ...] hoặc [64896, 2016, 31, ...]`
|
||||
LED number = array size
|
|
@ -277,7 +277,7 @@ void loop() {
|
|||
if (packetSize) {
|
||||
int len = udp.read(incomingPacket, MAX_UDP_SIZE);
|
||||
|
||||
Serial.println(len);
|
||||
//Serial.println(len);
|
||||
if (len > 0) {
|
||||
receivePixels(incomingPacket, len);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue