Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Blynk_Example_WIZwiki-W7500
Fork of Blynk by
Diff: Blynk/BlynkHandlers.h
- Revision:
- 10:c241e4227173
- Parent:
- 9:7369ec77a3ea
--- a/Blynk/BlynkHandlers.h Thu Jan 05 14:55:36 2017 +0200 +++ b/Blynk/BlynkHandlers.h Thu Jan 12 02:10:58 2017 +0200 @@ -180,8 +180,6 @@ #define BLYNK_CONNECTED() void BlynkOnConnected() #define BLYNK_DISCONNECTED() void BlynkOnDisconnected() -#define BLYNK_APP_CONNECTED() void BlynkOnAppConnected() - // Advanced functions #define BLYNK_VAR_INT(name, pin) \ @@ -233,8 +231,17 @@ BLYNK_CONNECTED(); BLYNK_DISCONNECTED(); -BLYNK_APP_CONNECTED(); +// Internal Virtual Pins +BLYNK_WRITE(InternalPinACON); +BLYNK_WRITE(InternalPinADIS); +BLYNK_WRITE(InternalPinRTC); +BLYNK_WRITE(InternalPinOTA); +// Aliases +#define BLYNK_APP_CONNECTED() BLYNK_WRITE(InternalPinACON) +#define BLYNK_APP_DISCONNECTED() BLYNK_WRITE(InternalPinADIS) + +// Regular Virtual Pins BLYNK_READ_DEFAULT(); BLYNK_WRITE_DEFAULT();