Mini leds widget

what do you think about my 8 mini leds witch takes only 2 places ?

Video_2018-03-03_173613

3 Likes

Funny. Sorry, but right now we are very overloaded with other tasks.

1 Like

I know , I know !
don’t worry, I just created this function called MiniLed()
I can light any of the 8 leds.
:wink:

1 Like

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 :

03-017776

5 Likes

wow, that is really cool trick…
one can use to make a nice progress bar indicator :slight_smile:

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:

[]
[][]
[][][]
[][][][]
[][][][][]
[][][][][][]
[][][][][][][]

1 Like

code tease :stuck_out_tongue_winking_eye:

What are they? I can copy/paste into my IDE, but the display widget clearly doesn’t understand what to do with them.

image

image

I am using Android 6.0
don’t know why such result for you Gunner
what do you see on your serial monitor ?

1 Like

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.

image

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

03-017778

it is an issue between copy and past

try to get full_moon and new_moon smiley

:new_moon::full_moon:

:wink::wink:

1 Like

Of course :blush: Phone emoticons!!!.. I should have guessed since I use them all the time in my testbench project.

1 Like