Basic i2c
This commit is contained in:
parent
e0be60de21
commit
428692fa3a
6 changed files with 124 additions and 5 deletions
|
|
@ -74,6 +74,10 @@ void DetectLEDStripControllers(std::vector<RGBController*> &rgb_controllers)
|
|||
{
|
||||
dev.protocol = LED_PROTOCOL_TPM2;
|
||||
}
|
||||
else if(protocol_string == "basic_i2c")
|
||||
{
|
||||
dev.protocol = LED_PROTOCOL_BASIC_I2C;
|
||||
}
|
||||
}
|
||||
|
||||
std::string value = dev.port + "," + std::to_string(dev.baud) + "," + std::to_string(dev.num_leds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue