mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Merge branch 'master' into ide-1.5.x
This commit is contained in:
@ -23,6 +23,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h> // include the robot library
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
int commands[20]; // array for storing commands
|
||||
|
||||
|
@ -18,6 +18,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h> // include the robot library
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
long timerOrigin; // used for counting elapsed time
|
||||
|
||||
|
@ -17,6 +17,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h> // include the robot library
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
/* Dancing steps:
|
||||
S: stop
|
||||
|
@ -21,6 +21,8 @@
|
||||
|
||||
// include the robot library
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
int speedLeft;
|
||||
int speedRight;
|
||||
|
@ -20,6 +20,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
// default tempo and pitch of the music
|
||||
int tempo = 60;
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include "scripts_library.h"
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// include the robot library
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
int sensorPin = M1; // pin is used by the sensor
|
||||
|
||||
|
@ -27,6 +27,8 @@
|
||||
#include <IRremote.h>
|
||||
#include <IRremoteTools.h>
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
// Define a few commands from your remote control
|
||||
#define IR_CODE_FORWARD 284154405
|
||||
|
@ -34,6 +34,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h> // include the robot library
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
const int NUM_PICS = 4; //Total number of pictures in Gallery
|
||||
|
||||
|
@ -23,6 +23,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h> // include the robot library
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the Robot, SD card, display, and speaker
|
||||
|
@ -17,6 +17,9 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h> // include the robot library
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
// include the utility function for ths sketch
|
||||
// see the details below
|
||||
#include <utility/RobotTextManager.h>
|
||||
|
@ -23,6 +23,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
// use arrays to store the names of the pins to be read
|
||||
uint8_t arr[] = { M0, M1, M2, M3, M4, M5, M6, M7 };
|
||||
|
@ -21,6 +21,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -24,6 +24,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -16,6 +16,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -22,6 +22,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -16,6 +16,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
int value;
|
||||
|
||||
|
@ -15,6 +15,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
int value;
|
||||
|
||||
|
@ -18,6 +18,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -21,6 +21,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -44,6 +44,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -15,6 +15,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -17,6 +17,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -15,6 +15,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the robot
|
||||
|
@ -25,6 +25,8 @@
|
||||
*/
|
||||
|
||||
#include <ArduinoRobot.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
void setup() {
|
||||
// initialize the serial port
|
||||
|
Reference in New Issue
Block a user