commit stringlengths 40 40 | old_file stringlengths 2 205 | new_file stringlengths 2 205 | old_contents stringlengths 0 32.9k | new_contents stringlengths 1 38.9k | subject stringlengths 3 9.4k | message stringlengths 6 9.84k | lang stringlengths 3 13 | license stringclasses 13
values | repos stringlengths 6 115k |
|---|---|---|---|---|---|---|---|---|---|
306e0f69c5856d897986b668e1e3b8a79d6e9779 | examples/octosonarx2_bench/octosonarx2_bench.ino | examples/octosonarx2_bench/octosonarx2_bench.ino | /* bench test for OctosonarX2
for use with test jig
NOT FOR USE BY END USERS
(c) Alastair Young 2017
*/
#include <Wire.h>
#define JIGADDR_T 0x21
#define JIGADDR_E 0x21
#define OCTO_ADDR 0x20
#define GREEN_LED 5
#define RED_LED 6
#define INT_PIN 7
#define DEBUG_PIN A7
#define debug(thing) if (digitalRead(... | /* bench test for OctosonarX2
for use with test jig
NOT FOR USE BY END USERS
(c) Alastair Young 2017
*/
#include <Wire.h>
#define JIGADDR_T 0x21
#define JIGADDR_E 0x22
#define OCTO_ADDR 0x20
#define GREEN_LED 5
#define RED_LED 6
#define INT_PIN 7
#define DEBUG_PIN 8
#define debug(thing) if (digitalRead(D... | Update octosonarx2_bench.ino | Update octosonarx2_bench.ino
checked in version was not the one I was actually using
| Arduino | mit | arielnh56/OctoSonar |
a087fa9bb02eb4487199d6ef650a39fdc512193e | examples/UART/CosaSoftUART/CosaSoftUART.ino | examples/UART/CosaSoftUART/CosaSoftUART.ino | /**
* @file CosaSoftUART.ino
* @version 1.0
*
* @section License
* Copyright (C) 2013-2015, Mikael Patel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 o... | /**
* @file CosaSoftUART.ino
* @version 1.0
*
* @section License
* Copyright (C) 2013-2015, Mikael Patel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 o... | Add more example configurations. | Add more example configurations.
| Arduino | lgpl-2.1 | jeditekunum/Cosa,dansut/Cosa,jeditekunum/Cosa,dansut/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa,dansut/Cosa,jeditekunum/Cosa,dansut/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa |
9faaf1e2672834076e6bca4a4887c2c390a98fd5 | sketches/Example1.ino | sketches/Example1.ino | /*
Based on the DigitalReadSerial example provided by Arduino.
This is a slight modification. If the button state is changed from LOW to HIGH
then the text 'BUTTON PRESSED' is emitted over Serial connection.
*/
// digital pin 2 has a pushbutton attached to it. Give it a name:
int pushButton = 2;
int previous... | /*
Based on the DigitalReadSerial example provided by Arduino.
This is a slight modification. If the button state is changed from LOW to HIGH
then the text 'BUTTON PRESSED' is emitted over Serial connection.
Use the schematic/circuit suggested here http://arduino.cc/en/Tutorial/DigitalReadSerial
... | Update Example1.ino | Update Example1.ino | Arduino | mit | walterhiggins/scriptcraft-extras-mqtt,walterhiggins/scriptcraft-extras-mqtt |
d3b21d836e5c6bfcb8535708a4c1d62c03a469b4 | sketches/control/single_bench/single_bench.ino | sketches/control/single_bench/single_bench.ino | /**
* Control the BlinkMs for a single bench with one painting. Fire off
* the appropriate MaxMs at the correct intervals during the daily
* operational time.
*
* The MaxMs that actually control the light pattern for one group
* of LED clusters (Blasters) are preloaded with their light scripts.
* The MaxMs are c... | /**
* Control the BlinkMs for a single bench with one painting. Fire off
* the appropriate MaxMs at the correct intervals during the daily
* operational time.
*
* The MaxMs that actually control the light pattern for one group
* of LED clusters (Blasters) are preloaded with their light scripts.
* The MaxMs are c... | Check if RTC running at startup; support flashing both LEDs | Check if RTC running at startup; support flashing both LEDs
Add support to flash both LEDs at same time.
Flash both LEDs once at initial startup.
Test the RTC returned time twice at startup and if the time is the same,
flash both LEDs 8 times.
| Arduino | mit | wmadill/grant-lighting,wmadill/grant-lighting |
f5718b446f4ae399da41a0675e8ccbcb603fe9ac | document/arduino/motor_control/motor_control.ino | document/arduino/motor_control/motor_control.ino | /*
Copyright 2017 ADLINK Technology Inc.
Developer: Chester, Tseng
HaoChih, LIN
Email: chester.tseng@adlinktech.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.o... | /*
Copyright 2017 ADLINK Technology Inc.
Developer: Chester, Tseng (for pySerial & encoder)
HaoChih, LIN (for controller)
Email: chester.tseng@adlinktech.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy ... | fix controller bugs | fix controller bugs
| Arduino | apache-2.0 | Adlink-ROS/adlink_ddsbot,Adlink-ROS/adlink_ddsbot |
634b7a71100714e9c2fa19cd240d65a123ebb467 | range/arduino/control_module/control_module.ino | range/arduino/control_module/control_module.ino | /* control module to run all the things */
#include <Wire.h>
#include <SL018.h>
#define DEBUG 0
#define BAUD 9600
#define RESEND_TIMER 50
#define RUN_TIMER 30250
#define UPDATE_DELAY 10
#define RFID_DIGITS 15
#define BUTTON 2
#define RESET 3
#define LED 13
#define RFID 4
#define TARGET Serial1
#define SCOREBD Serial... | /* control module to run all the things */
#include <Wire.h>
#include <SL018.h>
#define DEBUG 0
#define BAUD 9600
#define RESEND_TIMER 50
#define RUN_TIMER 30250
#define UPDATE_DELAY 10
#define RFID_DIGITS 15
#define BUTTON 2
#define RESET 3
#define LED 13
#define RFID 4
#define TARGET Serial1
#define SCOREBD Serial... | clear scores in serial bufffer at reset (untested) #1 | clear scores in serial bufffer at reset (untested) #1
| Arduino | mit | DefProc/mfuklc,DefProc/mfuklc,DefProc/mfuklc |
fb1dc702280b3a43e2c4cd5a7df7453b70387076 | document/arduino/motor_control/motor_control.ino | document/arduino/motor_control/motor_control.ino | /*
Copyright 2017 ADLINK Technology Inc.
Developer: Chester, Tseng
Email: chester.tseng@adlinktech.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
U... | /*
Copyright 2017 ADLINK Technology Inc.
Developer: Chester, Tseng
HaoChih, LIN
Email: chester.tseng@adlinktech.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.o... | update controller | update controller
| Arduino | apache-2.0 | Adlink-ROS/adlink_ddsbot,Adlink-ROS/adlink_ddsbot |
04e12301a932f6e43d5081fdeea4ac86d8ad37e3 | MagicMushroom.ino | MagicMushroom.ino | #include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <PubSubClient.h>
#include <Bounce2.h>
#include <ArduinoJson.h>
#include <vector>
#include "StaticResponse.h"
#include "config.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define BUTTON_PIN D5
#define MAX_SOUNDS 10
#define MAX_FILENAME_LENGTH 10... | #include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <PubSubClient.h>
#include <Bounce2.h>
#include <ArduinoJson.h>
#include <vector>
#include "StaticResponse.h"
#include "config.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define BUTTON_PIN D5
#define MAX_SOUNDS 10
#define MAX_FILENAME_LENGTH 10... | Change default sounds | Change default sounds
| Arduino | mit | b4ckspace/MagicMushroom,b4ckspace/MagicMushroom,b4ckspace/MagicMushroom |
17088f946d1edca4bd33df3fea6a0409c0b4ff36 | examples/Widgets/TimeInput/SimpleTimeInput/SimpleTimeInput.ino | examples/Widgets/TimeInput/SimpleTimeInput/SimpleTimeInput.ino | /*************************************************************
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: h... | /*************************************************************
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: h... | Update SimpleTimeInput.ino | Update SimpleTimeInput.ino | Arduino | mit | blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library |
85d17b1c46ecf8268038fe352d6a0c144f2f1e5c | FreqCounterTest/FreqCounterTest.ino | FreqCounterTest/FreqCounterTest.ino | #include <FreqCounter.h>
#include <util/delay.h> /* for _delay_ms() */
void setup() {
Serial.begin(19200); // connect to the serial port
Serial.println("Frequency Counter");
pinMode(5, OUTPUT);
analogWrite(5, 128);
// f=[76.2939453125, 305.17578125, 1220.703125, 9765.625, 78125.0]
... | #include <FreqCounter.h>
#include <util/delay.h> /* for _delay_ms() */
// pin D5
void setup() {
Serial.begin(9600); // connect to the serial port
Serial.println("Frequency Counter");
pinMode(5, OUTPUT);
analogWrite(5, 128);
// f=[76.2939453125, 305.17578125, 1220.703125, 9765.625, ... | improve FreqCounterTest | improve FreqCounterTest
| Arduino | bsd-2-clause | ponty/arduino-sketchbook,ponty/arduino-sketchbook,ponty/arduino-sketchbook,ponty/arduino-sketchbook,ponty/arduino-sketchbook,ponty/arduino-sketchbook,ponty/arduino-sketchbook |
b92a9ebea74cd33c8a0336d0d537dc57b37e8392 | Arduino/SimpleXbeeRX64.ino | Arduino/SimpleXbeeRX64.ino | /**
* \author Michael Bartling bart4128@tamu.edu
* \author Rabih Abifaraj rabifaraj@tamu.edu
* \date 11/4/2013
* \version 1.0
*
* \copyright The MIT License (MIT)
*/
#include "./../Xbee/Xbee_wifi_RX_API.h"
#include <Xbee.h>
#define BAUD_RATE 9600
_apiFrameUnion * apiFramePtr;
_apiFrame64bit * apiFrame64bit... | /**
* \author Michael Bartling bart4128@tamu.edu
* \author Rabih Abifaraj rabifaraj@tamu.edu
* \date 11/8/2013
* \version 1.0
*
* \copyright The MIT License (MIT)
*/
#include "./../Xbee/Xbee_wifi_RX_API.h"
#include <Xbee.h>
#define BAUD_RATE 9600
_apiFrameUnion * apiFramePtr;
_apiFrame64bit * apiFrame64bit... | Update SimpleXbeeRX64.ino | Update SimpleXbeeRX64.ino
Updated Arduino RX: put method into simple function. Cleaned up some comments. | Arduino | mit | mbartling/TAMU_senior_design,mbartling/TAMU_senior_design,mbartling/TAMU_senior_design,mbartling/TAMU_senior_design,mbartling/TAMU_senior_design,mbartling/TAMU_senior_design,mbartling/TAMU_senior_design,mbartling/TAMU_senior_design |
e4e5d8bfcc904896caa4895a0f77d6c163fbadbe | res/Examples/MIDI_SimpleSynth/MIDI_SimpleSynth.ino | res/Examples/MIDI_SimpleSynth/MIDI_SimpleSynth.ino | #include <MIDI.h>
#include "noteList.h"
#include "pitches.h"
MIDI_CREATE_DEFAULT_INSTANCE();
#ifdef ARDUINO_SAM_DUE // Due has no tone function (yet), overriden to prevent build errors.
#define tone(...)
#define noTone(...)
#endif
// This example shows how to make a simple synth out of an Arduino, using the
// tone(... | #include <MIDI.h>
#include "noteList.h"
#include "pitches.h"
MIDI_CREATE_DEFAULT_INSTANCE();
#ifdef ARDUINO_SAM_DUE // Due has no tone function (yet), overriden to prevent build errors.
#define tone(...)
#define noTone(...)
#endif
// This example shows how to make a simple synth out of an Arduino, using the
// tone(... | remove noTone to keep osc active when using external envelopes. | Doc: remove noTone to keep osc active when using external envelopes.
| Arduino | mit | FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library |
4822d83c949cd3a14f44e5b99e08a49c84c11a7b | leo/leo.ino | leo/leo.ino | //#include <AFMotor.h>
#include <Servo.h>
int triggerPort=A3; // Il trigger viene collegato alla porta A3 .
int echoPort = A5; // il sensore echo viene collegato alla porta A5 .
Servo serX;
Servo serY;
String msg;
char messaggio[10];
//AF_DCMotor motorS(1); // Motore sinistro collegato al pin 1 .
//AF_... | //#include <AFMotor.h>
#include <Servo.h>
int triggerPort=A3; // Il trigger viene collegato alla porta A3 .
int echoPort = A5; // il sensore echo viene collegato alla porta A5 .
Servo serX;
Servo serY;
String msg, oldMsg;
char messaggio[10];
//AF_DCMotor motorS(1); // Motore sinistro collegato al pin 1 ... | add random function | add random function
| Arduino | agpl-3.0 | doceo/leo,doceo/leo |
a8566d658b35d143a920025277381d8fbb36b629 | Nokia_5110/Nokia_5110.ino | Nokia_5110/Nokia_5110.ino | #define RST 2
#define CE 3
#define DC 4
#define DIN 5
#define CLK 6
void startTransmission(){
digitalWrite(CE, LOW);
}
void endTransmission(){
digitalWrite(CE, HIGH);
}
void transmitInformation(byte information){
startTransmission();
shiftOut(DIN, CLK, MSBFIRST, information);
endTransmission();
}... | #define RST 2
#define CE 3
#define DC 4
#define DIN 5
#define CLK 6
void startTransmission(){
digitalWrite(CE, LOW);
}
void endTransmission(){
digitalWrite(CE, HIGH);
}
void transmitInformation(byte information){
startTransmission();
shiftOut(DIN, CLK, MSBFIRST, information);
endTransmission();
}... | rename lcdCommand function to execute | rename lcdCommand function to execute
| Arduino | mit | baghayi/Nokia_5110,baghayi/Nokia_5110 |
de6a62cb8d723adfbb5fdb34d5b440014e75cbf2 | MatrixEffect/MatrixEffect.ino | MatrixEffect/MatrixEffect.ino | #include "FastSPI_LED2.h"
#define ROWS 10
#define COLS 10
#define NUM_LEDS (ROWS*COLS)
CRGB leds[NUM_LEDS];
#define LOOP_TIME 50
#define UPDATE_TIME 150
#define _R 0
#define _G 1
#define _B 2
// colors[y][x][RGB]
byte colors[ROWS][COLS][3];
byte new_colors[ROWS][COLS][3];
// Return 0-based led index for 0-based x... | #include "FastSPI_LED2.h"
#define ROWS 10
#define COLS 10
#define NUM_LEDS (ROWS*COLS)
CRGB leds[NUM_LEDS];
#define LOOP_TIME 50
#define UPDATE_TIME 150
#define _R 0
#define _G 1
#define _B 2
// colors[y][x][RGB]
byte colors[ROWS][COLS][3];
byte new_colors[ROWS][COLS][3];
// Return 0-based led index for 0-based x... | Use library's built-in hsv2rgb functionality | Use library's built-in hsv2rgb functionality
| Arduino | mit | padvinder95/ledtafel |
0fd16f27ab8ae2e127b710f40aae071eab4db79d | src/ithopwm.ino | src/ithopwm.ino | /*
Drive an ITHO PWM controller board with an ESP8266
PWM code from https://github.com/StefanBruens/ESP8266_new_pwm
Note: specs are 5V-10V, 3.5kHz-4.5kHz; 5V is not enough so drive it at 7.5 or 9v.
We're using 4kHz PWM in this example. We dim the led based on the duty cycle as well.
Code was written for a Node... | /*
Drive an ITHO PWM controller board with an ESP8266
PWM code from https://github.com/StefanBruens/ESP8266_new_pwm
Note: specs are 5V-10V, 3.5kHz-4.5kHz; 5V is not enough so drive it at 7.5 or 9v.
We're using 4kHz PWM in this example. We dim the led based on the duty cycle as well.
Code was written for a Node... | Disable AP mode | Disable AP mode
| Arduino | unlicense | infernix/ithopwm,infernix/ithopwm |
725c37be1ad590a505076e146327e17a393f391f | Arduino/Complete/src/src.ino | Arduino/Complete/src/src.ino |
// Copyright (c) 2013 Nautilabs
// https://github.com/baptistelabat/robokite
// This file used SoftwareSerial example (Copyright (c) 2012 Dimension Engineering LLC) for Sabertooth http://www.dimensionengineering.com/software/SabertoothSimplifiedArduinoLibrary/html/index.html
// See license.txt in the Sabertooth ardui... |
// Copyright (c) 2013 Nautilabs
// https://github.com/baptistelabat/robokite
// This file used SoftwareSerial example (Copyright (c) 2012 Dimension Engineering LLC) for Sabertooth http://www.dimensionengineering.com/software/SabertoothSimplifiedArduinoLibrary/html/index.html
// See license.txt in the Sabertooth ardui... | Reduce the range of motion and more | Reduce the range of motion and more
| Arduino | mit | baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite |
b01c5c2acd5bec54563e4cf2d51bc7466794deef | Arduino/Complete/src/src.ino | Arduino/Complete/src/src.ino |
// Copyright (c) 2013 Nautilabs
// https://github.com/baptistelabat/robokite
// This file used SoftwareSerial example (Copyright (c) 2012 Dimension Engineering LLC) for Sabertooth http://www.dimensionengineering.com/software/SabertoothSimplifiedArduinoLibrary/html/index.html
// See license.txt in the Sabertooth ardui... |
// Copyright (c) 2013 Nautilabs
// https://github.com/baptistelabat/robokite
// This file used SoftwareSerial example (Copyright (c) 2012 Dimension Engineering LLC) for Sabertooth http://www.dimensionengineering.com/software/SabertoothSimplifiedArduinoLibrary/html/index.html
// See license.txt in the Sabertooth ardui... | Change sign to be based on experimental rig | Change sign to be based on experimental rig
| Arduino | mit | baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite |
8c3f22e8567a4a54f68f3b2e1b72c5651f871d78 | arduino/Client/Client.ino | arduino/Client/Client.ino | /**
* Client - Wireless communication to drive LED on remote device
*
* nRF24L01+ pin assignments
* GND GND
* VCC 3v3
* MISO 12
* MOSI 11
* SCK 13
* CE 8
* CSN 7
*
* LPD8806 pin assignments
* DATA 2
* CLOCK 3
*/
#include <SPI.h>
#include <Mirf.h>
#include <nRF24L01.h>
#in... | /**
* Client - Wireless communication to drive LED on remote device
*
* nRF24L01+ pin assignments
* GND GND
* VCC 3v3
* MISO 12
* MOSI 11
* SCK 13
* CE 8
* CSN 7
*
* LPD8806 pin assignments
* DATA 2
* CLOCK 3
* MODE 6
*/
#include <SPI.h>
#include <Mirf.h>
#include <nR... | Update LED codebase | Update LED codebase
| Arduino | mit | eightlines/Wisp,eightlines/Wisp |
a278b0322a4ab36dd0664b4936af9a2f70118639 | arduino/stair_sensor/stair_sensor.ino | arduino/stair_sensor/stair_sensor.ino | /*
Sleep until motion is detectected,
then turn on the two ping sensors which detect if someone goes past and in which direction.
Transmit the detected direction.
*/
// http://www.nongnu.org/avr-libc/user-manual/group__avr__power.html
#include <avr/power.h>
#include <avr/sleep.h>
// NewPing uses timer 2 and switch... | /*
Sleep until motion is detectected,
then turn on the two ping sensors which detect if someone goes past and in which direction.
Transmit the detected direction.
*/
// http://www.nongnu.org/avr-libc/user-manual/group__avr__power.html
#include <avr/power.h>
#include <avr/sleep.h>
// NewPing uses timer 2 and switch... | Check first char for empty message | Check first char for empty message
| Arduino | mit | theapi/CctvBlindfoldBundle,theapi/CctvBlindfoldBundle,theapi/CctvBlindfoldBundle,theapi/CctvBlindfoldBundle |
afb929000a6ead6f356cd011311bf94151aeacce | examples/GettingStarted/BlynkBlink/BlynkBlink.ino | examples/GettingStarted/BlynkBlink/BlynkBlink.ino | /*******************************************************************
Blynk lets you create beautiful drag-and-drop visual interfaces
for your projects in 5 minutes. And it works with almost every
hardware out there.
Docs, Tutorials, everything: http://www.blynk.cc
Github: http://github.com/... | /*******************************************************************
Blynk lets you create beautiful drag-and-drop visual interfaces
for your projects in 5 minutes. And it works with almost every
hardware out there.
Docs, Tutorials, everything: http://www.blynk.cc
Github: http://github.com/... | Update BlynkBlink.ino | Update BlynkBlink.ino | Arduino | mit | ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library |
17dfd5dc6a558043e8a70d0c3711d0997d322a1e | libraries/USBHost/examples/USB_desc/USB_desc.ino | libraries/USBHost/examples/USB_desc/USB_desc.ino |
#include "Arduino.h"
#include <usbhub.h>
#include "wiring_constants.h"
#include "pgmstrings.h"
// Satisfy IDE, which only needs to see the include statment in the ino.
#ifdef dobogusinclude
#include <spi4teensy3.h>
#endif
USBHost usb;
//USBHub Hub1(&Usb);
//USBHub Hub2(&Usb);
//USBHub Hub3(&Usb);
//USBHub Hu... |
#include "Arduino.h"
#include <usbhub.h>
#include "wiring_constants.h"
#include "pgmstrings.h"
// Satisfy IDE, which only needs to see the include statment in the ino.
#ifdef dobogusinclude
#include <spi4teensy3.h>
#endif
USBHost usb;
//USBHub Hub1(&Usb);
//USBHub Hub2(&Usb);
//USBHub Hub3(&Usb);
//USBHub Hu... | Fix USB transfer type identification | Fix USB transfer type identification
Bulk endpoints were incorrectly shown as Interrupt.
| Arduino | lgpl-2.1 | MickMad/ArduinoCore-samd,MickMad/ArduinoCore-samd |
86dab07129558110e4754cdfe3b8a6927a41e1c1 | Arduino/NetworkCommunication/ThingspeakWriteSingleField/ThingspeakWriteSingleField.ino | Arduino/NetworkCommunication/ThingspeakWriteSingleField/ThingspeakWriteSingleField.ino |
/*
WriteSingleField
Description: Writes a value to a channel on ThingSpeak every 20 seconds.
Hardware: Arduino Uno WiFi Rev2
!!! IMPORTANT - Modify the secrets.h file for this project with your network connection and ThingSpeak channel details. !!!
Note:
- Requires WiFiNINA library.
- This ex... |
/*
WriteSingleField
Description: Writes a value to a channel on ThingSpeak every 20 seconds.
Hardware: Arduino Uno WiFi Rev2
!!! IMPORTANT - Modify the secrets.h file for this project with your network connection and ThingSpeak channel details. !!!
Note:
- Requires WiFiNINA library.
- This ex... | Update ThingspeakWriteSingleField.ino | Update ThingspeakWriteSingleField.ino
| Arduino | mit | carloscastellanos/teaching,carloscastellanos/teaching,carloscastellanos/teaching |
45152c39cec49114c76e02361491e86512aa819e | Arduino/BlueCube/BlueCube.ino | Arduino/BlueCube/BlueCube.ino | /*********************************************************************
This is an example for our nRF51822 based Bluefruit LE modules
Pick one up today in the adafruit shop!
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
product... | /*********************************************************************
This is an example for our nRF51822 based Bluefruit LE modules
Pick one up today in the adafruit shop!
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
product... | Document memset, and fix it so that it fills the full size of the packet buffer, not all bar the last position. | Document memset, and fix it so that it fills the full size of the packet buffer, not all bar the last position.
| Arduino | bsd-3-clause | neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube |
c0ad0c5d9f708763ec3f9aac13bcd87b50bc7783 | Arduino/Liberty/examples/TestSuite/TestSuite.ino | Arduino/Liberty/examples/TestSuite/TestSuite.ino | /*
TestSuite sketch
Use this sketch when running the Liberty Arduino Feature test suite.
*/
#include <EEPROM.h>
#include <Liberty.h>
Liberty liberty("TestNode");
boolean ns = false;
int nc = 0;
unsigned long ln;
byte bs[20];
void setup() {
liberty.sram(sramBytes, 20);
liberty.invocable("foo", &foo);
... | /*
TestSuite sketch
Use this sketch when running the Liberty Arduino Feature test suite.
*/
#include <EEPROM.h>
#include <Liberty.h>
Liberty liberty("TestNode");
boolean ns = false;
int nc = 0;
unsigned long ln;
byte bs[50];
void setup() {
liberty.sram(bs, 50);
liberty.invocable("foo", &foo);
libert... | Fix bug in sram size | Fix bug in sram size
| Arduino | apache-2.0 | WASdev/sample.arduino,WASdev/sample.arduino,WASdev/sample.arduino |
137a7746e5d70345ca01a6a50abf6ca40821abcb | SensorBoard.ino | SensorBoard.ino | #include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
RF24 radio(9,10);
const uint64_t pipes[2] = { 0xF0F0F0F001LL, 0xF0F0F0F002LL };
const byte shortAddr = 0x02;
int led = 13;
char switchStatus = 0;
char lampStatus = 0;
void setup(void)
{
Serial.begin(57600);
radio.begin();
radio.setAutoAck(false);
radio... | #include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
RF24 radio(9,10);
const uint64_t pipes[2] = { 0xF0F0F0F001LL, 0xF0F0F0F002LL };
const byte shortAddr = 0x02;
int led = 13;
byte lampStatus = 0;
byte switchStatus = 0;
void setup(void)
{
Serial.begin(57600);
radio.begin();
radio.setAutoAck(false);
radi... | Change packet type from char to byte | Change packet type from char to byte
| Arduino | apache-2.0 | Ertinfagor/RCHome,Ertinfagor/RCHome,Ertinfagor/RCHome |
e22dcf75cc3f04ba0db4a43a233aa6cd4d488c9e | main.ino | main.ino | #include "SI1145.h"
#include "HDC1000.h"
#include "HttpClient.h"
SI1145 uvIndex = SI1145();
HDC1000 tempSensor = HDC1000();
float temperature;
float humidity;
int uv;
int ir;
int visible;
float solarVoltage;
float batteryVoltage;
bool daytime;
typedef enum {
STATE_PROGRAM = 0,
STATE_BOOT,
STATE_WIFI_CONNECTING... | #include "SI1145.h"
#include "HDC1000.h"
#include "HttpClient.h"
SI1145 uvIndex = SI1145();
HDC1000 tempSensor = HDC1000();
float temperature;
float humidity;
int uv;
int ir;
int visible;
float solarVoltage;
float batteryVoltage;
bool daytime;
typedef enum {
STATE_PROGRAM = 0,
STATE_BOOT,
STATE_WIFI_CONNECTING... | reduce brightness of LED status to conserve battery power | reduce brightness of LED status to conserve battery power
| Arduino | mit | xtralean/solar-weather-station |
709187a40940104e27cc909696fb249ce0f86536 | test_SECFRAME/test_SECFRAME.ino | test_SECFRAME/test_SECFRAME.ino | /*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
softwar... | /*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
softwar... | test commit+push | TODO-632: test commit+push | Arduino | apache-2.0 | DamonHD/OTRadioLink,DamonHD/OTRadioLink,opentrv/OTRadioLink,Denzo77/OTRadioLink,DamonHD/OTRadioLink,Denzo77/OTRadioLink,opentrv/OTRadioLink,opentrv/OTRadioLink,Denzo77/OTRadioLink,opentrv/OTRadioLink,DamonHD/OTRadioLink,Denzo77/OTRadioLink |
58ea822389d6730246f634fa0068c4d8be735a22 | OpenStage/d_setupFunction.ino | OpenStage/d_setupFunction.ino |
void setup() {
bool verbose=0;
// Connect to the PC's serial port via the Arduino programming USB connection.
// This used mainly for printing de-bugging information to the PC's serial terminal
// during testing. [In future we will add the option for controlling the stage through
// the USB port]
Serial... |
void setup() {
bool verbose=0;
// Connect to the PC's serial port via the Arduino programming USB connection.
// This used mainly for printing de-bugging information to the PC's serial terminal
// during testing. [In future we will add the option for controlling the stage through
// the USB port]
Serial... | add more verbose messages to setup | add more verbose messages to setup
| Arduino | agpl-3.0 | raacampbell13/openstage,raacampbell13/openstage |
80bf0b53637a8eb1d09d6748129b796b7c4ef470 | Rollup_logic/Rollup_logic.ino | Rollup_logic/Rollup_logic.ino | #include <OneWire.h>
#include <DallasTemperature.h>
#define Open 1
#define Close 0
#define ONE_WIRE_BUS 2
#define ROLLUP1_OPEN 12//relais on/off - moteur1
#define ROLLUP1_CLOSE 11 //relais gauche/droite - moteur1
#define FAN 8 //relais ventilation forcée
#define CHAUFFAGE1 7 //relais fournaise1
#define CHAUFFAGE2 ... | #include <OneWire.h>
#include <DallasTemperature.h>
#define Open 1
#define Close 0
#define ONE_WIRE_BUS 3
#define ROLLUP1_OPEN 12//relais on/off - moteur1
#define ROLLUP1_CLOSE 11 //relais gauche/droite - moteur1
#define FAN 8 //relais ventilation forcée
#define CHAUFFAGE1 7 //relais fournaise1
#define CHAUFFAGE2 ... | Update Rollup_logic.ino | Update Rollup_logic.ino | Arduino | unlicense | LoupHC/Greenhouse-controller,LoupHC/Greenhouse-controller |
43551262afacc21358183b6cee87921e9eebdf6a | src/sketch_jan20a/sketch_jan20a.ino | src/sketch_jan20a/sketch_jan20a.ino | int lastInterruptIndex = -1;
char InterruptLog[256] = {0};
unsigned long TimeLog[256] = {0};
void setup()
{
Serial.begin(9600);
Serial.println("i am 12 and wat is this");
InitialiseIO();
InitialiseInterrupt();
Serial.println("Jonathan is blind");
}
void loop() {
/* Nothing to do: the program jumps automa... | int lastInterruptIndex = -1;
int headIntIndex = -1;
char InterruptLog[256] = {0};
unsigned long TimeLog[256] = {0};
bool ramOverflow = false;
void setup()
{
Serial.begin(9600);
Serial.println("i am 12 and wat is this");
InitialiseIO();
InitialiseInterrupt();
}
void loop() {
delay(500);
int kek = analogR... | Update from Tuesday | Update from Tuesday | Arduino | mit | bruinracing/DAQ2017,bruinracing/DAQ2017 |
aed895cbdd8023b8c7f90d72f1dede4e6339dc39 | Testbench/Encoder_TestBench/Software/Encoder/Encoder.ino | Testbench/Encoder_TestBench/Software/Encoder/Encoder.ino | // initialize encoder
#include<LiquidCrystal.h>
LiquidCrystal lcd(12,11,7,6,5,4);
#define encoderPinA 2
#define encoderPinB 3
float pi = 3.1415926;
int count = 0;
volatile int encoderCount = 0;
volatile float angle = 0;
volatile float velocity = 0;
volatile float angle_previous = 0;
volatile float angle_post = 0;
//i... | // initialize encoder
#include<LiquidCrystal.h>
LiquidCrystal lcd(12,11,7,6,5,4);
#define encoderPinA 2
#define encoderPinB 3
float pi = 3.1415926;
int count = 0;
volatile int encoderCount = 0;
volatile float angle = 0;
volatile float velocity = 0;
volatile float angle_previous = 0;
volatile float angle_post = 0;
//i... | Update Encoder.ino | Update Encoder.ino | Arduino | apache-2.0 | baranusluel/igvc-electrical,baranusluel/igvc-electrical,baranusluel/igvc-electrical |
286a28983077a0be2a0c0e340bc28a65426a66d5 | examples/TemperatureSensor/TemperatureSensor.ino | examples/TemperatureSensor/TemperatureSensor.ino | #include <Homie.h>
const int TEMPERATURE_INTERVAL = 300;
unsigned long lastTemperatureSent = 0;
HomieNode temperatureNode("temperature", "temperature");
void setupHandler() {
Homie.setNodeProperty(temperatureNode, "unit", "c", true);
}
void loopHandler() {
if (millis() - lastTemperatureSent >= TEMPERATURE_INTE... | #include <Homie.h>
const int TEMPERATURE_INTERVAL = 300;
unsigned long lastTemperatureSent = 0;
HomieNode temperatureNode("temperature", "temperature");
void setupHandler() {
Homie.setNodeProperty(temperatureNode, "unit", "c", true);
}
void loopHandler() {
if (millis() - lastTemperatureSent >= TEMPERATURE_INTE... | Fix examples - #123 | Fix examples - #123
| Arduino | mit | euphi/homie-esp8266,marvinroger/homie-esp8266,marvinroger/homie-esp8266,euphi/homie-esp8266,marvinroger/homie-esp8266,marvinroger/homie-esp8266,euphi/homie-esp8266,euphi/homie-esp8266 |
b12149649069a87b8972e1e450b7c206ced43715 | aquacontrol2.ino | aquacontrol2.ino | #include <Time.h>
#include <WiFiUdp.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <EEPROM.h>
#include <FS.h>
/*
extern "C" {
#include "user_interface.h"
}
*/
//https://gist.github.com/dogrocker/f998dde4dbac923c47c1
const char *defaultHostname = "aquacontrol2";
String WIFIssid;
String WI... | #include <Time.h>
#include <WiFiUdp.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <EEPROM.h>
#include <FS.h>
extern "C" {
#include "user_interface.h"
}
//https://gist.github.com/dogrocker/f998dde4dbac923c47c1
const char *defaultHostname = "aquacontrol2";
String WIFIssid;
String WIFIpassw... | Set CPU frequency to 160 Mhz. | Set CPU frequency to 160 Mhz.
| Arduino | mit | CelliesProjects/aquacontrol2,CelliesProjects/aquacontrol2 |
4305275f8d28c8c449d39d41290675ccceb01a94 | tests/device/test_http_client/test_http_client.ino | tests/device/test_http_client/test_http_client.ino | #include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <BSTest.h>
#include <pgmspace.h>
BS_ENV_DECLARE();
void setup()
{
Serial.begin(115200);
Serial.setDebugOutput(true);
WiFi.persistent(false);
WiFi.begin(getenv("STA_SSID"), getenv("STA_PASS"));
while (WiFi.status(... | #include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <BSTest.h>
#include <pgmspace.h>
BS_ENV_DECLARE();
void setup()
{
Serial.begin(115200);
Serial.setDebugOutput(true);
WiFi.persistent(false);
WiFi.begin(getenv("STA_SSID"), getenv("STA_PASS"));
while (WiFi.status(... | fix a very small typo in http client tests (#4633) | fix a very small typo in http client tests (#4633)
| Arduino | lgpl-2.1 | esp8266/Arduino,wemos/Arduino,esp8266/Arduino,lrmoreno007/Arduino,wemos/Arduino,sticilface/Arduino,Adam5Wu/Arduino,esp8266/Arduino,Adam5Wu/Arduino,wemos/Arduino,Adam5Wu/Arduino,sticilface/Arduino,sticilface/Arduino,lrmoreno007/Arduino,esp8266/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,sticilface/Arduino,Adam5Wu/Ardu... |
0a0209e6f050db5c93d086a44ea47f3cfc64d2bd | examples/CardinalSerialInputDegrees/CardinalSerialInputDegrees.ino | examples/CardinalSerialInputDegrees/CardinalSerialInputDegrees.ino | /******************************************************************************
CardinalSerialInputDegrees.ino
Cardinal Library example file
Originally Created: August 10, 2015
Written by DaAwesomeP (https://daawesomep.github.io/)
Project homepage at https://github.com/DaAwesomeP/arduino-cardinal
This s... | /******************************************************************************
CardinalSerialInputDegrees.ino
Cardinal Library example file
Originally Created: August 10, 2015
Written by DaAwesomeP (https://daawesomep.github.io/)
Project homepage at https://github.com/DaAwesomeP/arduino-cardinal
This s... | Update CardinalSerialInputDegrees.ino | Update CardinalSerialInputDegrees.ino | Arduino | apache-2.0 | DaAwesomeP/arduino-cardinal |
ff44f0782edfc9e29da07e57ca9560aec4cbbcb3 | arduino/arduino_md03_v_5_0/arduino_md03_v_5_0.ino | arduino/arduino_md03_v_5_0/arduino_md03_v_5_0.ino | /***************************************************
ArcEyes MD03 I2C sandbox
by David Wilman
MD03 over I2C code by By James Henderson 2012
****************************************************/
#include <Wire.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
//int LCD pins ... | /***************************************************
ArcEyes MD03 I2C sandbox
by David Wilman
MD03 over I2C code by By James Henderson 2012
****************************************************/
#include <Wire.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
//int LCD pins ... | Add serial commands | Add serial commands
| Arduino | apache-2.0 | Pitchless/arceye,Pitchless/arceye |
6c820d051bcb2c8d8d80d3d8955af8f3bd4ccd0c | Sensors/GreenhouseSensor/greenhouse/greenhouse.ino | Sensors/GreenhouseSensor/greenhouse/greenhouse.ino | #include <DHT.h>
/*
Web Server
A simple web server that shows the value of the analog input pins.
using an Arduino Wiznet Ethernet shield.
Circuit:
* Ethernet shield attached to pins 10, 11, 12, 13
* Analog inputs attached to pins A0 through A5 (optional)
created 18 Dec 2009
by David A. Mellis
modified 9 ... | // The DHT library for the temp sensor (I used V 1.2.3 by adafruit)
#include <DHT.h>
#include <SPI.h>
#include <Ethernet.h>
// Data wire is plugged into port 7 on the Arduino
// Connect a 4.7K resistor between VCC and the data pin (strong pullup)
#define DHT22_PIN 7
// LDR Pin
const int ldrInPin = A1;
// Reseviou... | Improve formatting and layout | Improve formatting and layout
| Arduino | apache-2.0 | rossdargan/PRTG-Sensors |
d3debb64c9bccb4d7cebb1930fa2f5dc7a0578a3 | libraries/esp8266/examples/NTP-TZ-DST/NTP-TZ-DST.ino | libraries/esp8266/examples/NTP-TZ-DST/NTP-TZ-DST.ino | /*
NTP-TZ-DST (v2)
NetWork Time Protocol - Time Zone - Daylight Saving Time
This example shows:
- how to read and set time
- how to set timezone per country/city
- how is local time automatically handled per official timezone definitions
- how to change internal sntp start and update delay
- how to use... | /*
NTP-TZ-DST (v2)
NetWork Time Protocol - Time Zone - Daylight Saving Time
This example shows:
- how to read and set time
- how to set timezone per country/city
- how is local time automatically handled per official timezone definitions
- how to change internal sntp start and update delay
- how to use... | Expand NTP-TZ-DST example to list SNTP servers (#6611) | Expand NTP-TZ-DST example to list SNTP servers (#6611)
This change expands the NTP-TZ-DST example to list the active
SNTP servers. It lists the IP address server name (if used) and
reachability in ntpq style octal format.
Tests:
- Build against all LwIP stack configurations and correct
operation with a sing... | Arduino | lgpl-2.1 | esp8266/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino,esp8266/Arduino,sticilface/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,sticilface/Arduino |
eba1d65345fda2b59302fd649cebc0fae7860619 | src/piggy_back_loggers/SD_prototype_Firmware/Firmware/Firmware.ino | src/piggy_back_loggers/SD_prototype_Firmware/Firmware/Firmware.ino | // Firmware for the CIWS Residential Datalogger
// Arduino IDE ver. 1.8.7
// Utah Water Research Lab
// Updated: 10/25/2018
// Daniel Henshaw and Josh Tracy
// Note: F("String") keeps string literals in program memory and out of RAM. Saves RAM space. Very good. Don't remove the F. I know it looks funny. But don't do it... | // Firmware for the CIWS Residential Datalogger
// Arduino IDE ver. 1.8.7
// Utah Water Research Lab
// Updated: 10/25/2018
// Daniel Henshaw and Josh Tracy
// Note: F("String") keeps string literals in program memory and out of RAM. Saves RAM space. Very good. Don't remove the F. I know it looks funny. But don't do it... | Update Firmware.ino | Update Firmware.ino | Arduino | bsd-3-clause | UCHIC/WaterMonitor |
e6e6a2f927646b911feab5b7a449f88a4072f0c9 | src/piggy_back_loggers/SD_prototype_Firmware/Firmware/Firmware.ino | src/piggy_back_loggers/SD_prototype_Firmware/Firmware/Firmware.ino | // Firmware for the CIWS Residential Datalogger
// Arduino IDE ver. 1.8.7
// Utah Water Research Lab
// Updated: 10/25/2018
// Daniel Henshaw and Josh Tracy
// Note: F("String") keeps string literals in program memory and out of RAM. Saves RAM space. Very good. Don't remove the F. I know it looks funny. But don't do it... | // Firmware for the CIWS Residential Datalogger
// Arduino IDE ver. 1.8.7
// Utah Water Research Lab
// Updated: 10/25/2018
// Daniel Henshaw and Josh Tracy
// Note: F("String") keeps string literals in program memory and out of RAM. Saves RAM space. Very good. Don't remove the F. I know it looks funny. But don't do it... | Update Firmware.ino | Update Firmware.ino | Arduino | bsd-3-clause | UCHIC/WaterMonitor |
4aadeeb9cca7c9cbc7d7b94301966fbaf93b0761 | examples/FirebaseRoom_ESP8266/FirebaseRoom_ESP8266.ino | examples/FirebaseRoom_ESP8266/FirebaseRoom_ESP8266.ino | //
// Copyright 2015 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | //
// Copyright 2015 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | Switch to using const ints for example | Switch to using const ints for example
| Arduino | apache-2.0 | FirebaseExtended/firebase-arduino,FirebaseExtended/firebase-arduino,gguuss/firebase-arduino,aliafshar/firebase-arduino,aliafshar/firebase-arduino,aliafshar/firebase-arduino,FirebaseExtended/firebase-arduino,gguuss/firebase-arduino,gguuss/firebase-arduino |
4d4261ae6369005381f8ac4e49bbb508d0ea33e0 | DysonRemote.ino | DysonRemote.ino | #include <Wire.h>
#include <L3G4200D.h>
#include <RTClib.h>
#include "dyson.h"
#include "time.h"
#define DEBUG
// PIN with IR LED
#define IR_LED_PIN 3
// Set the hour to start the Dyson
#define START_HOUR 6 // 6 AM
//#define START_HOUR 20 // 8 PM
// Set the minute to start the Dyson
#define START_MINUTE 43
// S... | #include <Wire.h>
#include <L3G4200D.h>
#include <RTClib.h>
#include "dyson.h"
#include "time.h"
#define DEBUG
// PIN with IR LED
#define IR_LED_PIN 3
// Set the hour to start the Dyson
#define START_HOUR 6 // 6 AM
//#define START_HOUR 20 // 8 PM
// Set the minute to start the Dyson
#define START_MINUTE 0
// Se... | Set minute to 0 | Set minute to 0
| Arduino | mit | francisbesset/DysonRemote |
08b471332de8a8c0ee94f6e30630240fa432166b | examples/GettingStarted/BlynkBlink/BlynkBlink.ino | examples/GettingStarted/BlynkBlink/BlynkBlink.ino | /*******************************************************************
Blynk lets you create beautiful drag-and-drop visual interfaces
for your projects in 5 minutes. And it works with almost every
hardware out there.
Docs, Tutorials, everything: http://www.blynk.cc
Github: http://github.com/... | /*******************************************************************
Blynk lets you create beautiful drag-and-drop visual interfaces
for your projects in 5 minutes. And it works with almost every
hardware out there.
Docs, Tutorials, everything: http://www.blynk.cc
Github: http://github.com/... | Update BlynkBlink.ino | Update BlynkBlink.ino | Arduino | mit | ivankravets/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library |
471bf6b7bb8ee17308bb143c98c4d501deeef68a | ArduboyLife.ino | ArduboyLife.ino | /*
Copyright (c) 2015 Scott Allen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sub... | /*
Copyright (c) 2015 Scott Allen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sub... | Use false to init boolean soundOn instead of 0. No change in functionality. | Use false to init boolean soundOn instead of 0.
No change in functionality.
| Arduino | mit | MLXXXp/ArduboyLife |
c445ee8a383e8e115d3d310d5bcb725249af4e40 | LiquidSensor/LiquidSensor.ino | LiquidSensor/LiquidSensor.ino | // Liquid Level Sensor Sketch
// Show the raw resistance values measured from an eTape liquid level sensor.
// See details on the sensor at:
// https://www.adafruit.com/products/1786
// Created by Tony DiCola
// Released under an MIT license: http://opensource.org/licenses/MIT
// Configuration values:
#define SERI... | // Liquid Level Sensor Sketch
// Show the raw resistance values measured from an eTape liquid level sensor.
// See details on the sensor at:
// https://www.adafruit.com/products/1786
// Created by Tony DiCola
// Released under an MIT license: http://opensource.org/licenses/MIT
// Configuration values:
#define SERI... | Reset calibration data | Reset calibration data | Arduino | mit | tdicola/SmartMeasuringCup |
fbdc8198eb4cff4fe92b901d467ca2e0941e1060 | TinyScreenClockAndDisplay/TinyScreenClockAndDisplay.ino | TinyScreenClockAndDisplay/TinyScreenClockAndDisplay.ino | #define BLACK 0x00
#define BLUE 0xE0
#define RED 0x03
#define GREEN 0x1C
#define DGREEN 0x0C
#define YELLOW 0x1F
#define WHITE 0xFF
#define ALPHA 0xFE
#define BROWN 0x32
// Define colors
#include "SSD1331.h"
#include <SPI.h>
... | #define BLACK 0x00
#define BLUE 0xE0
#define RED 0x03
#define GREEN 0x1C
#define DGREEN 0x0C
#define YELLOW 0x1F
#define WHITE 0xFF
#define ALPHA 0xFE
#define BROWN 0x32
// Define colors
#include "SSD1331.h"
#include <SPI.h>
... | Clean up take two | Clean up take two | Arduino | apache-2.0 | SammyDuino/watchOS |
146ae9a92eadc7a5a8e27bc9eb78211ecd1dc811 | examples/all-sensor-display/all-sensor-display.ino | examples/all-sensor-display/all-sensor-display.ino | #include <ArdusatSDK.h>
#define SHOW_LOGO_DELAY_MS 3000
#define OLED_RESET 4
#define OLED_I2C 0x3C
Display display;
Acceleration acc;
Gyro gyr;
Luminosity lum;
RGBLightTCS rgb(TCS34725_INTEGRATIONTIME_24MS);
Magnetic mag;
Temperature tmp;
UVLight uvl;
enum SENSORSTATE {
ACCELERATION, // accel... | #include <ArdusatSDK.h>
#define SHOW_LOGO_DELAY_MS 3000
#define OLED_RESET 4
#define OLED_I2C 0x3C
Display display;
Acceleration acc;
Gyro gyr;
Luminosity lum;
RGBLightTCS rgb(TCS34725_INTEGRATIONTIME_24MS);
Magnetic mag;
Temperature tmp;
UVLight uvl;
enum SENSORSTATE {
ACCELERATION, // accel... | Update all-sensor-display.ino | Update all-sensor-display.ino | Arduino | apache-2.0 | ArduSat/ArdusatSDK,ArduSat/ArdusatSDK,ArduSat/ArdusatSDK |
294408acacb037c97532e68992222ce9e78b0372 | examples/01.Basics/TroubleButton/TroubleButton.ino | examples/01.Basics/TroubleButton/TroubleButton.ino | #include <ParkingShield.h>
/* #define BUTTON_S1 A0
#define LED_1 A4
*/
static const uint8_t PinDefSet =A0;
static const uint8_t PinDefReset =A1;
static const uint8_t PinDefLedRed =A4;
static const uint8_t PinDefLedYellow =A5;
int TureCounter=0;
bool pressed = false;
//siehe pins_arduino.h
void... | #include <ParkingShield.h>
/* #define BUTTON_S1 A0
#define LED_1 A4
*/
const uint8_t PinDefSet =A0;
const uint8_t PinDefReset =A1;
const uint8_t PinDefLedRed =A4;
const uint8_t PinDefLedYellow =A5;
int TrueCounter=0;
bool pressed = false;
//siehe pins_arduino.h
void setup()
{
/*
* wesentl... | Fix TroubleButton sketch | Fix TroubleButton sketch
| Arduino | mit | iotl/IoT-Shield-Firmware |
00bc89eb4845c1547add8d924c8c1b25843af338 | tests/device/test_http_client/test_http_client.ino | tests/device/test_http_client/test_http_client.ino | #include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <BSTest.h>
#include <pgmspace.h>
BS_ENV_DECLARE();
void setup()
{
Serial.begin(115200);
Serial.setDebugOutput(true);
WiFi.persistent(false);
WiFi.begin(getenv("STA_SSID"), getenv("STA_PASS"));
while (WiFi.status(... | #include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClientSecureAxTLS.h>
#include <BSTest.h>
#include <pgmspace.h>
BS_ENV_DECLARE();
void setup()
{
Serial.begin(115200);
Serial.setDebugOutput(true);
WiFi.persistent(false);
WiFi.begin(getenv("STA_SSID"), getenv("S... | fix compilation error - can't find axTLS::WiFiServerSecure (#5407) | fix compilation error - can't find axTLS::WiFiServerSecure (#5407)
| Arduino | lgpl-2.1 | sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,sticilface/Arduino,esp8266/Arduino,Lan-Hekary/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino |
1c6b1c530f1c97c882398ed073d3501e77c6d766 | usermods/ssd1306_i2c_oled_u8g2/wled06_usermod.ino | usermods/ssd1306_i2c_oled_u8g2/wled06_usermod.ino | #include <U8x8lib.h> // from https://github.com/olikraus/u8g2/
//The SCL and SDA pins are defined here.
//Lolin32 boards use SCL=4 SDA=5
#define U8X8_PIN_SCL 5
#define U8X8_PIN_SDA 4
// If display does not work or looks corrupted check the
// constructor reference:
// https://github.com/olikraus/u8g2/wiki/u8x8setu... | #include <U8x8lib.h> // from https://github.com/olikraus/u8g2/
//The SCL and SDA pins are defined here.
//Lolin32 boards use SCL=5 SDA=4
#define U8X8_PIN_SCL 5
#define U8X8_PIN_SDA 4
// If display does not work or looks corrupted check the
// constructor reference:
// https://github.com/olikraus/u8g2/wiki/u8x8setu... | Update wled06_usermod.ino | Update wled06_usermod.ino
Corrected pin numbering | Arduino | mit | Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED |
40ff5ea5b45e53c7e5a2ed47ce88d55129aaeaff | sketches/EnerginoYun/EnerginoYun.ino | sketches/EnerginoYun/EnerginoYun.ino | /*
* Energino
*
* Energino Yun is a energy consumption meter for DC loads
*
* This sketch connects an Arduino equipped with the Energino
* shield and with an Ethernet shield with a web service
* implementing the COSM (formely Pachube) REST API. It also
* implements a serial interface.
*
* Circuit:
* Analo... | /*
* Energino
*
* Energino Yun is a energy consumption meter for DC loads
*
* This sketch connects an Arduino equipped with the Energino
* shield and with an Ethernet shield with a web service
* implementing the COSM (formely Pachube) REST API. It also
* implements a serial interface.
*
* Circuit:
* Analo... | fix documentation error | fix documentation error
| Arduino | bsd-3-clause | rriggio/energino,rriggio/energino,rriggio/energino,rriggio/energino |
5374a0820c836a02c8fc227861cb64391040679e | examples/EtherEventExample2/EtherEventExample2.ino | examples/EtherEventExample2/EtherEventExample2.ino | //Example sketch demonstrating advanced usage of the EtherEvent library.
#include <SPI.h> //these libraries are required by EtherEvent
#include "Ethernet.h"
#include "MD5.h"
//#include "Entropy.h" //uncomment this line if you have the Entropy library installed
#include "EtherEvent.h" //include the EtherEvent library... | //Example sketch demonstrating advanced usage of the EtherEvent library.
#include <SPI.h> //these libraries are required by EtherEvent
#include "Ethernet.h"
#include "MD5.h"
//#include "Entropy.h" //uncomment this line if you have the Entropy library installed
#include "EtherEvent.h" //include the EtherEvent library... | Use F() in send() | Use F() in send()
| Arduino | mit | per1234/EtherEvent |
80ff9b28da23de035dab8ab08e16ab9d3180ed63 | examples/DMX2Ethernet/DMX2Ethernet.ino | examples/DMX2Ethernet/DMX2Ethernet.ino | /**************************************************************************/
/*!
@file DMX2Ethernet.ino
@author Claude Heintz
@license BSD (see LXDMXEthernet.h)
@copyright 2015-2017 by Claude Heintz
Example using LXDMXEthernet_Library for input from DMX to Art-Net or E1.31 sACN
Art-... | /**************************************************************************/
/*!
@file DMX2Ethernet.ino
@author Claude Heintz
@license BSD (see LXDMXEthernet.h)
@copyright 2015-2017 by Claude Heintz
Example using LXDMXEthernet_Library for input from DMX to Art-Net or E1.31 sACN
Art-... | update 2Network example | update 2Network example
| Arduino | bsd-3-clause | claudeheintz/LXDMXEthernet_library,claudeheintz/LXDMXEthernet_library |
aabfd73c3a47af9d3d633a61c8bf7d536efc0970 | libraries/LittleFS/examples/SpeedTest/SpeedTest.ino | libraries/LittleFS/examples/SpeedTest/SpeedTest.ino | // Simple speed test for filesystem objects
// Released to the public domain by Earle F. Philhower, III
#include <FS.h>
#include <LittleFS.h>
// Choose the filesystem to test
// WARNING: The filesystem will be formatted at the start of the test!
#define TESTFS LittleFS
//#define TESTFS SPIFFS
//#define TESTFS SDFS
... | // Simple speed test for filesystem objects
// Released to the public domain by Earle F. Philhower, III
#include <FS.h>
#include <LittleFS.h>
// Choose the filesystem to test
// WARNING: The filesystem will be formatted at the start of the test!
#define TESTFS LittleFS
//#define TESTFS SPIFFS
//#define TESTFS SDFS
... | Clean up SpeedTest output, avoid div-by-0 (#8340) | Clean up SpeedTest output, avoid div-by-0 (#8340)
Use a formatting function to give more human-readable output formats
for flash bandwidth. When the test starts and ends in less than one
millisecond, report as "Infinite".
Sample output:
````
Creating 512KB file, may take a while...
==> Time to write 512KB in ... | Arduino | lgpl-2.1 | esp8266/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino |
d01d1c9ca0e5688fa362d223aaac80e8b3acc7f7 | little-switches/arduino/3_setup-rel/3_setup-rel.ino | little-switches/arduino/3_setup-rel/3_setup-rel.ino | #include <PS2Keyboard.h>
const int DataPin = 9;
const int IRQpin = 3;
#define pot A3
PS2Keyboard keyboard;
long t1 = 0;
long t2 = 0;
long t3 = 0;
long t4 = 0;
long t5 = 0;
long t6 = 0;
long t7 = 0;
long t8 = 0;
long t9 = 0;
long t0 = 0;
int tempo = 0;
void setup() {
delay(1000);
keyboard.begin(DataPin, IRQpi... | #include <PS2Keyboard.h>
const int DataPin = 9;
const int IRQpin = 3;
#define pot A3
PS2Keyboard keyboard;
long t1 = 0;
long t2 = 0;
long t3 = 0;
long t4 = 0;
long t5 = 0;
long t6 = 0;
long t7 = 0;
long t8 = 0;
int tempo = 0;
void setup() {
delay(1000);
keyboard.begin(DataPin, IRQpin);
Serial.begin(9600);
... | fix code | fix code
| Arduino | unlicense | paolocavagnolo/plastik-art_democracy |
84634fa4b079bca6770756b7388618dd76cc53e8 | examples/Boards_GSM/SIM800_SIM900/SIM800_SIM900.ino | examples/Boards_GSM/SIM800_SIM900/SIM800_SIM900.ino | /**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
* Downloads, docs, tuto... | /**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
* Downloads, docs, tuto... | Update example | Update example
| Arduino | mit | ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library |
b87fb91eb7f45d159c6baa012486c84b709f81be | UltraSonicRangeFinder/UltraSonicHC-Sr04/NewPing/UltrasonicHCSR04NewPing.ino | UltraSonicRangeFinder/UltraSonicHC-Sr04/NewPing/UltrasonicHCSR04NewPing.ino | #include <NewPing.h>
#define TRIGGER_PIN 12
#define ECHO_PIN 11
#define MAX_DISTANCE 300
NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); // NewPing setup of pins and maximum distance.
void setup() {
Serial.begin(9600);
}
void loop() {
delay(50);
unsigned int uS = sonar.ping_cm();
Serial.print(uS... | #include <NewPing.h>
#define TRIGGER_PIN 12
#define ECHO_PIN 11
#define MAX_DISTANCE 1000
NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); // NewPing setup of pins and maximum distance.
void setup() {
Serial.begin(9600);
}
void loop() {
delay(50);
unsigned int uS = sonar.ping_cm();
//Between 3 me... | Update UltrasonicHCSR04NewPing.ino | Update UltrasonicHCSR04NewPing.ino | Arduino | mit | EC544-2015-Group2/Challenge4,EC544-2015-Group2/Challenge4 |
49ad1531c2f68414aa47a1cb8cfa5f4f7880c145 | MoveActuator/MoveSteeringSerial/MoveSteeringSerial.ino | MoveActuator/MoveSteeringSerial/MoveSteeringSerial.ino | #include <Settings.h>
#include <Servo.h>
Servo steer, brake;
void setup() {
// put your setup code here, to run once:
brake.attach(BRAKE_OUT_PIN);
steer.attach(STEER_OUT_PIN);
Serial.begin(9600);
}
int sig = 1500;
bool h = false;
void loop() {
// put your main code here, to run repeatedly:
if(Serial.ava... | #include <Settings.h>
#include <Servo.h>
Servo steer, brake;
void setup() {
// put your setup code here, to run once:
pinMode(BRAKE_OUT_PIN, OUTPUT);
steer.attach(STEER_OUT_PIN);
Serial.begin(9600);
}
int sig = 1500;
bool h = false;
void loop() {
// put your main code here, to run repeatedly:
if(Serial.... | Set pin mode of brake pin in MoveSteeringSerial to output. | Set pin mode of brake pin in MoveSteeringSerial to output.
| Arduino | mit | jbobotek/elcano,jbobotek/elcano,jbobotek/elcano,jbobotek/elcano,jbobotek/elcano,jbobotek/elcano |
a6db5cc149b4d432ac67b05c6339b42665eab7a6 | src/current_sketch.ino | src/current_sketch.ino | #include "LedControl.h"
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// pin to sink LED current from 3.3 v source
#define motionSensor 5
#define motionLED 6
#define numOfDisplay 2
#define RELAY_PIN 7
#define CURRENT_SENSOR_PIN 0
LedControl lc=LedControl(2,3,4,numOfDisplay);
LiquidCrystal_I2C lcd(0x27, 2... | #include <LedControl.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// pin to sink LED current from 3.3 v source
#define motionSensor 5
#define motionLED 6
#define numOfDisplay 2
#define RELAY_PIN 7
#define CURRENT_SENSOR_PIN 0
LedControl lc=LedControl(2,3,4,numOfDisplay);
LiquidCrystal_I2C lcd(0x27, 2... | fix typo in current_sketch.ino | fix typo in current_sketch.ino
| Arduino | mit | icve/liv-Ard,icve/liv-Ard,icve/liv-Ard,icve/liv-Ard,icve/liv-Ard |
504b7ac3386acaa3896811114d47fec03408714b | RotaryEncoder/examples/E01_KY-040_RotaryEncoder/E01_KY-040_RotaryEncoder.ino | RotaryEncoder/examples/E01_KY-040_RotaryEncoder/E01_KY-040_RotaryEncoder.ino | // Getting Started: E01 KY-040 RotaryEncoder Demo
//
// Search string:
// "ky-040 rotary decoder encoder module for arduino"
//
// Functions:
// Rotate CW: count up 0..15, 0
// Rotate CCW: count down 0, 15..0
// Push Button: reset counter to 0
//
//
// Wiring:
// KY-040 ... | // Getting Started: E01 KY-040 RotaryEncoder Demo
//
// Web Search String:
// "ky-040 rotary decoder encoder module for arduino"
//
// Functions:
// Rotate CW: count up 0..15, 0
// Rotate CCW: count down 0, 15..0
// Push Button: reset counter to 0
//
//
// Wiring:
// ... | Update E01_KY-040_RotaryEncoder.ino | Update E01_KY-040_RotaryEncoder.ino | Arduino | mit | artkeller/RotaryEncoder |
18ea1121314b00f22aea51f8100452fcda8ae060 | examples/WriteTag/WriteTag.ino | examples/WriteTag/WriteTag.ino | #include <Wire.h>
#include <Adafruit_NFCShield_I2C.h>
#include <NfcAdapter.h>
NfcAdapter nfc = NfcAdapter();
void setup() {
Serial.begin(115200);
Serial.println("NDEF Writer");
nfc.begin();
}
void loop() {
Serial.println("\nPlace a formatted Mifare Classic NFC tag on the reader.");
if (nfc.... | #include <Wire.h>
#include <Adafruit_NFCShield_I2C.h>
#include <NfcAdapter.h>
NfcAdapter nfc = NfcAdapter();
void setup() {
Serial.begin(9600);
Serial.println("NDEF Writer");
nfc.begin();
}
void loop() {
Serial.println("\nPlace a formatted Mifare Classic NFC tag on the reader.");
if (nfc.ta... | check return code from write | check return code from write
| Arduino | bsd-3-clause | abcd-ca/NDEF,abcd-ca/NDEF,jlkalberer/NDEF,jlkalberer/NDEF |
1c824667f4e742dbb4eba13680519d5d00a8490c | Atom_Node.ino | Atom_Node.ino | /*
BeaconDemoCodeV0.2.ino
2012 Copyright (c) Seeed Technology Inc. All right reserved.
Author:Loovee
2012-12-3
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
vers... | /*
BeaconDemoCodeV0.2.ino
2012 Copyright (c) Seeed Technology Inc. All right reserved.
Author:Loovee
2012-12-3
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
vers... | add sensor id to rfdata frame | add sensor id to rfdata frame
| Arduino | mit | Seeed-Studio/Atom_Node,Seeed-Studio/Atom_Node |
075f9d4306738daebe7493159805f3f97907e839 | sketches/midi_organ_debounce/midi_organ_debounce.ino | sketches/midi_organ_debounce/midi_organ_debounce.ino | #include <midi_Defs.h>
#include <midi_Namespace.h>
#include <midi_Settings.h>
#include <midi_Message.h>
#include <MIDI.h>
/*
Test serial-MIDI commands from a 61-key keyboard.
The circuit:
* Up to five OrganDuino 2.0 PCB shields populated with diodes
* 61-key organ manuals soldered in with buss soldered to a Drive ... | #include <midi_Defs.h>
#include <midi_Namespace.h>
#include <midi_Settings.h>
#include <midi_Message.h>
#include <MIDI.h>
/*
OrganDuino: serial-MIDI commands from multiple 61-key organ manuals and pedalboard.
The circuit:
* Up to five OrganDuino 2.0 PCB shields populated with diodes
* 61-key organ manuals soldered... | Improve documentation for debounce option | DOC: Improve documentation for debounce option | Arduino | apache-2.0 | JDWarner/organduino |
8cacb76594ff727c4e2345f1d21265c88adcc436 | code/oakpowerboard/oakpowerboard.ino | code/oakpowerboard/oakpowerboard.ino | #include <Wire.h>
#include <EEPROM.h>
//https://github.com/squix78/esp8266-oled-ssd1306
#include "SSD1306.h"
#include "SSD1306Ui.h"
//Resources included with the sketch
#include "roboto_10.h"
#include "roboto_12.h"
#include "roboto_thin_20.h"
#include "images.h"
#include "eepromanything.h"
#define PULSES_PER_KWH 37... | #include <Wire.h>
#include <EEPROM.h>
//https://github.com/squix78/esp8266-oled-ssd1306
#include "SSD1306.h"
#include "SSD1306Ui.h"
//Resources included with the sketch
#include "roboto_10.h"
#include "roboto_12.h"
#include "roboto_thin_20.h"
#include "images.h"
#include "eepromanything.h"
#define PULSES_PER_KWH 37... | Change debug pin to on-board LED | Change debug pin to on-board LED
| Arduino | cc0-1.0 | DJFliX/OakPowerBoard,DJFliX/OakPowerBoard |
d208aee34326ba5ad9946a49b7215969fd1240ff | firmware/wibean-firmwarev2.ino | firmware/wibean-firmwarev2.ino | // This #include statement was automatically added by the Spark IDE.
#include "SortedLookupTable.h"
// this is used for access to hardware timers
//#include "SparkIntervalTimer/SparkIntervalTimer.h"
// for now, we have to put everything in one directory for the spark-cli
// compile command to work
#include "SparkInte... | // This #include statement was automatically added by the Spark IDE.
#include "SortedLookupTable.h"
// this is used for access to hardware timers
//#include "SparkIntervalTimer/SparkIntervalTimer.h"
// for now, we have to put everything in one directory for the spark-cli
// compile command to work
#include "SparkInte... | add debug guard | add debug guard
missing debug guard
| Arduino | apache-2.0 | WiBean/microcode-v2,WiBean/microcode-v2 |
b7ca079d9dbc84ff4edf28973a2d45c863884676 | examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino | examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino | /**
* This is a kind of unit test for DEV for now
* It contains many of the public methods
*
*/
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
#include <time.h>
#include <stdio.h>
#define USEOTA
// enable OTA
#ifdef USEOTA
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#endif
const char* modes[] ... | /**
* This is a kind of unit test for DEV for now
* It contains many of the public methods
*
*/
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
#include <time.h>
#include <stdio.h>
#define USEOTA
// enable OTA
#ifdef USEOTA
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#endif
const char* modes[] ... | add favicon example | add favicon example
| Arduino | mit | tzapu/WiFiManager,tzapu/WiFiManager,tzapu/WiFiManager,tzapu/WiFiManager,tzapu/WiFiManager |
3c094cdc276834f0702f5b074fb1c4ff7e773007 | arduino/ClipperTracker.ino | arduino/ClipperTracker.ino | /*
* Copyright 2017 Phil Haigh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | /*
* Copyright 2017 Phil Haigh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | Update number styles | Update number styles
| Arduino | apache-2.0 | surfsoft/ClipperRaceTracker,surfsoft/ClipperRaceTracker,surfsoft/ClipperRaceTracker,surfsoft/ClipperRaceTracker |
ae0342ff706551f83dfa4c7d0afec300be8e507d | testing/arduino/self-driving.ino | testing/arduino/self-driving.ino | #include "Arduino.h"
// defines pins numbers
const uint8_t trigPin = 9;
const uint8_t echoPin = 10;
const uint8_t motorPin1_1 = 4;
const uint8_t motorPin1_2 = 5;
const uint8_t motorPin1_speed = 3;
const uint8_t motorPin1_A = A7;
const uint8_t motorPin2_1 = 7;
const uint8_t motorPin2_2 = 8;
const uint8_t motorPin2_sp... | #include "Arduino.h"
// defines pins numbers
const uint8_t trigPin = 9;
const uint8_t echoPin = 10;
const uint8_t ledPin = 11;
const uint8_t motorPin1_1 = 4;
const uint8_t motorPin1_2 = 5;
const uint8_t motorPin2_1 = 7;
const uint8_t motorPin2_2 = 8;
const uint8_t motorEnablePin = 3;
const uint8_t rangeLimit = 1... | update sketch | update sketch
| Arduino | apache-2.0 | MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI |
001cab44592510cf9ea799d7a6f34d237d5b149c | libraries/MemoryFree/examples/freeMemory/freeMemory.ino | libraries/MemoryFree/examples/freeMemory/freeMemory.ino | /*
* Copyright (c) 2016 Intel Corporation. All rights reserved.
* See the bottom of this file for the license terms.
*/
#include <MemoryFree.h>
void setup () {
Serial.begin(9600);
while(!Serial);
}
void loop() {
char *p;
Serial.println("Free memory: " + String(freeMemory()));
Serial.println(... | /*
* freeMemory.ino: This sketch demonstrates the use of the freeMemory()
* function to measure the amount of free memory available in the system,
* before and after using 'malloc' to allocate some memory.
*
* Copyright (c) 2016 Intel Corporation. All rights reserved.
* See the bottom of this file for the licens... | add introductory comment | freeMemory.ino: add introductory comment
| Arduino | lgpl-2.1 | SidLeung/corelibs-arduino101,SidLeung/corelibs-arduino101,bigdinotech/corelibs-arduino101,yashaswini-hanji/corelibs-arduino101,sandeepmistry/corelibs-arduino101,sgbihu/corelibs-arduino101,01org/corelibs-arduino101,sgbihu/corelibs-arduino101,yashaswini-hanji/corelibs-arduino101,bigdinotech/corelibs-arduino101,sandeepmis... |
14f00d518a9cba7de04b50e049a24efe3af6d4cb | examples/ReadNUID/ReadNUID.ino | examples/ReadNUID/ReadNUID.ino | /*
Kiara Navarro
sophiekovalevsky arroba fedoraproject.org
www.panamahitek.com
*/
/*
Pinaje (MFRC522 hacia Arduino)
MFRC522 pin SDA hacia el pin 10
MFRC522 pin SCK hacia el pin 13
MFRC522 pin MOSI hacia el pin 11
MFRC522 pin MISO hacia el pin 12
MFRC522 pin GND a tierra
MFRC522 pin RST hacia el pin 9
MFRC522 ... | /*
Kiara Navarro
sophiekovalevsky arroba fedoraproject.org
www.panamahitek.com
*/
/*
Pinaje (MFRC522 hacia Arduino)
MFRC522 pin SDA hacia el pin 10
MFRC522 pin SCK hacia el pin 13
MFRC522 pin MOSI hacia el pin 11
MFRC522 pin MISO hacia el pin 12
MFRC522 pin GND a tierra
MFRC522 pin RST hacia el pin 9
MFRC522 ... | Add comment to the NUIDRead. | Add comment to the NUIDRead.
| Arduino | unlicense | miguelbalboa/rfid,Rotzbua/rfid,Rotzbua/rfid,hramrach/rfid |
a8e2164e6054aa1e2db9c4a34a83f34447e6a31d | firmware/examples/mobicle.ino | firmware/examples/mobicle.ino | // This #include statement was automatically added by the Particle IDE.
#include "ncd_gateway/ncd_gateway.h"
// Data packet structure:
// [0] - Header: [186: Bus scan, 187: packet of packets, 188: i2c_read/i2c_write, 189: i2c_write_mask, 190: delay]
//Bus Scan (186)
// [1] - chunk: 0=1-32, 1=33-64, 2=65-96, 3=97-127
... | // This #include statement was automatically added by the Particle IDE.
#include "ncd_gateway/ncd_gateway.h"
// Data packet structure:
// [0] - Header: [186: Bus scan, 187: packet of packets, 188: i2c_read/i2c_write, 189: i2c_write_mask, 190: delay]
//Bus Scan (186)
// [1] - chunk: 0=1-32, 1=33-64, 2=65-96, 3=97-127
... | Update mobicle.ino | Update mobicle.ino | Arduino | mit | ControlEverythingCom/ncd_gateway,ControlEverythingCom/ncd_gateway |
8eddf462387bfd753f122d66e5531ee977f66d9a | arduinoHm/arduinoHm.ino | arduinoHm/arduinoHm.ino | int serValue = 0;
int serData[10];
int controlM = 0;
// Button values are reversed because of pullup resistors
int pedalUp = 1;
int pedalDown = 0;
boolean rightPedalWasDown = false;
void setup() {
//Setup mouse buttons
pinMode(2,INPUT_PULLUP);
pinMode(3,INPUT_PULLUP);
Serial1.setTimeout(10);
//while (!Ser... | int serValue = 0;
int serData[10];
int controlM = 0;
// Button values are reversed because of pullup resistors
int pedalUp = 1;
int pedalDown = 0;
boolean leftPedalWasDown = false;
boolean rightPedalWasDown = false;
void setup() {
//Setup mouse buttons
pinMode(2,INPUT_PULLUP);
pinMode(3,INPUT_PULLUP);
Serial... | Add clean left and right click support. | Add clean left and right click support.
| Arduino | bsd-3-clause | aranchelk/headmouse |
f574882b5c86a93c87af8075c1210477e47abeee | scripts-arduino/bp_led_lp.ino | scripts-arduino/bp_led_lp.ino | // #### Constantes ###
const int buttonPin = 3; // the number of the pushbutton pin
const int ledPin = 2; // the number of the LED pin
const String CONST_ID = "01"; // the main Id
const String CONST_TYPE = "01"; // the id of press button
// variables will change:
int buttonState = 0; // ... | // #### Constantes ###
const int buttonPin = 3; // the number of the pushbutton pin
const int ledPin = 2; // the number of the LED pin
const String CONST_ID = "01"; // the main Id
const String CONST_TYPE = "01"; // the id of press button
// variables will change:
int buttonState = 0; // ... | add handlebutton event | add handlebutton event
| Arduino | mit | lbsb/wybo-working-hours-tracker,lbsb/wybo-working-hours-tracker,lbsb/wybo-working-hours-tracker |
3ae9bc998bf3f53ea9bd9865c9575fe9baa3cf82 | assets/firmware/arduino/adalight/adalight.ino | assets/firmware/arduino/adalight/adalight.ino | #include "FastLED.h"
#define ANALOG_MODE_AVERAGE 0
#define ANALOG_MODE_LAST_LED 1
/**************************************
S E T U P
set following values to your needs
**************************************/
#define INITIAL_LED_TEST_ENABLED true
#define INITIAL_LED_TEST_BRIGHTNESS 32 // 0..255
#define INITI... | #include "FastLED.h"
#define ANALOG_MODE_AVERAGE 0
#define ANALOG_MODE_LAST_LED 1
/**************************************
S E T U P
set following values to your needs
**************************************/
#define INITIAL_LED_TEST_ENABLED true
#define INITIAL_LED_TEST_BRIGHTNESS 32 // 0..255
#define INITI... | Fix LED Num for non analogue output (#1139) | Fix LED Num for non analogue output (#1139)
| Arduino | mit | hyperion-project/hyperion.ng,hyperion-project/hyperion.ng,hyperion-project/hyperion.ng,hyperion-project/hyperion.ng,hyperion-project/hyperion.ng,hyperion-project/hyperion.ng |
79a90ea1cffbc3ddd2de56921ce659502b2ab133 | examples/Export_Demo/myPlant_ESP8266/myPlant_ESP8266.ino | examples/Export_Demo/myPlant_ESP8266/myPlant_ESP8266.ino | /**************************************************************
* This is a DEMO sketch which works with Blynk myPlant app and
* showcases how your app made with Blynk can work
*
* You can download free app here:
*
* iOS: http://
* Android: http://
*
* If you would like to add these features to your product,... | /**************************************************************
* This is a DEMO sketch which works with Blynk myPlant app and
* showcases how your app made with Blynk can work
*
* You can download free app here:
*
* iOS: http://
* Android: http://
*
* If you would like to add these features to your product,... | Fix #207 | Fix #207
| Arduino | mit | blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library |
8ee07435d01f0c63ad6705806243d7bd208e6d47 | examples/Boards_WiFi/ESP8266_Shield/ESP8266_Shield.ino | examples/Boards_WiFi/ESP8266_Shield/ESP8266_Shield.ino | /**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
* Downloads, docs, tuto... | /**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
* Downloads, docs, tuto... | Fix comment | Fix comment
| Arduino | mit | blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library |
2c9db0b34c24f9ec909bcacfd25361300d582fe2 | Prototype-UR2/InternetButton/buzzy-pixel/buzzy-pixel.ino | Prototype-UR2/InternetButton/buzzy-pixel/buzzy-pixel.ino | #include "InternetButton.h"
#include "ButtonConfig.h"
// -----------------------------------------
// Publish and Subscribe with Internet Button
/* -----------------------------------------
The following sketch will be flashed on paired devices
with respective config settings
Press of button on one device will turn o... | #include "InternetButton.h"
#include "ButtonConfig.h"
// -----------------------------------------
// Publish and Subscribe with Internet Button
/* -----------------------------------------
The following sketch will be flashed on paired devices
with respective config settings
Press of button on one device will turn o... | Fix of delay in response on button click | Fix of delay in response on button click
| Arduino | mpl-2.0 | kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot |
9d6d0aa013bfaf7af65ce0473389a4d96e598605 | MiniSumoStraitght/MiniSumoStraitght.ino | MiniSumoStraitght/MiniSumoStraitght.ino | #include <MiniRobot.h>
MiniRobot robot;
byte status;
/*
0 - don't need changes;
1 - counter only
2 - drive straight back;
3 - drive straight forward;
4 - spin around
- enemy forward;
*/
unsigned long start_millis;
long delay_millis;
long dist;
void setup() {
pinMode(A0,INPUT); // set Pin as Input (default)
p... | #include <MiniRobot.h>
MiniRobot robot;
byte status;
unsigned long start_millis;
long delay_millis, enemy_millis = 5;
long dist, dist_before, dist_good = 0;
int good_count = 3;
void setup() {
pinMode(A0,INPUT); // set Pin as Input (default)
pinMode(A1,INPUT); // set Pin as Input (default)
PCMSK1 |= bit(0) ... | Use millis for delay time | Use millis for delay time
| Arduino | mit | makerspacelt/NTAsumoBot |
8beda288ba2c5db84731d50629adfc6e186371b5 | Calibration/liveCode/overclockAccel/overclockAccel.ino | Calibration/liveCode/overclockAccel/overclockAccel.ino | /*
* Accelerometer skeleton code
*/
#include <SD.h>
#include <SPI.h>
#include <Wire.h>
#include <URP_LSM303.h>
#include <Adafruit_BMP085_U.h>
#include <Adafruit_L3GD20_U.h>
#include <String.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_10DOF.h>
/* Assign a unique ID to the sensors */
Adafruit_10DOF dof();
URP_... | /*
* Accelerometer skeleton code
*/
#include <SD.h>
#include <SPI.h>
#include <Wire.h>
#include <URP_LSM303.h>
#include <Adafruit_BMP085_U.h>
#include <Adafruit_L3GD20_U.h>
#include <String.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_10DOF.h>
#include <Adafruit_Simple_AHRS.h>
/* Assign a unique ID to the senso... | Add correct reading of roll, and increase data rate to 142 Hz | Add correct reading of roll, and increase data rate to 142 Hz
| Arduino | mit | karikawa/2014-2015,UCLARocketProject/2014-2015,karikawa/2014-2015,UCLARocketProject/2014-2015,UCLARocketProject/2014-2015,UCLARocketProject/2014-2015,karikawa/2014-2015,UCLARocketProject/2014-2015,karikawa/2014-2015,karikawa/2014-2015 |
4e4773a370d6e80ca1365d8cc8d13233ffba7504 | wled00/wled05_init.ino | wled00/wled05_init.ino | /*
* Setup code
*/
void wledInit()
{
EEPROM.begin(EEPSIZE);
ledCount = EEPROM.read(229) + ((EEPROM.read(398) << 8) & 0xFF00);
if (ledCount > MAX_LEDS || ledCount == 0) ledCount = 30;
#ifndef ARDUINO_ARCH_ESP32
#if LEDPIN == 3
if (ledCount > MAX_LEDS_DMA) ledCount = MAX_LEDS_DMA; //DMA method uses too muc... | /*
* Setup code
*/
void wledInit()
{
EEPROM.begin(EEPSIZE);
ledCount = EEPROM.read(229) + ((EEPROM.read(398) << 8) & 0xFF00);
if (ledCount > MAX_LEDS || ledCount == 0) ledCount = 30;
#ifndef ARDUINO_ARCH_ESP32
#if LEDPIN == 3
if (ledCount > MAX_LEDS_DMA) ledCount = MAX_LEDS_DMA; //DMA method uses too muc... | Fix JSON API FX change not sending sync (#283) | Fix JSON API FX change not sending sync (#283)
Rename duplicate effects (#294)
Add India Standard Time
Fix flash on startup
Fix NTP with lwip2
| Arduino | mit | Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED,Aircoookie/WLED |
7ad5970bd5199d7e63038c0ae36a8493674c3683 | Software/OpenCM9.04/RovMain/RovMain.ino | Software/OpenCM9.04/RovMain/RovMain.ino | //----------------------------------------------------------------------------
// 프로그램명 : RovMain
//
// 만든이 :
//
// 날 짜 :
//
// 최종 수정 :
//
// MPU_Type :
//
// 파일명 : RovMain.ino
//----------------------------------------------------------------------------
#include "RSP.h... | //----------------------------------------------------------------------------
// 프로그램명 : RovMain
//
// 만든이 :
//
// 날 짜 :
//
// 최종 수정 :
//
// MPU_Type :
//
// 파일명 : RovMain.ino
//----------------------------------------------------------------------------
#include "RSP.h... | add Moter/LED Control by serial1 | add Moter/LED Control by serial1
add LED Control by USBserial & Moter/LED Control by serial1 | Arduino | mit | oroca/oroca_rov,oroca/oroca_rov,oroca/oroca_rov,oroca/oroca_rov,oroca/oroca_rov |
b4e822ab44bffea12f0c9a0e857d2ee77016e09c | Event_Printer/Event_Printer.ino | Event_Printer/Event_Printer.ino |
#include <SPI.h>
#include "mcp_can.h"
#include "BMW_R1200_GS_K25_CAN_Bus_Defines.h"
#include "BMW_R1200_GS_K25_State.h"
/* Compile time Flags */
#define DEBUG 0
/* Helper Macros */
#define HI_NIBBLE(b) (((b) >> 4) & 0x0F)
#define LO_NIBBLE(b) ((b) & 0x0F)
/* Debug Macros */
#if DEBUG
#define DEBUG_PRINT(x,...) S... |
#include <SPI.h>
#include "mcp_can.h"
#include "BMW_R1200_GS_K25_CAN_Bus_Defines.h"
#include "BMW_R1200_GS_K25_State.h"
/* Compile time Flags */
#define DEBUG 0
/* Helper Macros */
#define HI_NIBBLE(b) (((b) >> 4) & 0x0F)
#define LO_NIBBLE(b) ((b) & 0x0F)
/* Debug Macros */
#ifdef DEBUG
#define DEBUG_PRINT(...)... | Fix the debug macros | Fix the debug macros
| Arduino | mit | 4G-Gregg/BMW-GS-CAN-Sniffer,4G-Gregg/BMW-GS-CAN-Sniffer,4G-Gregg/BMW-GS-CAN-Sniffer |
420cf65fbe0260b36fa1e7827838fb0f7ed4879a | arduino_code/arduino_code.ino | arduino_code/arduino_code.ino | #define input_water 1
#define input_wind 2
#define input_fire A0
#define resistor 10000
// track the state of the pulse pin
volatile uint8_t lastflowpinstate;
// you can try to keep time of how long it is between pulses
volatile uint32_t lastflowratetimer = 0;
// and use that to calculate a flow rate
volatile floa... | #include <Chrono.h>
Chrono envoiMessage;
#define input_water 1
#define input_wind A1
#define input_fire A0
#define resistor 10000
// track the state of the pulse pin
volatile uint8_t lastflowpinstate;
// you can try to keep time of how long it is between pulses
volatile uint32_t lastflowratetimer = 0;
// and use... | fix code | fix code
| Arduino | mit | th3m4ri0/projet-captation |
5644d3d19d3cb04534fb08eb764c2871a66d58af | ROVMain/ROVMain.ino | ROVMain/ROVMain.ino | /* A main application running on the Arduino that accepts telecommands from the
* PC sent over serial, interprets them, conducts the required actions and sends
* the required data back.
*
* The telecommands follow a specified, custom protocol with a special character
* at the beginning and end of every command. E... | /* A main application running on the Arduino that accepts telecommands from the
* PC sent over serial, interprets them, conducts the required actions and sends
* the required data back.
*
* The telecommands follow a specified, custom protocol with a special character
* at the beginning and end of every command. E... | Reset the armModules flag to 0 after the modules are armed. | Reset the armModules flag to 0 after the modules are armed.
| Arduino | mit | AleksanderLidtke/DIYROV,UnnamedMoose/DIYROV,AleksanderLidtke/DIYROV,UnnamedMoose/DIYROV,AleksanderLidtke/DIYROV,UnnamedMoose/DIYROV |
98e591617c71ebe275a66a53ed20dd8da4e270dc | computer_box/computer_box.ino | computer_box/computer_box.ino | #include <stdlib.h>
#include <OneWire.h>
#include <DHT.h>
#define DHTPIN 3 // DHT Temp & Humidity Pin
#define DHTTYPE DHT22 // DHT 22 (AM2302)
int ac_probe = 0;
int dc_probe = 1;
int led_pin = 13;
int led_value = LOW;
int fan_pin = 4;
int ds18_01_pin = 2;
const int num_ds18 = 3; // Number of DS18B20 Sensors
ui... | #include <stdlib.h>
#include <OneWire.h>
#include <DHT.h>
#define DHTPIN 3 // DHT Temp & Humidity Pin
#define DHTTYPE DHT22 // DHT 22 (AM2302)
int ac_probe = 0;
int dc_probe = 1;
int led_pin = 13;
int led_value = LOW;
int fan_pin = 4;
int ds18_01_pin = 2;
const int num_ds18 = 3; // Number of DS18B20 Sensors
ui... | Reset counter if it gets (arbitrarily) too large | Reset counter if it gets (arbitrarily) too large
| Arduino | mit | AstroHuntsman/POCS,panoptes/POCS,AstroHuntsman/POCS,panoptes/PACE,panoptes/POCS,AstroHuntsman/POCS,panoptes/POCS,panoptes/POCS,AstroHuntsman/POCS |
1e10bda78f649ea8c601f32d2ff9b74441abec7b | examples/SmartMatrixGifPlayer/SmartMatrixGifPlayer.ino | examples/SmartMatrixGifPlayer/SmartMatrixGifPlayer.ino | /*
* Animated GIFs Display Code for SmartMatrix and HUB75 RGB LED Panels
*
* Uses SmartMatrix Library written by Louis Beaudoin at pixelmatix.com
*
* Written by: Craig A. Lindley
*
* Copyright (c) 2014 Craig A. Lindley
* Refactoring by Louis Beaudoin (Pixelmatix)
*
* Permission is hereby granted, free of char... | /*
* Animated GIFs Display Code for SmartMatrix and HUB75 RGB LED Panels
*
* Uses SmartMatrix Library written by Louis Beaudoin at pixelmatix.com
*
* Written by: Craig A. Lindley
*
* Copyright (c) 2014 Craig A. Lindley
* Refactoring by Louis Beaudoin (Pixelmatix)
*
* Permission is hereby granted, free of char... | Change SmartMatrix example to change next gif logic based on NUMBER_FULL_CYCLES | Change SmartMatrix example to change next gif logic based on NUMBER_FULL_CYCLES
| Arduino | mit | pixelmatix/AnimatedGIFs,pixelmatix/AnimatedGIFs |
e40799f1c87993f29d41e8fef253455dca4b61a0 | client/client.ino | client/client.ino | /*
client.ino
This is a general framework to fit in any clients that can be remotely controlled with XBee. Each clients will add additional function of parsing certain commands, while the major application takes charge of external communication.
Examples of clients include, for now, lamps and laptops.
Lamps ... | /*
client.ino
This is a general framework to fit in any clients that can be remotely controlled with XBee. Each clients will add additional function of parsing certain commands, while the major application takes charge of external communication.
Examples of clients include, for now, lamps and laptops.
Lamps ... | change sendbackID delay, refine IDs, | change sendbackID delay, refine IDs,
| Arduino | bsd-2-clause | nebgnahz/HOBS,nebgnahz/HOBS,nebgnahz/HOBS |
57f6bcd7b3d7e1e277e25408e113280ee7cfa33c | aquacontrol32.ino | aquacontrol32.ino | #include <rom/rtc.h> /* should be installed together with ESP32 Arduino install */
#include <list> /* should be installed together with ESP32 Arduino install */
#include <SPI.h> /* should be installed together with ESP32 Arduino install */
#include <Wire.h> ... | #include <rom/rtc.h> /* should be installed together with ESP32 Arduino install */
#include <list> /* should be installed together with ESP32 Arduino install */
#include <SPI.h> /* should be installed together with ESP32 Arduino install */
#include <Wire.h> ... | Use internal pull-up to prevent false sensors found. | Use internal pull-up to prevent false sensors found.
| Arduino | mit | CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32 |
4ef70f8e00721b8ac0cda49d97d27a1922bd5543 | Arduino/Turnstyle/Turnstyle.ino | Arduino/Turnstyle/Turnstyle.ino | #include <CurieIMU.h>
#include <MadgwickAHRS.h>
#include <NewPing.h>
#include <Wire.h>
#include <Adafruit_MCP23017.h>
#include <Adafruit_RGBLCDShield.h>
#include <CurieBLE.h>
#define TRIGGER_PIN_1 12 // Arduino pin tied to trigger pin on the first ultrasonic sensor.
#define ECHO_PIN_1 11 // Arduino pin tied to ... | #include <CurieIMU.h>
#include <MadgwickAHRS.h>
#include <NewPing.h>
#include <Wire.h>
#include <Adafruit_MCP23017.h>
#include <Adafruit_RGBLCDShield.h>
#include <CurieBLE.h>
#define TRIGGER_PIN_1 12 // Arduino pin tied to trigger pin on the first ultrasonic sensor.
#define ECHO_PIN_1 11 // Arduino pin tied to ... | fix frequency of bluetoothing | fix frequency of bluetoothing
| Arduino | mit | davidiot/Turnstyle,davidiot/Turnstyle |
1cc41df89b0ab63ca1a66d59a452c94016429e6d | projects/YunHub/YunHub_1.06_MQTT/YunHub_1.06_MQTT.ino | projects/YunHub/YunHub_1.06_MQTT/YunHub_1.06_MQTT.ino | //
// Receive RFM12B packets and publish to MQTT server 192.168.178.27
//
// only for dedicated senders:
//
// 1) Temperature Node (group 33, node 22)
// --> time stamp, RF12 group ID, node ID, Vcc, T1, T2
// 2) RadioBlip2 (group 33, id 17)
//
// Blink LED #13 for each package received
//
// 150820 YunHub 1.06
//... | //
// Receive RFM12B packets and publish to MQTT server 192.168.178.27
//
// only for dedicated senders:
//
// 1) Temperature Node (group 33, node 22)
// --> time stamp, RF12 group ID, node ID, Vcc, T1, T2
// 2) RadioBlip2 (group 33, id 17)
//
// Blink LED #13 for each package received
//
// 150820 YunHub 1.06
//... | Extend charBuf by 1 char to get conversion right: charBuf[dataStr.length()+1] | Extend charBuf by 1 char to get conversion right: charBuf[dataStr.length()+1]
| Arduino | mit | 473856/Lupinino,473856/Lupinino,473856/Lupinino,473856/Lupinino |
f83fe2b70faf826b354e9d35fe8937a9884d6783 | examples/IRrecvDumpV2/IRrecvDumpV2.ino | examples/IRrecvDumpV2/IRrecvDumpV2.ino | //------------------------------------------------------------------------------
// Include the IRremote library header
//
#include <IRremote.h>
//------------------------------------------------------------------------------
// Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838)
//
int recvPin ... | //------------------------------------------------------------------------------
// Include the IRremote library header
//
#include <IRremote.h>
//------------------------------------------------------------------------------
// Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838)
//
int recvPin ... | Update IRrecvDumpV2.ino | Update IRrecvDumpV2.ino
looks like this multiplier was omitted and needs to be include to make the output meaningful/useful???
Would also explain some weird output I have seen posted. | Arduino | lgpl-2.1 | shirriff/Arduino-IRremote,z3t0/Arduino-IRremote,MadGarra/Arduino-IRremote,PaoloP74/Arduino-IRremote,audetto/Arduino-IRremote,Informatic/Arduino-IRremote,ivankravets/Arduino-IRremote,bessl/Arduino-IRremote,AnalysIR/Arduino-IRremote,AnalysIR/Arduino-IRremote,danz0/Arduino-IRremote,YodaR10/Arduino-IRremote,bessl/Arduino-I... |
55ebec3f094c7b15a1b29a96fd06de873db9c06c | OpenStage/openStage_pollPS3.ino | OpenStage/openStage_pollPS3.ino |
#ifdef DO_GAMEPAD
//------------------------------------------------------------------------------------------------
// * pollPS3
//
// This the main workhorse function. It polls the PS3 gamepad and responds to user input.
int pollPS3(){
Usb.Task(); //Performs unknown USB magic
// Counters for right hand b... |
#ifdef DO_GAMEPAD
//------------------------------------------------------------------------------------------------
// * pollPS3
//
// This the main workhorse function. It polls the PS3 gamepad and responds to user input.
int pollPS3(){
Usb.Task(); //Performs unknown USB magic
// Counters for right hand b... | Make it easier to set different numbers of axes and enable/disable axes. | Make it easier to set different numbers of axes and enable/disable axes.
| Arduino | agpl-3.0 | raacampbell13/openstage,raacampbell13/openstage |
a2c62a6c320d07b35a01b706e734ac6ed9167bf6 | projects/RF12_Yun_DataLogger/RF12_Yun_DataLogger.ino | projects/RF12_Yun_DataLogger/RF12_Yun_DataLogger.ino | //
// Receive RFM12B packets and log to
// 1) measurement data file = interpreted data, assuming from Temperature Node
// --> time stamp, RF12 group ID, node ID, Vcc, T
// 2) raw data file
// --> time stamp, RF12 group ID, node ID, all data byte received
//
// Blink LED #13 for each package received
//
#incl... | //
// Receive RFM12B packets and log to
// 1) measurement data file = interpreted data, assuming from Temperature Node
// --> time stamp, RF12 group ID, node ID, Vcc, T
// 2) raw data file
// --> time stamp, RF12 group ID, node ID, all data byte received
//
// Blink LED #13 for each package received
//
#incl... | correct data conversion: int() for T<0 | correct data conversion: int() for T<0
| Arduino | mit | 473856/Lupinino,473856/Lupinino,473856/Lupinino,473856/Lupinino |
45149784c995bf098786ed75c1fa6b5e369bd04e | libraries/FAT16/examples/CosaFAT16/CosaFAT16.ino | libraries/FAT16/examples/CosaFAT16/CosaFAT16.ino | /**
* @file CosaFAT16.ino
* @version 1.0
*
* @section License
* Copyright (C) 2013-2015, Mikael Patel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of t... | /**
* @file CosaFAT16.ino
* @version 1.0
*
* @section License
* Copyright (C) 2013-2015, Mikael Patel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of t... | Improve FAT16 example sketch; more statistics and support for data logging shield. | Improve FAT16 example sketch; more statistics and support for data logging shield.
| Arduino | lgpl-2.1 | dansut/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,dansut/Cosa,jeditekunum/Cosa,dansut/Cosa,dansut/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa |
991ae2ab9728a396e71e968ecdc5165d21b04bca | Weather_Station/Solar-Weather-Station-V2.0-wifi_mgr.ino | Weather_Station/Solar-Weather-Station-V2.0-wifi_mgr.ino | //----------------------------------------------------------------------------------------------------
// Project Name : Solar Powered WiFi Weather Station V2.0 (original)
// Authors: Keith Hungerford and Debasish Dutta
// Website : www.opengreenenergy.com (https://www.instructables.com/id/Solar-Powered-WiFi-Weather... | //----------------------------------------------------------------------------------------------------
// Project Name : Solar Powered WiFi Weather Station V2.0 (original)
// Authors: Keith Hungerford and Debasish Dutta
// Website : www.opengreenenergy.com (https://www.instructables.com/id/Solar-Powered-WiFi-Weather... | Update Solar-Weather-Station-V2.0-wifi_mgr.ino | Update Solar-Weather-Station-V2.0-wifi_mgr.ino | Arduino | apache-2.0 | chancsc/SC_SmartThings,chancsc/SC_SmartThings |
08dc6fd69b20ddb44c0764939cf36f78ff00c30a | vehicle_servo_esp8266_html/vehicle_servo_esp8266_html.ino | vehicle_servo_esp8266_html/vehicle_servo_esp8266_html.ino | #include <Servo.h>
#include <ESP8266WiFi.h>
//const char* ssid = "UPCFDD5BF8";
//const char* password = "w7bkvsrExkye";
const int leftF = 1;
const int rightF = 1;
const int pinL = 4;
const int pinR = 5;
WiFiServer server(80);
long lastCommand = 0;
long currentTime;
long previousTime;
long timeoutTime = 2000;
... | #include <Servo.h>
#include <ESP8266WiFi.h>
const int leftF = 1;
const int rightF = 1;
const int pinL = 4;
const int pinR = 5;
WiFiServer server(80);
long lastCommand = 0;
long currentTime;
long previousTime;
long timeoutTime = 2000;
String header;
bool stopedL = true;
bool stopedR = true;
Servo servoLeft;
Servo... | add esp8226 html car | add esp8226 html car
| Arduino | mit | mikolajs/electro-projects,mikolajs/electro-projects,mikolajs/electro-projects,mikolajs/electro-projects |
e9b8d6f8c1ebd9ae1d05d224756d6d7dcc0c0702 | water-sensor/water-sensor.ino | water-sensor/water-sensor.ino | #include <SoftwareSerial.h>
#include <EEPROM.h>
#include "NewPing.h"
#include "SmartThings.h"
#define DEBUG_ENABLED 1
#define PIN_THING_RX 3
#define PIN_THING_TX 2
#define PIN_SENSOR_TRIGGER 8
#define PIN_SENSOR_ECHO 7
#define PIN_WORKING_LED 13
#define MAX_DISTANCE 200
#define MESSAGE... | #include <SoftwareSerial.h>
#include <EEPROM.h>
#include "NewPing.h"
#include "SmartThings.h"
#define DEBUG_ENABLED 1
// #define DEBUG_RAW_ENABLED 1
#define PIN_THING_RX 3
#define PIN_THING_TX 2
#define PIN_SENSOR_TRIGGER 8
#define PIN_SENSOR_ECHO 7
#define PIN_WORKING_LED 13
#define MAX_DIS... | Add more stable measurements strategy | Add more stable measurements strategy
| Arduino | mit | sergeystoma/smartthings-water-level |
3c55420ec22fd40e58a54190cf3c5a34edbd8a5a | software/firmware/LogoBotWifiScribbler/LogoBotWifiScribbler.ino | software/firmware/LogoBotWifiScribbler/LogoBotWifiScribbler.ino | #include "Configuration.h"
#include <AccelStepper.h>
#include <Bot.h>
#include <CommandQueue.h>
#include <LogobotText.h>
#include <Servo.h>
Bot bot(MOTOR_L_PIN_1, MOTOR_L_PIN_2, MOTOR_L_PIN_3, MOTOR_L_PIN_4, MOTOR_R_PIN_1, MOTOR_R_PIN_2, MOTOR_R_PIN_3, MOTOR_R_PIN_4);
CommandQueue cmdQ(20);
String text = ""; // buffer... | #include "Configuration.h"
#include <AccelStepper.h>
#include <Bot.h>
#include <CommandQueue.h>
#include <LogobotText.h>
#include <Servo.h>
Bot bot(MOTOR_L_PIN_1, MOTOR_L_PIN_2, MOTOR_L_PIN_3, MOTOR_L_PIN_4, MOTOR_R_PIN_1, MOTOR_R_PIN_2, MOTOR_R_PIN_3, MOTOR_R_PIN_4);
CommandQueue cmdQ(20);
String text = ""; // buffer... | Stop bot getting stuck in corners | Stop bot getting stuck in corners
| Arduino | mit | snhack/LogoBot,snhack/LogoBot,snhack/LogoBot,snhack/LogoBot,snhack/LogoBot |
f3c52f0e43ff10abbf30b6cab61224be9d5c7bc6 | robot/robot.ino | robot/robot.ino | // Use this code to test your motor with the Arduino board:
// if you need PWM, just use the PWM outputs on the Arduino
// and instead of digitalWrite, you should use the analogWrite command
#include <Servo.h>
Servo servo;
int pos = 0;
// Servo degree increment
#define SERVO_INC 3
// Bit masks for commands
#define... | // Use this code to test your motor with the Arduino board:
// if you need PWM, just use the PWM outputs on the Arduino
// and instead of digitalWrite, you should use the analogWrite command
#include <Servo.h>
Servo servo;
int pos = 0;
// Servo degree increment
#define SERVO_INC 3
// Bit masks for commands
#define... | fix error | fix error
| Arduino | mit | OHIOhackathon2014/Project_Zen,OHIOhackathon2014/Project_Zen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.