Skip to content

coral/ddp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Display Protocol (DDP) in Go

This package allows you to write pixel data to a LED strip over DDP Currently implements sending but haven't gotten to implementing response parsing, works for most use cases though.

You can use this to stream pixel data to WLED or any other DDP capable reciever.

Simple Example

// Create a new DDP client
client := ddp.NewDDPController()

// Connect to DDP server over UDP
client.ConnectUDP("10.0.1.9:4048")

//Write one pixel
written, err := client.Write([]byte{128, 36, 12})
fmt.Println(written, err)

Contributing

m8 just open a PR with some gucchimucchi code and I'll review it.

KADSBUGGEL