Merge pull request #6 from FairportRobotics/lighting

Oops, can now do individual LEDs
This commit is contained in:
Tyler Wilcox 2023-03-07 20:33:16 -05:00 committed by GitHub
commit a629a5b246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class ArduinoLightingController {
Matcher m = colorPattern.matcher(colorValue);
return m.find();
}
private int executeColor(String colorValue, String command) {
public int executeColor(String colorValue, String command) {
if ( validateColor(colorValue) ) {
return bus.writeString( colorValue + command );
}