Arduino SPI Lookback Test

/* Loop Back test for the SPI port of the Arduino * LED attached from pin 6 to ground through a 1K resistor */ #include // including the SPI library char outByte [20] = "TONYLABS"; // string to be send and received via SPI port int led = 6; // variable which holds the...

最简单的 CC3000 向 Web Server 发送数据例程

/* @ */ void setup(void) { Serial.begin(115200); Serial.print(F("Starting up, this is version "));Serial.println(VERSION); Serial.print("Free RAM: "); Serial.println(getFreeRam(), DEC); /* Initialise the module */ Serial.println(F("\nInitializing...")); if...

Arduino MPU6050 + HMC5883L 主机从机

// --------------------------------------------------------------------------- // Receive all measurements from an 9 DOF sensor board. // --------------------------------------------------------------------------- // // Structure: // // Sub I2C // ______^ ______ // |...

TSL2561 Datasheets & Application Notes

Document TSL2561 Datasheet Arduino Library TSL2561 Library 下载 Interrupt The TSL256x devices also support an interrupt feature that simplifies and improves system efficiency by eliminating the need to poll a sensor for a light intensity value. The primary purpose of...

TI CC3000 SmartConfig – iOS 篇

准备工作 为了保证 SmartConfig 测试的顺利,首先使用 Adafruit CC3000 Library 中的 buildtest 测试例程,测试 TONYLABS CC3000 Shiled 是否工作正常,并获取一些相关数据。 相关硬件 Arduino Uno  或 Arduino Mega 2560 主板 x 1 TONYLABS CC3000 Shield x 1 USB B-Type 数据线  x 1 相关软件 Arduino 集成开发环境 Adafruit CC3000 Library 下面,运行...