blynk & neopixelring & w7500
Fork of WIZwiki-7500_Blynk by
Blynk/BlynkDetectDevice.h@3:31e4b850b126, 2016-06-24 (annotated)
- Committer:
- Volodymyr Shymanskyy
- Date:
- Fri Jun 24 01:10:02 2016 +0300
- Revision:
- 3:31e4b850b126
- Parent:
- 0:58b20b438383
- Child:
- 4:fa1450a7dd08
Update library version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vshymanskyy | 0:58b20b438383 | 1 | /** |
vshymanskyy | 0:58b20b438383 | 2 | * @file BlynkDetectDevice.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) 2016 Volodymyr Shymanskyy |
vshymanskyy | 0:58b20b438383 | 6 | * @date May 2016 |
vshymanskyy | 0:58b20b438383 | 7 | * @brief |
vshymanskyy | 0:58b20b438383 | 8 | * |
vshymanskyy | 0:58b20b438383 | 9 | */ |
vshymanskyy | 0:58b20b438383 | 10 | |
vshymanskyy | 0:58b20b438383 | 11 | #ifndef BlynkDetectDevice_h |
vshymanskyy | 0:58b20b438383 | 12 | #define BlynkDetectDevice_h |
vshymanskyy | 0:58b20b438383 | 13 | |
vshymanskyy | 0:58b20b438383 | 14 | #ifndef BLYNK_INFO_CPU |
vshymanskyy | 0:58b20b438383 | 15 | |
vshymanskyy | 0:58b20b438383 | 16 | /****************************************** |
vshymanskyy | 0:58b20b438383 | 17 | * ATmega |
vshymanskyy | 0:58b20b438383 | 18 | */ |
vshymanskyy | 0:58b20b438383 | 19 | |
vshymanskyy | 0:58b20b438383 | 20 | #if defined(__AVR_ATmega168__) |
vshymanskyy | 0:58b20b438383 | 21 | #define BLYNK_INFO_CPU "ATmega168" |
vshymanskyy | 0:58b20b438383 | 22 | #elif defined(__AVR_ATmega328P__) |
vshymanskyy | 0:58b20b438383 | 23 | #define BLYNK_INFO_CPU "ATmega328P" |
vshymanskyy | 0:58b20b438383 | 24 | #elif defined(__AVR_ATmega1280__) |
vshymanskyy | 0:58b20b438383 | 25 | #define BLYNK_INFO_CPU "ATmega1280" |
vshymanskyy | 0:58b20b438383 | 26 | #elif defined(__AVR_ATmega1284__) |
vshymanskyy | 0:58b20b438383 | 27 | #define BLYNK_INFO_CPU "ATmega1284" |
vshymanskyy | 0:58b20b438383 | 28 | #elif defined(__AVR_ATmega2560__) |
vshymanskyy | 0:58b20b438383 | 29 | #define BLYNK_INFO_CPU "ATmega2560" |
vshymanskyy | 0:58b20b438383 | 30 | #elif defined(__AVR_ATmega32U4__) |
vshymanskyy | 0:58b20b438383 | 31 | #define BLYNK_INFO_CPU "ATmega32U4" |
vshymanskyy | 0:58b20b438383 | 32 | #elif defined(__SAM3X8E__) |
vshymanskyy | 0:58b20b438383 | 33 | #define BLYNK_INFO_CPU "AT91SAM3X8E" |
vshymanskyy | 0:58b20b438383 | 34 | |
vshymanskyy | 0:58b20b438383 | 35 | /****************************************** |
vshymanskyy | 0:58b20b438383 | 36 | * ATtiny |
vshymanskyy | 0:58b20b438383 | 37 | */ |
vshymanskyy | 0:58b20b438383 | 38 | |
vshymanskyy | 0:58b20b438383 | 39 | #elif defined(__AVR_ATtiny25__) |
vshymanskyy | 0:58b20b438383 | 40 | #define BLYNK_INFO_CPU "ATtiny25" |
vshymanskyy | 0:58b20b438383 | 41 | #elif defined(__AVR_ATtiny45__) |
vshymanskyy | 0:58b20b438383 | 42 | #define BLYNK_INFO_CPU "ATtiny45" |
vshymanskyy | 0:58b20b438383 | 43 | #elif defined(__AVR_ATtiny85__) |
vshymanskyy | 0:58b20b438383 | 44 | #define BLYNK_INFO_CPU "ATtiny85" |
vshymanskyy | 0:58b20b438383 | 45 | #elif defined(__AVR_ATtiny24__) |
vshymanskyy | 0:58b20b438383 | 46 | #define BLYNK_INFO_CPU "ATtiny24" |
vshymanskyy | 0:58b20b438383 | 47 | #elif defined(__AVR_ATtiny44__) |
vshymanskyy | 0:58b20b438383 | 48 | #define BLYNK_INFO_CPU "ATtiny44" |
vshymanskyy | 0:58b20b438383 | 49 | #elif defined(__AVR_ATtiny84__) |
vshymanskyy | 0:58b20b438383 | 50 | #define BLYNK_INFO_CPU "ATtiny84" |
vshymanskyy | 0:58b20b438383 | 51 | #elif defined(__AVR_ATtiny2313__) |
vshymanskyy | 0:58b20b438383 | 52 | #define BLYNK_INFO_CPU "ATtiny2313" |
vshymanskyy | 0:58b20b438383 | 53 | #elif defined(__AVR_ATtiny4313__) |
vshymanskyy | 0:58b20b438383 | 54 | #define BLYNK_INFO_CPU "ATtiny4313" |
vshymanskyy | 0:58b20b438383 | 55 | #endif |
vshymanskyy | 0:58b20b438383 | 56 | #endif |
vshymanskyy | 0:58b20b438383 | 57 | |
vshymanskyy | 0:58b20b438383 | 58 | #ifndef BLYNK_INFO_DEVICE |
vshymanskyy | 0:58b20b438383 | 59 | |
vshymanskyy | 0:58b20b438383 | 60 | #if defined(ENERGIA) |
vshymanskyy | 0:58b20b438383 | 61 | #define BLYNK_INFO_DEVICE "Energia" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 62 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 63 | |
vshymanskyy | 0:58b20b438383 | 64 | #if defined(__MSP430F5529__) |
vshymanskyy | 0:58b20b438383 | 65 | #define BLYNK_INFO_CPU "MSP430F5529" |
vshymanskyy | 0:58b20b438383 | 66 | #define BLYNK_NO_FLOAT |
vshymanskyy | 0:58b20b438383 | 67 | #endif |
vshymanskyy | 0:58b20b438383 | 68 | |
vshymanskyy | 0:58b20b438383 | 69 | #elif defined(LINUX) |
vshymanskyy | 0:58b20b438383 | 70 | |
vshymanskyy | 0:58b20b438383 | 71 | #define BLYNK_INFO_DEVICE "Linux" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 72 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 73 | |
vshymanskyy | 0:58b20b438383 | 74 | #elif defined(SPARK) || defined(PARTICLE) |
vshymanskyy | 0:58b20b438383 | 75 | |
Volodymyr Shymanskyy |
3:31e4b850b126 | 76 | #define BLYNK_USE_128_VPINS |
Volodymyr Shymanskyy |
3:31e4b850b126 | 77 | |
vshymanskyy | 0:58b20b438383 | 78 | #if PLATFORM_ID==0 |
vshymanskyy | 0:58b20b438383 | 79 | #define BLYNK_INFO_DEVICE "Particle Core" |
vshymanskyy | 0:58b20b438383 | 80 | #elif PLATFORM_ID==6 |
vshymanskyy | 0:58b20b438383 | 81 | #define BLYNK_INFO_DEVICE "Particle Photon" |
vshymanskyy | 0:58b20b438383 | 82 | #elif PLATFORM_ID==8 |
vshymanskyy | 0:58b20b438383 | 83 | #define BLYNK_INFO_DEVICE "Particle P1" |
vshymanskyy | 0:58b20b438383 | 84 | #elif PLATFORM_ID==9 |
vshymanskyy | 0:58b20b438383 | 85 | #define BLYNK_INFO_DEVICE "Particle Ethernet" |
vshymanskyy | 0:58b20b438383 | 86 | #elif PLATFORM_ID==10 |
vshymanskyy | 0:58b20b438383 | 87 | #define BLYNK_INFO_DEVICE "Particle Electron" |
vshymanskyy | 0:58b20b438383 | 88 | #elif PLATFORM_ID==82 |
vshymanskyy | 0:58b20b438383 | 89 | #define BLYNK_INFO_DEVICE "Digistump Oak" |
vshymanskyy | 0:58b20b438383 | 90 | #elif PLATFORM_ID==88 |
vshymanskyy | 0:58b20b438383 | 91 | #define BLYNK_INFO_DEVICE "RedBear Duo" |
vshymanskyy | 0:58b20b438383 | 92 | #elif PLATFORM_ID==103 |
vshymanskyy | 0:58b20b438383 | 93 | #define BLYNK_INFO_DEVICE "Bluz" |
vshymanskyy | 0:58b20b438383 | 94 | #else |
vshymanskyy | 0:58b20b438383 | 95 | #warning "Cannot detect board type" |
vshymanskyy | 0:58b20b438383 | 96 | #define BLYNK_INFO_DEVICE "Particle" |
vshymanskyy | 0:58b20b438383 | 97 | #endif |
vshymanskyy | 0:58b20b438383 | 98 | |
vshymanskyy | 0:58b20b438383 | 99 | #elif defined(MBED_LIBRARY_VERSION) |
vshymanskyy | 0:58b20b438383 | 100 | |
vshymanskyy | 0:58b20b438383 | 101 | #define BLYNK_INFO_DEVICE "MBED" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 102 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 103 | |
vshymanskyy | 0:58b20b438383 | 104 | #elif defined(ARDUINO) && defined(MPIDE) |
vshymanskyy | 0:58b20b438383 | 105 | #define BLYNK_NO_YIELD |
vshymanskyy | 0:58b20b438383 | 106 | |
vshymanskyy | 0:58b20b438383 | 107 | #if defined(_BOARD_UNO_) |
vshymanskyy | 0:58b20b438383 | 108 | #define BLYNK_INFO_DEVICE "chipKIT Uno32" |
vshymanskyy | 0:58b20b438383 | 109 | #else |
vshymanskyy | 0:58b20b438383 | 110 | #define BLYNK_INFO_DEVICE "chipKIT" |
vshymanskyy | 0:58b20b438383 | 111 | #endif |
vshymanskyy | 0:58b20b438383 | 112 | |
Volodymyr Shymanskyy |
3:31e4b850b126 | 113 | #elif defined(ARDUINO) && defined(TEENSYDUINO) |
Volodymyr Shymanskyy |
3:31e4b850b126 | 114 | |
Volodymyr Shymanskyy |
3:31e4b850b126 | 115 | #if defined(__MK20DX256__) |
Volodymyr Shymanskyy |
3:31e4b850b126 | 116 | #define BLYNK_INFO_DEVICE "Teensy 3.2/3.1" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 117 | #define BLYNK_USE_128_VPINS |
Volodymyr Shymanskyy |
3:31e4b850b126 | 118 | #elif defined(__MK20DX128__) |
Volodymyr Shymanskyy |
3:31e4b850b126 | 119 | #define BLYNK_INFO_DEVICE "Teensy 3.0" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 120 | #define BLYNK_USE_128_VPINS |
Volodymyr Shymanskyy |
3:31e4b850b126 | 121 | #elif defined(__MKL26Z64__) |
Volodymyr Shymanskyy |
3:31e4b850b126 | 122 | #define BLYNK_INFO_DEVICE "Teensy LC" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 123 | #elif defined(ARDUINO_ARCH_AVR) |
Volodymyr Shymanskyy |
3:31e4b850b126 | 124 | #define BLYNK_INFO_DEVICE "Teensy 2.0" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 125 | #else |
Volodymyr Shymanskyy |
3:31e4b850b126 | 126 | #define BLYNK_INFO_DEVICE "Teensy" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 127 | #endif |
Volodymyr Shymanskyy |
3:31e4b850b126 | 128 | |
vshymanskyy | 0:58b20b438383 | 129 | #elif defined(ARDUINO) |
vshymanskyy | 0:58b20b438383 | 130 | |
Volodymyr Shymanskyy |
3:31e4b850b126 | 131 | #ifdef ESP8266 |
Volodymyr Shymanskyy |
3:31e4b850b126 | 132 | #define BLYNK_USE_128_VPINS |
Volodymyr Shymanskyy |
3:31e4b850b126 | 133 | #endif |
Volodymyr Shymanskyy |
3:31e4b850b126 | 134 | |
vshymanskyy | 0:58b20b438383 | 135 | /* Arduino AVR */ |
vshymanskyy | 0:58b20b438383 | 136 | #if defined(ARDUINO_AVR_NANO) |
vshymanskyy | 0:58b20b438383 | 137 | #define BLYNK_INFO_DEVICE "Arduino Nano" |
vshymanskyy | 0:58b20b438383 | 138 | #elif defined(ARDUINO_AVR_UNO) || defined(ARDUINO_AVR_DUEMILANOVE) |
vshymanskyy | 0:58b20b438383 | 139 | #define BLYNK_INFO_DEVICE "Arduino Uno" |
vshymanskyy | 0:58b20b438383 | 140 | #elif defined(ARDUINO_AVR_YUN) |
vshymanskyy | 0:58b20b438383 | 141 | #define BLYNK_INFO_DEVICE "Arduino Yun" |
vshymanskyy | 0:58b20b438383 | 142 | #elif defined(ARDUINO_AVR_MINI) |
vshymanskyy | 0:58b20b438383 | 143 | #define BLYNK_INFO_DEVICE "Arduino Mini" |
vshymanskyy | 0:58b20b438383 | 144 | #elif defined(ARDUINO_AVR_ETHERNET) |
vshymanskyy | 0:58b20b438383 | 145 | #define BLYNK_INFO_DEVICE "Arduino Ethernet" |
vshymanskyy | 0:58b20b438383 | 146 | #elif defined(ARDUINO_AVR_FIO) |
vshymanskyy | 0:58b20b438383 | 147 | #define BLYNK_INFO_DEVICE "Arduino Fio" |
vshymanskyy | 0:58b20b438383 | 148 | #elif defined(ARDUINO_AVR_BT) |
vshymanskyy | 0:58b20b438383 | 149 | #define BLYNK_INFO_DEVICE "Arduino BT" |
vshymanskyy | 0:58b20b438383 | 150 | #elif defined(ARDUINO_AVR_PRO) |
vshymanskyy | 0:58b20b438383 | 151 | #define BLYNK_INFO_DEVICE "Arduino Pro" |
vshymanskyy | 0:58b20b438383 | 152 | #elif defined(ARDUINO_AVR_NG) |
vshymanskyy | 0:58b20b438383 | 153 | #define BLYNK_INFO_DEVICE "Arduino NG" |
vshymanskyy | 0:58b20b438383 | 154 | #elif defined(ARDUINO_AVR_GEMMA) |
vshymanskyy | 0:58b20b438383 | 155 | #define BLYNK_INFO_DEVICE "Arduino Gemma" |
vshymanskyy | 0:58b20b438383 | 156 | #elif defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560) |
vshymanskyy | 0:58b20b438383 | 157 | #define BLYNK_INFO_DEVICE "Arduino Mega" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 158 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 159 | #elif defined(ARDUINO_AVR_ADK) |
vshymanskyy | 0:58b20b438383 | 160 | #define BLYNK_INFO_DEVICE "Arduino Mega ADK" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 161 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 162 | #elif defined(ARDUINO_AVR_LEONARDO) |
vshymanskyy | 0:58b20b438383 | 163 | #define BLYNK_INFO_DEVICE "Arduino Leonardo" |
vshymanskyy | 0:58b20b438383 | 164 | #elif defined(ARDUINO_AVR_MICRO) |
vshymanskyy | 0:58b20b438383 | 165 | #define BLYNK_INFO_DEVICE "Arduino Micro" |
vshymanskyy | 0:58b20b438383 | 166 | #elif defined(ARDUINO_AVR_ESPLORA) |
vshymanskyy | 0:58b20b438383 | 167 | #define BLYNK_INFO_DEVICE "Arduino Esplora" |
vshymanskyy | 0:58b20b438383 | 168 | #elif defined(ARDUINO_AVR_LILYPAD) |
vshymanskyy | 0:58b20b438383 | 169 | #define BLYNK_INFO_DEVICE "Lilypad" |
vshymanskyy | 0:58b20b438383 | 170 | #elif defined(ARDUINO_AVR_LILYPAD_USB) |
vshymanskyy | 0:58b20b438383 | 171 | #define BLYNK_INFO_DEVICE "Lilypad USB" |
vshymanskyy | 0:58b20b438383 | 172 | #elif defined(ARDUINO_AVR_ROBOT_MOTOR) |
vshymanskyy | 0:58b20b438383 | 173 | #define BLYNK_INFO_DEVICE "Robot Motor" |
vshymanskyy | 0:58b20b438383 | 174 | #elif defined(ARDUINO_AVR_ROBOT_CONTROL) |
vshymanskyy | 0:58b20b438383 | 175 | #define BLYNK_INFO_DEVICE "Robot Control" |
vshymanskyy | 0:58b20b438383 | 176 | |
vshymanskyy | 0:58b20b438383 | 177 | /* Arduino SAM/SAMD */ |
vshymanskyy | 0:58b20b438383 | 178 | #elif defined(ARDUINO_SAM_DUE) |
vshymanskyy | 0:58b20b438383 | 179 | #define BLYNK_INFO_DEVICE "Arduino Due" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 180 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 181 | #elif defined(ARDUINO_SAMD_ZERO) |
vshymanskyy | 0:58b20b438383 | 182 | #define BLYNK_INFO_DEVICE "Arduino Zero" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 183 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 184 | #elif defined(ARDUINO_SAMD_MKR1000) |
vshymanskyy | 0:58b20b438383 | 185 | #define BLYNK_INFO_DEVICE "Arduino MKR1000" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 186 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 187 | |
vshymanskyy | 0:58b20b438383 | 188 | /* Intel */ |
vshymanskyy | 0:58b20b438383 | 189 | #elif defined(ARDUINO_GALILEO) |
vshymanskyy | 0:58b20b438383 | 190 | #define BLYNK_INFO_DEVICE "Galileo" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 191 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 192 | #elif defined(ARDUINO_GALILEOGEN2) |
vshymanskyy | 0:58b20b438383 | 193 | #define BLYNK_INFO_DEVICE "Galileo Gen2" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 194 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 195 | #elif defined(ARDUINO_EDISON) |
vshymanskyy | 0:58b20b438383 | 196 | #define BLYNK_INFO_DEVICE "Edison" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 197 | #define BLYNK_USE_128_VPINS |
Volodymyr Shymanskyy |
3:31e4b850b126 | 198 | #elif defined(ARDUINO_ARCH_ARC32) |
vshymanskyy | 0:58b20b438383 | 199 | #define BLYNK_INFO_DEVICE "Arduino 101" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 200 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 201 | |
vshymanskyy | 0:58b20b438383 | 202 | /* Konekt */ |
vshymanskyy | 0:58b20b438383 | 203 | #elif defined(ARDUINO_DASH) |
vshymanskyy | 0:58b20b438383 | 204 | #define BLYNK_INFO_DEVICE "Dash" |
vshymanskyy | 0:58b20b438383 | 205 | #elif defined(ARDUINO_DASHPRO) |
vshymanskyy | 0:58b20b438383 | 206 | #define BLYNK_INFO_DEVICE "Dash Pro" |
vshymanskyy | 0:58b20b438383 | 207 | |
vshymanskyy | 0:58b20b438383 | 208 | /* Red Bear Lab */ |
vshymanskyy | 0:58b20b438383 | 209 | #elif defined(ARDUINO_RedBear_Duo) |
vshymanskyy | 0:58b20b438383 | 210 | #define BLYNK_INFO_DEVICE "RedBear Duo" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 211 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 212 | #elif defined(ARDUINO_BLEND) |
vshymanskyy | 0:58b20b438383 | 213 | #define BLYNK_INFO_DEVICE "Blend" |
vshymanskyy | 0:58b20b438383 | 214 | #elif defined(ARDUINO_BLEND_MICRO_8MHZ) || defined(ARDUINO_BLEND_MICRO_16MHZ) |
vshymanskyy | 0:58b20b438383 | 215 | #define BLYNK_INFO_DEVICE "Blend Micro" |
vshymanskyy | 0:58b20b438383 | 216 | #elif defined(ARDUINO_RBL_nRF51822) |
vshymanskyy | 0:58b20b438383 | 217 | #define BLYNK_INFO_DEVICE "BLE Nano" |
vshymanskyy | 0:58b20b438383 | 218 | |
vshymanskyy | 0:58b20b438383 | 219 | /* ESP8266 */ |
vshymanskyy | 0:58b20b438383 | 220 | #elif defined(ARDUINO_ESP8266_ESP01) |
vshymanskyy | 0:58b20b438383 | 221 | #define BLYNK_INFO_DEVICE "ESP8266" |
vshymanskyy | 0:58b20b438383 | 222 | #elif defined(ARDUINO_ESP8266_ESP12) |
vshymanskyy | 0:58b20b438383 | 223 | #define BLYNK_INFO_DEVICE "ESP-12" |
vshymanskyy | 0:58b20b438383 | 224 | #elif defined(ARDUINO_ESP8266_NODEMCU) |
vshymanskyy | 0:58b20b438383 | 225 | #define BLYNK_INFO_DEVICE "NodeMCU" |
vshymanskyy | 0:58b20b438383 | 226 | #elif defined(ARDUINO_ESP8266_THING) |
vshymanskyy | 0:58b20b438383 | 227 | #define BLYNK_INFO_DEVICE "Esp Thing" |
vshymanskyy | 0:58b20b438383 | 228 | #elif defined(ARDUINO_ESP8266_THING_DEV) |
vshymanskyy | 0:58b20b438383 | 229 | #define BLYNK_INFO_DEVICE "Esp Thing Dev" |
vshymanskyy | 0:58b20b438383 | 230 | |
vshymanskyy | 0:58b20b438383 | 231 | /* Digistump */ |
vshymanskyy | 0:58b20b438383 | 232 | #elif defined(ARDUINO_ESP8266_OAK) |
vshymanskyy | 0:58b20b438383 | 233 | #define BLYNK_INFO_DEVICE "Oak" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 234 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 235 | #elif defined(ARDUINO_AVR_DIGISPARK) |
vshymanskyy | 0:58b20b438383 | 236 | #define BLYNK_INFO_DEVICE "Digispark" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 237 | #define BLYNK_NO_YIELD |
vshymanskyy | 0:58b20b438383 | 238 | #elif defined(ARDUINO_AVR_DIGISPARKPRO) |
vshymanskyy | 0:58b20b438383 | 239 | #define BLYNK_INFO_DEVICE "Digispark Pro" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 240 | #define BLYNK_NO_YIELD |
vshymanskyy | 0:58b20b438383 | 241 | |
vshymanskyy | 0:58b20b438383 | 242 | /* Microduino */ |
vshymanskyy | 0:58b20b438383 | 243 | #elif defined(ARDUINO_AVR_USB) |
vshymanskyy | 0:58b20b438383 | 244 | #define BLYNK_INFO_DEVICE "CoreUSB" |
vshymanskyy | 0:58b20b438383 | 245 | #elif defined(ARDUINO_AVR_PLUS) |
vshymanskyy | 0:58b20b438383 | 246 | #define BLYNK_INFO_DEVICE "Core+" |
vshymanskyy | 0:58b20b438383 | 247 | #elif defined(ARDUINO_AVR_RF) |
vshymanskyy | 0:58b20b438383 | 248 | #define BLYNK_INFO_DEVICE "CoreRF" |
vshymanskyy | 0:58b20b438383 | 249 | |
vshymanskyy | 0:58b20b438383 | 250 | /* Wildfire */ |
vshymanskyy | 0:58b20b438383 | 251 | #elif defined(ARDUINO_WILDFIRE_V2) |
vshymanskyy | 0:58b20b438383 | 252 | #define BLYNK_INFO_DEVICE "Wildfire V2" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 253 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 254 | #elif defined(ARDUINO_WILDFIRE_V3) |
vshymanskyy | 0:58b20b438383 | 255 | #define BLYNK_INFO_DEVICE "Wildfire V3" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 256 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 257 | #elif defined(ARDUINO_WILDFIRE_V4) |
vshymanskyy | 0:58b20b438383 | 258 | #define BLYNK_INFO_DEVICE "Wildfire V4" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 259 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 260 | |
vshymanskyy | 0:58b20b438383 | 261 | /* Simblee */ |
Volodymyr Shymanskyy |
3:31e4b850b126 | 262 | #elif defined(__Simblee__) |
vshymanskyy | 0:58b20b438383 | 263 | #define BLYNK_INFO_DEVICE "Simblee" |
Volodymyr Shymanskyy |
3:31e4b850b126 | 264 | #define BLYNK_USE_128_VPINS |
vshymanskyy | 0:58b20b438383 | 265 | |
vshymanskyy | 0:58b20b438383 | 266 | #else |
vshymanskyy | 0:58b20b438383 | 267 | #warning "Cannot detect board type" |
vshymanskyy | 0:58b20b438383 | 268 | #define BLYNK_INFO_DEVICE "Arduino" |
vshymanskyy | 0:58b20b438383 | 269 | #endif |
vshymanskyy | 0:58b20b438383 | 270 | |
vshymanskyy | 0:58b20b438383 | 271 | #endif |
vshymanskyy | 0:58b20b438383 | 272 | #endif |
vshymanskyy | 0:58b20b438383 | 273 | |
vshymanskyy | 0:58b20b438383 | 274 | #endif |