pixel plugin improvements, new ui

This commit is contained in:
2018-09-17 22:40:39 +02:00
parent ad8ba61986
commit ba7b1f3dde
9 changed files with 12539 additions and 46 deletions

View File

@@ -46,10 +46,11 @@ class PixelPlugin : public Plugin {
pixels->show();
}
void setColor(String msg){
pixels->ActivePattern = NONE;
pixels->Color1 = atoi(msg.c_str());
if(pixels->ActivePattern == NONE){
//if(pixels->ActivePattern == NONE){
pixels->ColorSet(pixels->Color1);
}
//}
}
void setColor2(String msg){
pixels->Color2 = atoi(msg.c_str());