pdf-icon

Blynk(support M5Stack Fire only)

Connect with Blynk server, use BLE to connect with Blynk App to control M5Stack Fire from mobile phone (only support M5Stack Fire).

Init blynk name token type BLE Initialise the blynk configuration, enter the device name and the token for the app.

Virtual write number data Writing data to a virtual port number

Notify message Send system-level message notifications to the app

Tweet message Send message notifications to Twitter clients

On event write get number message Receive the data to be written to the specified virtual port from the App side, if not set to V*.

On event read get number Read the virtual port number specified on the App side

On event Callback function on wireless connection/disconnection

Instructions for use

Use Blynk to control the colour and brightness of M5StackFire's RGB light bar and display it on the screen in real time.

1.Download the mobile Blynk, register an account, you can choose to use the Blynk official server, or build your own server, here we provide a free server for you to test (120.24.58.30:9443).

  1. Use your email to register for a Blynk account, and use it to log in after successful registration.

  2. Create a new project, select ESP32 Dev Board, select BLE for access method, and record AUTH TOKEN.

  3. Follow the steps in the figure below to add components, of which BLE connection is a necessary component.

On This Page