Playing the app

Now, your Raspberry Pi is successfully connected with the Blynk cloud at https://www.blynk.cc/. The following steps show you how to use the app to control the LED attached to GPIO pin 18:

  1. Tap the Play button on the toolbar:
Tapping Play button on the toolbar
  1. This will switch you from edit mode to play mode, where you can interact with the hardware. The play button is replaced with a Stop button that allows you to go back to edit mode:
Application in play mode
  1. You can tap the chip icon (the icon like a microprocessor) to see the device status, whether it is online or offline. The following screenshot show that the Raspberry Pi is online:
Checking device status: Raspberry Pi is online
  1. If your Raspberry Pi is offline, the notification looks as shown in the following screenshot. There are several reasons it can go offline. Some of them are:
    • Lost internet connection on router
    • Lost Wi-Fi (or Ethernet) connection on Raspberry Pi
    • Lost power on Raspberry Pi
    • main.cpp is not executed
    • There is a bug in main.cpp
Indicating the device is offline
  1. Tap BUTTON to turn the LED on and off. The button will act as a switch and hold its state until you tap it again:
Button states for ON and OFF
  1. You can tap the stop button and get back to edit mode.
  2. While in play mode, you won't be able to drag or set up new widgets on the canvas.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.1.136