what do you think about my 8 mini leds witch takes only 2 places ?
Funny. Sorry, but right now we are very overloaded with other tasks.
I know , I know !
donβt worry, I just created this function called MiniLed()
I can light any of the 8 leds.
but did you actually have this widget? noβ¦
yes, and no.
it is a just a function I created because I need small leds in my dashboard
Widget leds are too large.
I use label value and formatted strings.
i do not understand, how are you doing the graphical part?
like this :
wow, that is really cool trickβ¦
one can use to make a nice progress bar indicator
yes and many other things like big display
those full and empty circles are ascii code? i canβt find such character in ascii tableβ¦
ah ah, there are not ascii code, but you can too
this is my strings
String Led1 = "πππππππ"; // all low
String Led2 = "πππππππ";
String Led3 = "πππππππ";
String Led4 = "πππππππ";
String Led5 = "πππππππ";
String Led6 = "πππππππ";
String Led7 = "πππππππ";
String Led8 = "πππππππ";//all high
We use the following for remaining battery power and WiFi signal strength in one of our projects:
[]
[][]
[][][]
[][][][]
[][][][][]
[][][][][][]
[][][][][][][]
code tease
What are they? I can copy/paste into my IDE, but the display widget clearly doesnβt understand what to do with them.
I am using Android 6.0
donβt know why such result for you Gunner
what do you see on your serial monitor ?
Same thing⦠6 little ??????
But if I copy/paste from your post above into my display widget setup like you did, I can also display the βwhatevertheyareβ charactersβ¦ just not via the script.
void MiniLed() {
LedFlag++;
if (LedFlag == 9) {
LedFlag = 1;
}
Serial.println( LedFlag);
switch (LedFlag)
{
case 1: { // Item 1
Blynk.virtualWrite(V16, Led1);
break;
}
case 2: { // Item 2
Blynk.virtualWrite(V16, Led2);
break;
}
case 3: { // Item 3
Blynk.virtualWrite(V16, Led3);
break;
}
case 4: { // Item 4
Blynk.virtualWrite(V16, Led4);
break;
}
case 5: { // Item 5
Blynk.virtualWrite(V16, Led5);
break;
}
case 6: { // Item 6
Blynk.virtualWrite(V16, Led6);
break;
}
case 7: { // Item 7
Blynk.virtualWrite(V16, Led7);
break;
}
case 8: { // Item 8
Blynk.virtualWrite(V16, Led8);
break;
}
}
}
this my serial
it is an issue between copy and past
try to get full_moon and new_moon smiley
Of course Phone emoticons!!!.. I should have guessed since I use them all the time in my testbench project.