blynk & neopixelring & w7500

Fork of WIZwiki-7500_Blynk by IOP

Committer:
Volodymyr Shymanskyy
Date:
Wed Oct 12 09:18:39 2016 +0300
Revision:
7:8879692d4e6c
Parent:
2:c5b857d4f9f6
Child:
9:7369ec77a3ea
Update library

Who changed what in which revision?

UserRevisionLine numberNew 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
vshymanskyy 0:58b20b438383 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 7:8879692d4e6c 28 #define BLYNK_VERSION "0.3.10"
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
vshymanskyy 0:58b20b438383 67 // Uncomment to enable experimental functions.
vshymanskyy 0:58b20b438383 68 //#define BLYNK_EXPERIMENTAL
vshymanskyy 0:58b20b438383 69
vshymanskyy 0:58b20b438383 70 // Uncomment to disable all float/double usage
vshymanskyy 0:58b20b438383 71 //#define BLYNK_NO_FLOAT
vshymanskyy 0:58b20b438383 72
vshymanskyy 0:58b20b438383 73 // Uncomment to switch to direct-connect mode
vshymanskyy 0:58b20b438383 74 //#define BLYNK_USE_DIRECT_CONNECT
vshymanskyy 0:58b20b438383 75
vshymanskyy 0:58b20b438383 76
vshymanskyy 0:58b20b438383 77 // Uncomment to append command body to header (uses more RAM)
vshymanskyy 0:58b20b438383 78 //#define BLYNK_SEND_ATOMIC
vshymanskyy 0:58b20b438383 79
vshymanskyy 0:58b20b438383 80 // Split whole command into chunks (in bytes)
vshymanskyy 0:58b20b438383 81 //#define BLYNK_SEND_CHUNK 64
vshymanskyy 0:58b20b438383 82
vshymanskyy 0:58b20b438383 83 // Wait after sending each chunk (in milliseconds)
vshymanskyy 0:58b20b438383 84 //#define BLYNK_SEND_THROTTLE 10
vshymanskyy 0:58b20b438383 85
vshymanskyy 0:58b20b438383 86 #endif