Volodymyr Shymanskyy
Published © GPL3+

BBC micro:bit + Blynk Smartphone App + Arduino IDE

Don't let your BBC micro:bit collect dust! Here is how to use it with Blynk and Arduino IDE.

EasyProtip30 minutes828
BBC micro:bit + Blynk Smartphone App + Arduino IDE

Things used in this project

Hardware components

BBC micro:bit board
BBC micro:bit board
×1

Software apps and online services

Blynk
Blynk

Story

Read more

Code

Code snippet

Arduino
#define LED_ROW2 27
#define LED_COL3 10

BLYNK_WRITE(V0)
{
  pinMode(LED_ROW2, OUTPUT);
  pinMode(LED_COL3, OUTPUT);
  if (param.asInt() == 1)        /* When button widget is "ON" */
  {
    digitalWrite(LED_ROW2, 1);
    digitalWrite(LED_COL3, 0);
  }
  else
  {
    digitalWrite(LED_ROW2, 0);
    digitalWrite(LED_COL3, 0);
  }
}

Credits

Volodymyr Shymanskyy

Volodymyr Shymanskyy

2 projects • 30 followers
Co-founder of Blynk, Dreamer And Doer, Public Speaker

Comments

Add projectSign up / LoginAbout BBC micro:bit