Mini leds widget

yes phone emoticons
you can use extended ASCII code as well.
but not so nice
:joy::joy:

Yes, the only way I could code it in my IDE was like this

String Led1 = "\xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91"; // all low
String Led2 = "\xF0\x9F\x8C\x95 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91";
String Led3 = "\xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91";
String Led4 = "\xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91";
String Led5 = "\xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91";
String Led6 = "\xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x91 \xF0\x9F\x8C\x91";
String Led7 = "\xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x91";
String Led8 = "\xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95 \xF0\x9F\x8C\x95";//all high

BLYNK_WRITE(V54) {
  switch (param.asInt())
  {
    case 1: { // Item 1
        Blynk.virtualWrite(V58, Led1);
        break;
      }
    case 2: { // Item 2
        Blynk.virtualWrite(V58, Led2);
        break;
      }
    case 3: { // Item 3
        Blynk.virtualWrite(V58, Led3);
        break;
      }
    case 4: { // Item 4
        Blynk.virtualWrite(V58, Led4);
        break;
      }
    case 5: { // Item 5
        Blynk.virtualWrite(V58, Led5);
        break;
      }
    case 6: { // Item 6
        Blynk.virtualWrite(V58, Led6);
        break;
      }
    case 7: { // Item 7
        Blynk.virtualWrite(V58, Led7);
        break;
      }
    case 8: { // Item 8
        Blynk.virtualWrite(V58, Led8);
        break;
      }
  }
}

But it works great!

2 Likes

it works well!

I totally should have caught on sooner… as I used similar emoticon control for animated displays

1 Like

PS, this is where I get my emoticon codes from…

1 Like

i use a similary website.

Interesting graphical coding approach!! Thanks for sharing :clap:

1 Like