Created
December 3, 2017 21:25
-
-
Save th0ma5w/bf890ad1f471a32ac750a02316dc5745 to your computer and use it in GitHub Desktop.
A protobuf for describing LED strip control messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto2"; | |
message led { | |
required uint32 led = 1; | |
required uint32 red = 2; | |
required uint32 green = 3; | |
required uint32 blue = 4; | |
required uint32 intensity = 5; | |
} | |
message xmas_lights { | |
repeated led leds = 1; | |
} | |
message xmas_lights_delay { | |
required uint32 delay = 1; | |
required xmas_lights scene = 2; | |
} | |
message xmas_lights_sequence { | |
repeated xmas_lights_delay sequences = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment