blynk & neopixelring & w7500
Fork of WIZwiki-7500_Blynk by
Blynk/BlynkConfig.h@13:ed6276c0afb7, 2017-04-09 (annotated)
- Committer:
- Volodymyr Shymanskyy
- Date:
- Sun Apr 09 14:50:30 2017 +0300
- Revision:
- 13:ed6276c0afb7
- Parent:
- 10:c241e4227173
- Child:
- 14:76d8fd871a4d
Update version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vshymanskyy | 0:58b20b438383 | 1 | /** |
vshymanskyy | 0:58b20b438383 | 2 | * @file BlynkConfig.h |
vshymanskyy | 0:58b20b438383 | 3 | * @author Volodymyr Shymanskyy |
vshymanskyy | 0:58b20b438383 | 4 | * @license This project is released under the MIT License (MIT) |
vshymanskyy | 0:58b20b438383 | 5 | * @copyright Copyright (c) 2015 Volodymyr Shymanskyy |
vshymanskyy | 0:58b20b438383 | 6 | * @date Jan 2015 |
vshymanskyy | 0:58b20b438383 | 7 | * @brief Configuration of different aspects of library |
vshymanskyy | 0:58b20b438383 | 8 | * |
vshymanskyy | 0:58b20b438383 | 9 | */ |
vshymanskyy | 0:58b20b438383 | 10 | |
vshymanskyy | 0:58b20b438383 | 11 | #ifndef BlynkConfig_h |
vshymanskyy | 0:58b20b438383 | 12 | #define BlynkConfig_h |
vshymanskyy | 0:58b20b438383 | 13 | |
Volodymyr Shymanskyy |
9:7369ec77a3ea | 14 | #include <Blynk/BlynkDetectDevice.h> |
vshymanskyy | 0:58b20b438383 | 15 | |
vshymanskyy | 0:58b20b438383 | 16 | /*************************************************** |
vshymanskyy | 0:58b20b438383 | 17 | * Change these settings to match your need |
vshymanskyy | 0:58b20b438383 | 18 | ***************************************************/ |
vshymanskyy | 0:58b20b438383 | 19 | |
vshymanskyy | 0:58b20b438383 | 20 | #define BLYNK_DEFAULT_DOMAIN "blynk-cloud.com" |
vshymanskyy | 0:58b20b438383 | 21 | #define BLYNK_DEFAULT_PORT 8442 |
vshymanskyy | 0:58b20b438383 | 22 | #define BLYNK_DEFAULT_PORT_SSL 8441 |
vshymanskyy | 0:58b20b438383 | 23 | |
vshymanskyy | 0:58b20b438383 | 24 | /*************************************************** |
vshymanskyy | 0:58b20b438383 | 25 | * Professional settings |
vshymanskyy | 0:58b20b438383 | 26 | ***************************************************/ |
vshymanskyy | 0:58b20b438383 | 27 | // Library version. |
Volodymyr Shymanskyy |
13:ed6276c0afb7 | 28 | #define BLYNK_VERSION "0.4.7" |
vshymanskyy | 0:58b20b438383 | 29 | |
vshymanskyy | 0:58b20b438383 | 30 | // Heartbeat period in seconds. |
vshymanskyy | 0:58b20b438383 | 31 | #ifndef BLYNK_HEARTBEAT |
vshymanskyy | 0:58b20b438383 | 32 | #define BLYNK_HEARTBEAT 10 |
vshymanskyy | 0:58b20b438383 | 33 | #endif |
vshymanskyy | 0:58b20b438383 | 34 | |
vshymanskyy | 0:58b20b438383 | 35 | // Network timeout in milliseconds. |
vshymanskyy | 0:58b20b438383 | 36 | #ifndef BLYNK_TIMEOUT_MS |
vshymanskyy | 0:58b20b438383 | 37 | #define BLYNK_TIMEOUT_MS 2000UL |
vshymanskyy | 0:58b20b438383 | 38 | #endif |
vshymanskyy | 0:58b20b438383 | 39 | |
vshymanskyy | 0:58b20b438383 | 40 | // Limit the amount of outgoing commands. |
vshymanskyy | 0:58b20b438383 | 41 | #ifndef BLYNK_MSG_LIMIT |
vshymanskyy | 0:58b20b438383 | 42 | #define BLYNK_MSG_LIMIT 20 |
vshymanskyy | 0:58b20b438383 | 43 | #endif |
vshymanskyy | 0:58b20b438383 | 44 | |
vshymanskyy | 0:58b20b438383 | 45 | // Limit the incoming command length. |
vshymanskyy | 0:58b20b438383 | 46 | #ifndef BLYNK_MAX_READBYTES |
vshymanskyy | 0:58b20b438383 | 47 | #define BLYNK_MAX_READBYTES 256 |
vshymanskyy | 0:58b20b438383 | 48 | #endif |
vshymanskyy | 0:58b20b438383 | 49 | |
vshymanskyy | 0:58b20b438383 | 50 | // Limit the outgoing command length. |
vshymanskyy | 0:58b20b438383 | 51 | #ifndef BLYNK_MAX_SENDBYTES |
vshymanskyy | 0:58b20b438383 | 52 | #define BLYNK_MAX_SENDBYTES 128 |
vshymanskyy | 0:58b20b438383 | 53 | #endif |
vshymanskyy | 0:58b20b438383 | 54 | |
vshymanskyy | 0:58b20b438383 | 55 | // Uncomment to disable built-in analog and digital operations. |
vshymanskyy | 0:58b20b438383 | 56 | //#define BLYNK_NO_BUILTIN |
vshymanskyy | 0:58b20b438383 | 57 | |
vshymanskyy | 0:58b20b438383 | 58 | // Uncomment to disable providing info about device to the server. |
vshymanskyy | 0:58b20b438383 | 59 | //#define BLYNK_NO_INFO |
vshymanskyy | 0:58b20b438383 | 60 | |
vshymanskyy | 0:58b20b438383 | 61 | // Uncomment to enable debug prints. |
vshymanskyy | 0:58b20b438383 | 62 | //#define BLYNK_DEBUG |
vshymanskyy | 0:58b20b438383 | 63 | |
Volodymyr Shymanskyy |
2:c5b857d4f9f6 | 64 | // Uncomment to force-enable 128 virtual pins |
Volodymyr Shymanskyy |
2:c5b857d4f9f6 | 65 | //#define BLYNK_USE_128_VPINS |
Volodymyr Shymanskyy |
2:c5b857d4f9f6 | 66 | |
Volodymyr Shymanskyy |
9:7369ec77a3ea | 67 | // Uncomment to disable fancy logo |
Volodymyr Shymanskyy |
9:7369ec77a3ea | 68 | //#define BLYNK_NO_FANCY_LOGO |
Volodymyr Shymanskyy |
9:7369ec77a3ea | 69 | |
Volodymyr Shymanskyy |
9:7369ec77a3ea | 70 | // Uncomment to enable 3D fancy logo |
Volodymyr Shymanskyy |
9:7369ec77a3ea | 71 | //#define BLYNK_FANCY_LOGO_3D |
Volodymyr Shymanskyy |
9:7369ec77a3ea | 72 | |
vshymanskyy | 0:58b20b438383 | 73 | // Uncomment to enable experimental functions. |
vshymanskyy | 0:58b20b438383 | 74 | //#define BLYNK_EXPERIMENTAL |
vshymanskyy | 0:58b20b438383 | 75 | |
vshymanskyy | 0:58b20b438383 | 76 | // Uncomment to disable all float/double usage |
vshymanskyy | 0:58b20b438383 | 77 | //#define BLYNK_NO_FLOAT |
vshymanskyy | 0:58b20b438383 | 78 | |
vshymanskyy | 0:58b20b438383 | 79 | // Uncomment to switch to direct-connect mode |
vshymanskyy | 0:58b20b438383 | 80 | //#define BLYNK_USE_DIRECT_CONNECT |
vshymanskyy | 0:58b20b438383 | 81 | |
vshymanskyy | 0:58b20b438383 | 82 | |
vshymanskyy | 0:58b20b438383 | 83 | // Uncomment to append command body to header (uses more RAM) |
vshymanskyy | 0:58b20b438383 | 84 | //#define BLYNK_SEND_ATOMIC |
vshymanskyy | 0:58b20b438383 | 85 | |
vshymanskyy | 0:58b20b438383 | 86 | // Split whole command into chunks (in bytes) |
vshymanskyy | 0:58b20b438383 | 87 | //#define BLYNK_SEND_CHUNK 64 |
vshymanskyy | 0:58b20b438383 | 88 | |
vshymanskyy | 0:58b20b438383 | 89 | // Wait after sending each chunk (in milliseconds) |
vshymanskyy | 0:58b20b438383 | 90 | //#define BLYNK_SEND_THROTTLE 10 |
vshymanskyy | 0:58b20b438383 | 91 | |
vshymanskyy | 0:58b20b438383 | 92 | #endif |