feat: 全量同步 254 个常用的 Arduino 扩展库文件
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* @file BlynkSimpleCC3000.h
|
||||
* @author Volodymyr Shymanskyy
|
||||
* @license This project is released under the MIT License (MIT)
|
||||
* @copyright Copyright (c) 2015 Volodymyr Shymanskyy
|
||||
* @date Mar 2015
|
||||
* @brief
|
||||
*/
|
||||
|
||||
#ifndef BlynkSimpleCC3000_h
|
||||
#define BlynkSimpleCC3000_h
|
||||
|
||||
#include <Adapters/BlynkCC3000.h>
|
||||
#include <Adafruit_CC3000.h>
|
||||
|
||||
// Use hardware SPI for the remaining pins
|
||||
// SCK = 13, MISO = 12, and MOSI = 11
|
||||
Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT,
|
||||
SPI_CLOCK_DIVIDER); // you can change this clock speed
|
||||
|
||||
static BlynkTransportCC3000 _blynkTransport(cc3000);
|
||||
BlynkCC3000 Blynk(cc3000, _blynkTransport);
|
||||
|
||||
#include <BlynkWidgets.h>
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user