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