Update README

main
CalisJI 2024-08-22 09:03:20 +07:00
parent c73cd7ff5b
commit 702e7b7a08
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);
} }