update json_data and model so more than one address can be revieved from server
This commit is contained in:
@@ -216,6 +216,7 @@ func (b *Bus) ParsePayload(c *gin.Context) error {
|
||||
}
|
||||
|
||||
func (b *Bus) SetDMXData(channel uint, value uint8) error {
|
||||
fmt.Println(100, channel, value)
|
||||
b.DMX.SetValue(channel, value)
|
||||
b.Send = true
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user