Basic i2c

This commit is contained in:
Adam Honse committed 2022-11-27 23:15:53 +00:00
1 parent e0be60de21
commit 428692fa3a
6 files changed
+124 -5

No files matched your search

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