Merge branch 'main' into tyler
This commit is contained in:
commit
71eb89fadf
|
|
@ -23,7 +23,7 @@ public class ArduinoLightingController {
|
||||||
Matcher m = colorPattern.matcher(colorValue);
|
Matcher m = colorPattern.matcher(colorValue);
|
||||||
return m.find();
|
return m.find();
|
||||||
}
|
}
|
||||||
private int executeColor(String colorValue, String command) {
|
public int executeColor(String colorValue, String command) {
|
||||||
if ( validateColor(colorValue) ) {
|
if ( validateColor(colorValue) ) {
|
||||||
return bus.writeString( colorValue + command );
|
return bus.writeString( colorValue + command );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue