blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.84k stars 1.39k forks source link

Add example sketch for "setProperty" feature #136

Closed doom369 closed 8 years ago

doom369 commented 8 years ago

@vshymanskyy apps and server ready.

vshymanskyy commented 8 years ago

Please provide list of properties

On 19 Jul 2016 12:28, "Dmitriy Dumanskiy" notifications@github.com wrote:

@vshymanskyy https://github.com/vshymanskyy apps and server ready.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/blynkkk/blynk-library/issues/136#issuecomment-233578831, or mute the thread https://github.com/notifications/unsubscribe-auth/ABb9lAKEO81_f8tfLwnS34iuwMc1bzi-ks5qXJilgaJpZM4JLfNa .

doom369 commented 8 years ago

For now

label and color should be enough.

I'll prepare right now predefined list of colors for color.

vshymanskyy commented 8 years ago

what are example values?

On 19 Jul 2016 12:44, "Dmitriy Dumanskiy" notifications@github.com wrote:

For now

label and color should be enough.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/blynkkk/blynk-library/issues/136#issuecomment-233582698, or mute the thread https://github.com/notifications/unsubscribe-auth/ABb9lC4pKdV6D9kZFrkVyvh8NPYoY7VDks5qXJxygaJpZM4JLfNa .

doom369 commented 8 years ago

@vshymanskyy here you go color for Blynk Theme :

white "#FFFFFF " -1 green "#23C48E " 600084223 dark blue "#5F7CD8 ” 1602017535 light blue "#04C0F8 " 79755519 orange "#ED9D00 " -308477697 red "#D3435C " -750560001

doom369 commented 8 years ago

In general any color could be used, but we need to provide some predefined.

doom369 commented 8 years ago

I think you can use few DEFINE for that fields. Like

Blynk.setProperty(V1, COLOR, RED);

vshymanskyy commented 8 years ago

I would prefer not to.

On 19 Jul 2016 16:39, "Dmitriy Dumanskiy" notifications@github.com wrote:

I think you can use few DEFINE for that fields. Like

Blynk.setProperty(V1, COLOR, RED);

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/blynkkk/blynk-library/issues/136#issuecomment-233635396, or mute the thread https://github.com/notifications/unsubscribe-auth/ABb9lK7lJWoY6hQOP8kV-MLL-rGJ9yOoks5qXNOLgaJpZM4JLfNa .