blynk & neopixelring & w7500

Fork of WIZwiki-7500_Blynk by IOP

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers BlynkConfig.h Source File

BlynkConfig.h

Go to the documentation of this file.
00001 /**
00002  * @file       BlynkConfig.h
00003  * @author     Volodymyr Shymanskyy
00004  * @license    This project is released under the MIT License (MIT)
00005  * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy
00006  * @date       Jan 2015
00007  * @brief      Configuration of different aspects of library
00008  *
00009  */
00010 
00011 #ifndef BlynkConfig_h
00012 #define BlynkConfig_h
00013 
00014 #include <Blynk/BlynkDetectDevice.h >
00015 
00016 /***************************************************
00017  * Change these settings to match your need
00018  ***************************************************/
00019 
00020 #define BLYNK_DEFAULT_DOMAIN     "blynk-cloud.com"
00021 #define BLYNK_DEFAULT_PORT       8442
00022 #define BLYNK_DEFAULT_PORT_SSL   8441
00023 
00024 /***************************************************
00025  * Professional settings
00026  ***************************************************/
00027 // Library version.
00028 #define BLYNK_VERSION        "0.4.8"
00029 
00030 // Heartbeat period in seconds.
00031 #ifndef BLYNK_HEARTBEAT
00032 #define BLYNK_HEARTBEAT      10
00033 #endif
00034 
00035 // Network timeout in milliseconds.
00036 #ifndef BLYNK_TIMEOUT_MS
00037 #define BLYNK_TIMEOUT_MS     2000UL
00038 #endif
00039 
00040 // Limit the amount of outgoing commands.
00041 #ifndef BLYNK_MSG_LIMIT
00042 #define BLYNK_MSG_LIMIT      20
00043 #endif
00044 
00045 // Limit the incoming command length.
00046 #ifndef BLYNK_MAX_READBYTES
00047 #define BLYNK_MAX_READBYTES  256
00048 #endif
00049 
00050 // Limit the outgoing command length.
00051 #ifndef BLYNK_MAX_SENDBYTES
00052 #define BLYNK_MAX_SENDBYTES  128
00053 #endif
00054 
00055 // Uncomment to disable built-in analog and digital operations.
00056 //#define BLYNK_NO_BUILTIN
00057 
00058 // Uncomment to disable providing info about device to the server.
00059 //#define BLYNK_NO_INFO
00060 
00061 // Uncomment to enable debug prints.
00062 //#define BLYNK_DEBUG
00063 
00064 // Uncomment to force-enable 128 virtual pins
00065 //#define BLYNK_USE_128_VPINS
00066 
00067 // Uncomment to disable fancy logo
00068 //#define BLYNK_NO_FANCY_LOGO
00069 
00070 // Uncomment to enable 3D fancy logo
00071 //#define BLYNK_FANCY_LOGO_3D
00072 
00073 // Uncomment to enable experimental functions.
00074 //#define BLYNK_EXPERIMENTAL
00075 
00076 // Uncomment to disable all float/double usage
00077 //#define BLYNK_NO_FLOAT
00078 
00079 // Uncomment to switch to direct-connect mode
00080 //#define BLYNK_USE_DIRECT_CONNECT
00081 
00082 
00083 // Uncomment to append command body to header (uses more RAM)
00084 //#define BLYNK_SEND_ATOMIC
00085 
00086 // Split whole command into chunks (in bytes)
00087 //#define BLYNK_SEND_CHUNK 64
00088 
00089 // Wait after sending each chunk (in milliseconds)
00090 //#define BLYNK_SEND_THROTTLE 10
00091 
00092 #endif