hexsha stringlengths 40 40 | size int64 10 794k | ext stringclasses 1
value | lang stringclasses 1
value | max_stars_repo_path stringlengths 5 220 | max_stars_repo_name stringlengths 6 117 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 6 | max_stars_count int64 1 14.7k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 01:20:43 2022-03-31 19:18:09 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-02 05:08:12 2022-03-31 23:57:55 ⌀ | max_issues_repo_path stringlengths 5 220 | max_issues_repo_name stringlengths 6 117 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 6 | max_issues_count int64 1 3.42k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 5 220 | max_forks_repo_name stringlengths 6 117 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 6 | max_forks_count int64 0 5.94k | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:55:08 2022-03-31 23:12:50 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-05 02:59:17 2022-03-31 23:12:50 ⌀ | content stringlengths 10 794k | avg_line_length float64 2.9 123 | max_line_length int64 9 497 | alphanum_fraction float64 0.29 0.95 | retain bool 1
class | num_tokens int64 4 558k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8048857f668ce82507d870e7e5cd1ae63ae63321 | 1,735 | ino | Arduino | actuators_system/include/actuators_system/test_board/test_board.ino | grvcTeam/mbzirc2020 | e474cee6458a3bb14f858da43349c5154b3c8cdd | [
"MIT"
] | null | null | null | actuators_system/include/actuators_system/test_board/test_board.ino | grvcTeam/mbzirc2020 | e474cee6458a3bb14f858da43349c5154b3c8cdd | [
"MIT"
] | null | null | null | actuators_system/include/actuators_system/test_board/test_board.ino | grvcTeam/mbzirc2020 | e474cee6458a3bb14f858da43349c5154b3c8cdd | [
"MIT"
] | 2 | 2021-01-01T06:32:04.000Z | 2021-06-28T09:09:16.000Z | #include "Timer.h"
#include <Servo.h>
#define SERIAL_BAUDRATE 9600
#define PERIOD_IN_MS 20
#define INI_SERVO_PWM 1500
#define PIN_PWM_0 5
#define PIN_PWM_1 6
#define PIN_PWM_2 9
#define PIN_PWM_3 10
#define PIN_PWM_4 11
#define PIN_OUT_0 12
#define PIN_IN_0 A3
#define PIN_IN_1 A2
#define PIN_IN_2 A1... | 23.767123 | 121 | 0.680115 | true | 627 |
4fba4e191b632ec7dc64d30493477cb6b385cbf9 | 141 | ino | Arduino | ledmatrix.ino | aleksag/nhst-arduinokurs | 319e037ca736b9c0b0a9f1d01089605872cf77e5 | [
"MIT"
] | null | null | null | ledmatrix.ino | aleksag/nhst-arduinokurs | 319e037ca736b9c0b0a9f1d01089605872cf77e5 | [
"MIT"
] | null | null | null | ledmatrix.ino | aleksag/nhst-arduinokurs | 319e037ca736b9c0b0a9f1d01089605872cf77e5 | [
"MIT"
] | 0 | null | null | void setup()
{
Serial.begin(9600);
Serial.println("Setup method!");
}
void loop()
{
Serial.println("You're in the loop!");
delay(250);
}
| 12.818182 | 38 | 0.64539 | true | 38 |
e3b2405f94cd6b08766b4791a1681d867202eccf | 33,727 | ino | Arduino | SubmarineDisplay/SubmarineDisplay.ino | majikthys/SubmarineDisplay | 247e038a93c45383939220ca9f1c3c0a0e6aec0d | [
"MIT"
] | null | null | null | SubmarineDisplay/SubmarineDisplay.ino | majikthys/SubmarineDisplay | 247e038a93c45383939220ca9f1c3c0a0e6aec0d | [
"MIT"
] | null | null | null | SubmarineDisplay/SubmarineDisplay.ino | majikthys/SubmarineDisplay | 247e038a93c45383939220ca9f1c3c0a0e6aec0d | [
"MIT"
] | 0 | null | null | /**
* Submarine Torpedo Game
*
* copyright Jeremy Franklin-Ross, Pacific Studios 2020
*/
#include <FastLED.h>
// BOAT LENGTHS & SPEEDS
#define WARSHIP_LENGTH 5
#define MERCHANT_SHIP_LENGTH 4
#define WARSHIP_SPEED_MS_INTERVAL 100
#define MARCHANT_SPEED_MS_INTERVAL 200
// TORPEDO ... | 28.9006 | 130 | 0.692472 | true | 8,957 |
18f5110634f292855a5d37ea6eff3f7993df8e52 | 4,133 | ino | Arduino | Megalodon/src/underwater/libraries/FastRCReader/examples/Read_5_Channels_with_mapping/Read_5_Channels_with_mapping.ino | tedklin/Echo | e9937307d02e36a5a111c68f9dbf069baa76bf98 | [
"MIT"
] | 3 | 2019-07-17T18:19:46.000Z | 2021-11-08T12:20:18.000Z | Megalodon/src/underwater/libraries/FastRCReader/examples/Read_5_Channels_with_mapping/Read_5_Channels_with_mapping.ino | itohanero/Echo-1 | e9937307d02e36a5a111c68f9dbf069baa76bf98 | [
"MIT"
] | null | null | null | Megalodon/src/underwater/libraries/FastRCReader/examples/Read_5_Channels_with_mapping/Read_5_Channels_with_mapping.ino | itohanero/Echo-1 | e9937307d02e36a5a111c68f9dbf069baa76bf98 | [
"MIT"
] | 1 | 2020-09-02T20:03:03.000Z | 2020-09-02T20:03:03.000Z | /*
Simple sketch to read 5 channels from an RC an map them to % (float from 0 to 1)
using Pin D3 to D7 for Channel 1 to 5
At first, you have to calibrate/map your RC to -1 to 1
To do so, connect the needed Channels to the Arduino (pins discribed above) and than upload
the Sketch.
After that, open th... | 27.553333 | 103 | 0.659085 | true | 1,097 |
c57623dae22ac5c60c97c2a585401178ff540a7a | 3,342 | ino | Arduino | Auto_Login_V1/Auto_Login_V1.ino | RedFox97/Auto-login | 1dbbef84480b86f0bc8714ef5488fe878397d487 | [
"MIT"
] | null | null | null | Auto_Login_V1/Auto_Login_V1.ino | RedFox97/Auto-login | 1dbbef84480b86f0bc8714ef5488fe878397d487 | [
"MIT"
] | null | null | null | Auto_Login_V1/Auto_Login_V1.ino | RedFox97/Auto-login | 1dbbef84480b86f0bc8714ef5488fe878397d487 | [
"MIT"
] | 0 | null | null | //***************************************************************//
// Name : Auto Login V1 //
// Author : RedFox //
// Website : lamchucongnghe.com //
// Fanpage : fb.com//lamchucongnghevn ... | 40.26506 | 132 | 0.51915 | true | 732 |
74be41e5afaad8c695e39b1283c1b7703e35fa96 | 1,725 | ino | Arduino | little-library-led-backend.ino | gidoBOSSftw5731/little-library-led-backend | 95acea4cd7f82781020fb008774320b96e222101 | [
"Apache-2.0"
] | null | null | null | little-library-led-backend.ino | gidoBOSSftw5731/little-library-led-backend | 95acea4cd7f82781020fb008774320b96e222101 | [
"Apache-2.0"
] | null | null | null | little-library-led-backend.ino | gidoBOSSftw5731/little-library-led-backend | 95acea4cd7f82781020fb008774320b96e222101 | [
"Apache-2.0"
] | 0 | null | null | // solar panels max space 29x17 inch
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
//#include <Dns.h>
const char* ssid = "AS701.NET";
const char* password = "wow-wow-wubbzy";
// data is a struct for holding the imput JSON data
struct data {
int red;
int green;
int blue;
};
#define redURL "http://lli... | 15.825688 | 75 | 0.649855 | true | 459 |
297db1ec0cc68d21fe0ad4ab72fd928993244603 | 223 | ino | Arduino | Stand.ino | RyanAelen/VerkeersSimulatie | 0b577ba8b57bd540593bb72ddfed3f93d359a6c4 | [
"MIT"
] | null | null | null | Stand.ino | RyanAelen/VerkeersSimulatie | 0b577ba8b57bd540593bb72ddfed3f93d359a6c4 | [
"MIT"
] | null | null | null | Stand.ino | RyanAelen/VerkeersSimulatie | 0b577ba8b57bd540593bb72ddfed3f93d359a6c4 | [
"MIT"
] | 0 | null | null | boolean DagStand = true;
void setupStand() {
LDRSetup();
}
void loopStand() {
if (getLDR() > 250) {
DagStand = false;
} else {
DagStand= true;
}
}
boolean getDagStand() {
return DagStand;
}
| 13.9375 | 25 | 0.565022 | true | 67 |
e881f482dcd86a8240cf707c9d334578dec85822 | 12,206 | ino | Arduino | CoreConduit/Receiver_nRF_I2C/Receiver_nRF_I2C.ino | wbetterley/Warren-s-Repo | d76bd35b36fcfb58ff818b23c0e58791419cf5fb | [
"Apache-2.0"
] | null | null | null | CoreConduit/Receiver_nRF_I2C/Receiver_nRF_I2C.ino | wbetterley/Warren-s-Repo | d76bd35b36fcfb58ff818b23c0e58791419cf5fb | [
"Apache-2.0"
] | null | null | null | CoreConduit/Receiver_nRF_I2C/Receiver_nRF_I2C.ino | wbetterley/Warren-s-Repo | d76bd35b36fcfb58ff818b23c0e58791419cf5fb | [
"Apache-2.0"
] | 1 | 2017-05-16T17:39:01.000Z | 2017-05-16T17:39:01.000Z | /*
* @file Receiver_nRF_I2C.ino
* Copyright (C) 2014 Cory J. Potter - All Rights Reserved
* You may use, distribute and modify this code under the
* terms of the LICENSE.txt
* NOT INTENDED FOR COMMERCIAL USE!
* You should have received a copy of the LICENSE.txt with
* this file. If not, please write to: <bitsandbots@gm... | 32.462766 | 185 | 0.560216 | true | 3,173 |
80d3b3beab44cc472b37e8500386f415b88cc056 | 973 | ino | Arduino | STM32F1/libraries/A_STM32_Examples/examples/General/SerialReadUntil/SerialReadUntil.ino | kiki-lamb/Arduino_STM32 | 7b687764800849b5b2337b03ac4b18ddf5d10c57 | [
"Unlicense"
] | 2,405 | 2015-01-02T16:34:52.000Z | 2022-03-30T12:10:23.000Z | STM32F1/libraries/A_STM32_Examples/examples/General/SerialReadUntil/SerialReadUntil.ino | kiki-lamb/Arduino_STM32 | 7b687764800849b5b2337b03ac4b18ddf5d10c57 | [
"Unlicense"
] | 825 | 2015-01-03T17:44:21.000Z | 2022-03-24T06:48:53.000Z | STM32F1/libraries/A_STM32_Examples/examples/General/SerialReadUntil/SerialReadUntil.ino | kiki-lamb/Arduino_STM32 | 7b687764800849b5b2337b03ac4b18ddf5d10c57 | [
"Unlicense"
] | 1,354 | 2015-01-17T05:58:38.000Z | 2022-03-28T19:07:55.000Z |
// http://arduino.cc/forum/index.php?topic=114035.0 `
/* Sketch uses 13,836 bytes (12%) of program storage space. Maximum is 108,000 bytes.
Global variables use 3,696 bytes of dynamic memory.
Read an unknown length string of ASCII characters terminated
with a line feed from the UART
*/
#define BAUD 9600
v... | 27.027778 | 99 | 0.68962 | true | 252 |
a9187c66d87a1aa40ba44c284713c2467f3f61a1 | 482 | ino | Arduino | LSleep_test/LSleep_test.ino | kylecat/Linklt7697 | 943eacae8f945a83212d1c72656e2d0aa69956d6 | [
"MIT"
] | 3 | 2018-03-22T09:07:58.000Z | 2020-07-06T15:36:33.000Z | LSleep_test/LSleep_test.ino | kylecat/Linklt7697 | 943eacae8f945a83212d1c72656e2d0aa69956d6 | [
"MIT"
] | null | null | null | LSleep_test/LSleep_test.ino | kylecat/Linklt7697 | 943eacae8f945a83212d1c72656e2d0aa69956d6 | [
"MIT"
] | 0 | null | null | #include "LSleep.h"
LSleepClass Sleep;
int count = 0;
void enterSleep(int _ms, int _mode)
{
float _sleepTime = _ms * 0.001;
Sleep.init(true);
Sleep.setTime(_ms); // 設定時間
Sleep.setMode(_mode); // 睡眠模式:0 不睡;1 待機狀態;2 wifi睡眠狀態;3 傳統睡眠狀態
Serial.print("晚安(");
Serial.print(_sleepTime, 3);
... | 17.214286 | 68 | 0.591286 | true | 166 |
e340c7bcdd0047d669d9df0996db1ce044ebfba6 | 822 | ino | Arduino | arduino/CIRC10_5_TEMP_ALARM/CIRC10_5_TEMP_ALARM.ino | brentru/METROX-Examples-and-Project-Sketches-1 | 2412a92043e1073b389a4b412a83446620913db3 | [
"MIT"
] | 4 | 2018-10-22T17:45:10.000Z | 2019-02-03T19:54:40.000Z | arduino/CIRC10_5_TEMP_ALARM/CIRC10_5_TEMP_ALARM.ino | brentru/METROX-Examples-and-Project-Sketches-1 | 2412a92043e1073b389a4b412a83446620913db3 | [
"MIT"
] | 8 | 2017-11-27T07:28:24.000Z | 2021-10-17T05:26:27.000Z | arduino/CIRC10_5_TEMP_ALARM/CIRC10_5_TEMP_ALARM.ino | brentru/METROX-Examples-and-Project-Sketches-1 | 2412a92043e1073b389a4b412a83446620913db3 | [
"MIT"
] | 4 | 2017-12-27T16:07:01.000Z | 2021-03-02T16:33:53.000Z | /* CIRC10.5: Temperature Alarm
* (a bonus circuit for MetroX)
*
* by Brent Rubell for Adafruit Industries
*/
#define ANALOGREFVOLTAGE 5.555
// TMP36 Pin
int temperaturePin = A0;
// Piezo Pin
int piezoPin = 8;
// Freezing
float freezeTemp = 0;
// Boiling
float boilTemp = 26;
void setup()
{
// Start the S... | 16.77551 | 69 | 0.660584 | true | 260 |
54dde94c88245e5186d2dce02e6361d43e2e18ca | 1,617 | ino | Arduino | Arduino/RC Car Circuit/RC_car_circuit.ino | shreya024/IoT-Spot | 22206e022a9b61fa2a772d3174e467ac71f87dd0 | [
"MIT"
] | null | null | null | Arduino/RC Car Circuit/RC_car_circuit.ino | shreya024/IoT-Spot | 22206e022a9b61fa2a772d3174e467ac71f87dd0 | [
"MIT"
] | null | null | null | Arduino/RC Car Circuit/RC_car_circuit.ino | shreya024/IoT-Spot | 22206e022a9b61fa2a772d3174e467ac71f87dd0 | [
"MIT"
] | 0 | null | null | //In this Project we are going to make RC Car Circuit.
// For this the components used will be 2 DC Motor, Arduino UNO R3, BreadBoard, L293D Motor Driver.
/* If we give the input:
F- Forward, Both Motor will rotate in clockwise direction.
B- Backward, Both Motor will rotate in anti clockwise direction.
L- Left... | 24.5 | 112 | 0.59431 | true | 444 |
dc48891ac52eed9e87979dfbd3556376df68190b | 3,751 | ino | Arduino | libraries/ArduinoMenu_library/examples/plugins/plugins/plugins.ino | juniorya/d2 | 72f1b5471ca2664f88960536bfac454e6e63f78f | [
"MIT"
] | null | null | null | libraries/ArduinoMenu_library/examples/plugins/plugins/plugins.ino | juniorya/d2 | 72f1b5471ca2664f88960536bfac454e6e63f78f | [
"MIT"
] | null | null | null | libraries/ArduinoMenu_library/examples/plugins/plugins/plugins.ino | juniorya/d2 | 72f1b5471ca2664f88960536bfac454e6e63f78f | [
"MIT"
] | 0 | null | null | /* -*- C++ -*- */
/********************
May 2017 Rui Azevedo - ruihfazevedo(@rrob@)gmail.com
www.r-site.net
unlike native objects, pluggins can be device specific, so some pluggins might
not work on all devices.
all sorts of plugins may be available in the future and if you customize
a component and think it of inter... | 29.304688 | 125 | 0.711544 | true | 1,062 |
9bc1ea34689cd1772cdd7fab8d5883513cff25b0 | 971 | ino | Arduino | ThingSpeak_DHT/ThingSpeak_DHT.ino | datDhruvJain/IoT-Uni-course | ee3219606bf523e53aa35316f411ae742c7e79cd | [
"MIT"
] | null | null | null | ThingSpeak_DHT/ThingSpeak_DHT.ino | datDhruvJain/IoT-Uni-course | ee3219606bf523e53aa35316f411ae742c7e79cd | [
"MIT"
] | null | null | null | ThingSpeak_DHT/ThingSpeak_DHT.ino | datDhruvJain/IoT-Uni-course | ee3219606bf523e53aa35316f411ae742c7e79cd | [
"MIT"
] | 0 | null | null | #include<DHT.h>
#include<ESP8266WiFi.h>
#include<ThingSpeak.h>
DHT dht(D1, DHT11);
float hum, temp_c, temp_f;
char* ssid = "IoT_Lab";
char* pass = "iotlab123";
WiFiClient client;
long id = 1651944;
char* api = "7TYCS113YX0I1BKM";
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
dht.be... | 24.897436 | 77 | 0.644696 | true | 274 |
9366d937c76a5319f9d9be3a577b31e7bf48c7b9 | 16,659 | ino | Arduino | ArduinoTouchNeoPixel.ino | koktaildotcom/ArduinoTouchNeoPixel | 69608910c3cb580c010f4bc783000e7354d0be1e | [
"Apache-2.0"
] | null | null | null | ArduinoTouchNeoPixel.ino | koktaildotcom/ArduinoTouchNeoPixel | 69608910c3cb580c010f4bc783000e7354d0be1e | [
"Apache-2.0"
] | null | null | null | ArduinoTouchNeoPixel.ino | koktaildotcom/ArduinoTouchNeoPixel | 69608910c3cb580c010f4bc783000e7354d0be1e | [
"Apache-2.0"
] | 0 | null | null | #include <Adafruit_NeoPixel.h>
// Pattern types supported:
enum pattern {
NONE, RAINBOW_CYCLE, THEATER_CHASE, COLOR_WIPE, SCANNER, FADE, LOADER };
// Patern directions supported:
enum direction {
FORWARD, REVERSE };
#include <CapacitiveSensor.h>
#include <Math.h>
CapacitiveSensor capativeSensorHalf = Capaciti... | 24.143478 | 145 | 0.632451 | true | 4,387 |
4793b522a6b7b8aef0f24fcb0e5a7b524be6059b | 693 | ino | Arduino | serialoutput.ino | ravenspired/dual-channel-unlock | e918f39570c322819334b8169d458b3a7890c46b | [
"MIT"
] | 3 | 2021-01-06T17:28:01.000Z | 2021-02-24T19:21:42.000Z | serialoutput.ino | ravenspired/dual-channel-unlock | e918f39570c322819334b8169d458b3a7890c46b | [
"MIT"
] | null | null | null | serialoutput.ino | ravenspired/dual-channel-unlock | e918f39570c322819334b8169d458b3a7890c46b | [
"MIT"
] | 0 | null | null |
int howManyTimes = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
detectSignal();
}
void detectSignal(){
int howManyTimes = 0;
while(analogRead(A1)==0.00){
howManyTimes++;
delay(10);
}
Serial.println("It happened:"+String(howManyTimes));
if(howManyTimes>3 && howManyTimes<=40){... | 15.4 | 76 | 0.634921 | true | 205 |
f78377bbc20dcf4bb13c81f8a950a650af6b6723 | 941 | ino | Arduino | EU_Con_Hackathon/SenseBot/Step 1/RobotController/RobotController.ino | wso2-incubator/device-cloud-appliances | c91229cede8f0a302446a4ad0aaba7cfd86898cc | [
"Apache-2.0"
] | null | null | null | EU_Con_Hackathon/SenseBot/Step 1/RobotController/RobotController.ino | wso2-incubator/device-cloud-appliances | c91229cede8f0a302446a4ad0aaba7cfd86898cc | [
"Apache-2.0"
] | null | null | null | EU_Con_Hackathon/SenseBot/Step 1/RobotController/RobotController.ino | wso2-incubator/device-cloud-appliances | c91229cede8f0a302446a4ad0aaba7cfd86898cc | [
"Apache-2.0"
] | 0 | null | null | #include <pt.h>
#define TURN_DELAY 100
int motion_global = 0;
int motor_left[] = {7, 8};
int enA = 12;
int motor_right[] = {6, 4};
int enB = 11;
void setup() {
Serial.begin(115200);
for(int i = 0; i < 2; i++){
pinMode(motor_left[i], OUTPUT);
pinMode(motor_right[i], OUTPUT);
}
pinMode(enA, OUTP... | 14.936508 | 44 | 0.476089 | true | 238 |
17c15b8c0e85b5ade88bca637e5c8c32d26e41cf | 1,949 | ino | Arduino | examples/backSoonMDNS.ino | valinet/EtherCard-MDNS | 385b5d04daa23f9b5a6b67104476184d704164b1 | [
"MIT"
] | null | null | null | examples/backSoonMDNS.ino | valinet/EtherCard-MDNS | 385b5d04daa23f9b5a6b67104476184d704164b1 | [
"MIT"
] | null | null | null | examples/backSoonMDNS.ino | valinet/EtherCard-MDNS | 385b5d04daa23f9b5a6b67104476184d704164b1 | [
"MIT"
] | 1 | 2021-05-11T17:05:39.000Z | 2021-05-11T17:05:39.000Z | // 2011-01-30 <jc@wippler.nl> http://opensource.org/licenses/mit-license.php
// 2013-11-03 Arno Moonen <info@arnom.nl>
#include <EtherCard.h>
#include <EC_MDNSResponder.h>
#define MDNS_NAME "arduino"
#define ETHER_CS_PIN 10
#define STATIC 0 // set to 1 to disable DHCP (adjust myip/gwip values below)
#if STATIC
// ... | 26.337838 | 77 | 0.667522 | true | 578 |
10cd826727684f217122bb08424b7f087162ec0b | 3,288 | ino | Arduino | PACMAN/arduino_firmware/ArduinoProMini/dusty_acorn/dusty_acorn.ino | guolivar/dusty-acorn | 1a0dabc24692f6269148f0b623d4b7fdb44c86ae | [
"MIT"
] | 1 | 2015-10-27T00:45:29.000Z | 2015-10-27T00:45:29.000Z | PACMAN/arduino_firmware/ArduinoProMini/dusty_acorn/dusty_acorn.ino | guolivar/dusty-acorn | 1a0dabc24692f6269148f0b623d4b7fdb44c86ae | [
"MIT"
] | null | null | null | PACMAN/arduino_firmware/ArduinoProMini/dusty_acorn/dusty_acorn.ino | guolivar/dusty-acorn | 1a0dabc24692f6269148f0b623d4b7fdb44c86ae | [
"MIT"
] | 1 | 2015-10-27T00:45:08.000Z | 2015-10-27T00:45:08.000Z | /* Dusty Air Corner sensor hub
20160525
- PMS3003 as Dust sensor on Software Serial port
- No motion sensor
- Distance with HC-SR04
- CO2 with DFRobot unit
- No data saving ... moved to host PC to log
- T&RH from DHT22
*/
//Add DHT library
#include <dht.h>
#define DHT22_PIN 7 // Pin where the DHT22 is connected
... | 25.488372 | 139 | 0.716241 | true | 974 |
ab1cf5017ab8edc68ac103c5914ab5ef71829612 | 4,971 | ino | Arduino | arduino/weather_station/weather_station.ino | AlexRogalskiy/Duino | bef05838fe73970dea856779957fd3a3e406f295 | [
"MIT"
] | null | null | null | arduino/weather_station/weather_station.ino | AlexRogalskiy/Duino | bef05838fe73970dea856779957fd3a3e406f295 | [
"MIT"
] | 1 | 2021-04-17T19:30:17.000Z | 2021-04-17T19:30:17.000Z | arduino/weather_station/weather_station.ino | AlexRogalskiy/Duino | bef05838fe73970dea856779957fd3a3e406f295 | [
"MIT"
] | 0 | null | null | // weather_station.ino - print weather data to epaper
// (c) BotBook.com - Karvinen, Karvinen, Valtokari
#include <inttypes.h>
#include <ctype.h>
#include <SPI.h>
#include <Wire.h>
#include <EPD.h> // <1>
#include <gy_65.h> // <2>
#include <avr/sleep.h>
#include <avr/power.h>
#include "rain.h" // <3>
#include "sun.h... | 24.24878 | 92 | 0.586602 | true | 1,672 |
fd497b8ae4dd4d627f527678d98c700bb011012c | 2,686 | ino | Arduino | Arduino Git/RFID_with_Display/RFID_with_Display.ino | THUSHARTOM/Library_Management_system | 2d346813bef47311c456962341aead8280795d30 | [
"MIT"
] | null | null | null | Arduino Git/RFID_with_Display/RFID_with_Display.ino | THUSHARTOM/Library_Management_system | 2d346813bef47311c456962341aead8280795d30 | [
"MIT"
] | null | null | null | Arduino Git/RFID_with_Display/RFID_with_Display.ino | THUSHARTOM/Library_Management_system | 2d346813bef47311c456962341aead8280795d30 | [
"MIT"
] | 0 | null | null | #include <SPI.h>
#include <MFRC522.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define SS_PIN 10
#define RST_PIN 9
#define LED_DENIED_PIN 7
#define LED_ACCESS_PIN 13
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
MFRC522 mfrc522(SS_PIN, RST_PIN); // Instance of the class
in... | 25.580952 | 77 | 0.460536 | true | 645 |
40280842b57bf4715ad8ec0c60311af0d272c4eb | 3,472 | ino | Arduino | ArduinoIDE/teensy-r4ge-pro-audio-in-fx2/teensy-r4ge-pro-audio-in-fx2.ino | DigiTorus86/Teensy-R4ge-Pro | d94a73f4f60957b3f28a27b7d6f74b01a61121fa | [
"MIT"
] | 1 | 2022-01-13T02:00:52.000Z | 2022-01-13T02:00:52.000Z | ArduinoIDE/teensy-r4ge-pro-audio-in-fx2/teensy-r4ge-pro-audio-in-fx2.ino | DigiTorus86/Teensy-R4ge-Pro | d94a73f4f60957b3f28a27b7d6f74b01a61121fa | [
"MIT"
] | null | null | null | ArduinoIDE/teensy-r4ge-pro-audio-in-fx2/teensy-r4ge-pro-audio-in-fx2.ino | DigiTorus86/Teensy-R4ge-Pro | d94a73f4f60957b3f28a27b7d6f74b01a61121fa | [
"MIT"
] | 1 | 2022-01-11T12:55:50.000Z | 2022-01-11T12:55:50.000Z | /***************************************************
Teensy R4ge Pro audio input effects
Simple I2S mono input delay + reverb to stereo out effect.
Requires:
- Teensy R4ge Pro v2
- Teensy 4.1 board
- Audio source and 3.5mm phone cable to test audio in features
Copyright (c) 2021 Paul Pagel
This is free software; ... | 31.853211 | 87 | 0.664747 | true | 1,111 |
b1bd445f1ab9a9ffeef14f4ad5b408a967095ce2 | 718 | ino | Arduino | blinkTest.ino | gabrielduuarte/esp32MultiCoreTest | 9dd1a7ac6eebfef60c247ad3c399667f926db331 | [
"MIT"
] | null | null | null | blinkTest.ino | gabrielduuarte/esp32MultiCoreTest | 9dd1a7ac6eebfef60c247ad3c399667f926db331 | [
"MIT"
] | null | null | null | blinkTest.ino | gabrielduuarte/esp32MultiCoreTest | 9dd1a7ac6eebfef60c247ad3c399667f926db331 | [
"MIT"
] | 0 | null | null | #define LED1 14
#define LED2 32
TaskHandle_t Task1;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
xTaskCreatePinnedToCore(codeForTask1, "Task_1", 1000, NULL, 1, &Task1, 0);
delay(1);
}
void loop() {
// put your main co... | 17.095238 | 76 | 0.647632 | true | 219 |
49717d528ed7b11c36084876bfefdff4002c6797 | 2,596 | ino | Arduino | examples/BluetoothKeyboardMorse/BluetoothKeyboardMorse.ino | milador/EasyMorseBlue | e197282dadaad5ce5b2cd86a42fa85a6bf82aea1 | [
"MIT"
] | null | null | null | examples/BluetoothKeyboardMorse/BluetoothKeyboardMorse.ino | milador/EasyMorseBlue | e197282dadaad5ce5b2cd86a42fa85a6bf82aea1 | [
"MIT"
] | null | null | null | examples/BluetoothKeyboardMorse/BluetoothKeyboardMorse.ino | milador/EasyMorseBlue | e197282dadaad5ce5b2cd86a42fa85a6bf82aea1 | [
"MIT"
] | 0 | null | null |
//////////////////////////////////////
//
//BluetoothKeyboardMorse.ino
//
//Developed by Milad Hajihassan
//
//https://github.com/milador/EasyMorseBlue
//
/////////////////////////////////////
#define MY_TEST 1 //Testing mode = 0 , Production mode = 1
#include "EasyMorseBlueHid.h"
#include "EasyMorseBlue.h"
EasyMor... | 18.027778 | 74 | 0.63829 | true | 816 |
0e908f0135c9cb7995f9072efc4feed0586cd056 | 6,236 | ino | Arduino | examples/Space_Station/Space_Station.ino | Bodmer/JSON_Decoder | e512d599b5985b22533e849803a3f93f348139d3 | [
"MIT"
] | 22 | 2018-11-17T23:25:30.000Z | 2022-03-10T16:47:29.000Z | examples/Space_Station/Space_Station.ino | Bodmer/JSON_Decoder | e512d599b5985b22533e849803a3f93f348139d3 | [
"MIT"
] | 2 | 2019-02-10T22:10:03.000Z | 2019-10-18T11:33:09.000Z | examples/Space_Station/Space_Station.ino | Bodmer/JSON_Decoder | e512d599b5985b22533e849803a3f93f348139d3 | [
"MIT"
] | 5 | 2019-02-10T22:07:58.000Z | 2020-10-06T14:40:28.000Z | // This is an example sketch for the JSON_Decoder library:
// https://github.com/Bodmer/JSON_Decoder
// It connects to a website, requests a list of International Space Station passes that might
// be visible, decodes (parses) the returned JSON message and prints the results to the
// serial monitor window.
// The sk... | 36.467836 | 99 | 0.567992 | true | 1,334 |
1681a120b8dbd67abd70253acd2d26185510b993 | 4,061 | ino | Arduino | weedmonitor.ino/weedmonitor.ino.ino | jailbirt/weedmonitor | 660c478727c0d1af297807d75bd0d86158e74450 | [
"MIT"
] | 1 | 2017-05-02T09:57:53.000Z | 2017-05-02T09:57:53.000Z | weedmonitor.ino/weedmonitor.ino.ino | jailbirt/weedmonitor | 660c478727c0d1af297807d75bd0d86158e74450 | [
"MIT"
] | null | null | null | weedmonitor.ino/weedmonitor.ino.ino | jailbirt/weedmonitor | 660c478727c0d1af297807d75bd0d86158e74450 | [
"MIT"
] | 0 | null | null | /*
LiquidCrystal Library - Hello World
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
This sketch prints "Hello Wor... | 32.488 | 91 | 0.644669 | true | 1,037 |
f9de7b7d712e724c910472355a418a05eea20a38 | 430 | ino | Arduino | ldr_3/ldr_3.ino | adinath1/A4Arduino | 54429f095223db8016ede54188cc927784f4f02b | [
"Apache-2.0"
] | null | null | null | ldr_3/ldr_3.ino | adinath1/A4Arduino | 54429f095223db8016ede54188cc927784f4f02b | [
"Apache-2.0"
] | null | null | null | ldr_3/ldr_3.ino | adinath1/A4Arduino | 54429f095223db8016ede54188cc927784f4f02b | [
"Apache-2.0"
] | 1 | 2021-09-06T06:20:07.000Z | 2021-09-06T06:20:07.000Z | const int ledPin = 13;
const int ldrPin = A0;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
pinMode(53, OUTPUT);
pinMode(ldrPin, INPUT);
}
void loop() {
int ldrStatus = analogRead(ldrPin);
if (ldrStatus <= 20) {
digitalWrite(ledPin, LOW);
Serial.print("Its not touthed ");
Serial.println(ldrStat... | 11.315789 | 35 | 0.681395 | true | 127 |
4836289f0a9219df5065d12e10327f6fd68e392f | 5,382 | ino | Arduino | examples/adafruit_gfx_sdcard/adafruit_gfx_sdcard.ino | Hades32/AnimatedGIF | ed58028768a7a9afdbc80c9b438c808c5aaa30f8 | [
"Apache-2.0"
] | 171 | 2020-07-27T07:25:41.000Z | 2022-03-29T20:15:21.000Z | examples/adafruit_gfx_sdcard/adafruit_gfx_sdcard.ino | Hades32/AnimatedGIF | ed58028768a7a9afdbc80c9b438c808c5aaa30f8 | [
"Apache-2.0"
] | 48 | 2020-07-28T01:13:55.000Z | 2022-03-18T23:18:46.000Z | examples/adafruit_gfx_sdcard/adafruit_gfx_sdcard.ino | Hades32/AnimatedGIF | ed58028768a7a9afdbc80c9b438c808c5aaa30f8 | [
"Apache-2.0"
] | 22 | 2020-07-28T04:14:24.000Z | 2022-02-21T09:52:34.000Z | #include <AnimatedGIF.h>
#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#include <SD.h>
#define TFT_CS 10
#define TFT_RST 8
#define TFT_DC 9
#define TFT_MOSI 11
#define TFT_CLK 13
#define TFT_MISO 12
#define DISPLAY_WIDTH 320
#define DISPLAY_HEIGHT ... | 25.751196 | 115 | 0.573579 | true | 1,602 |
5baaae51c81efb17f3cf37c8a67e9deefd063126 | 2,534 | ino | Arduino | RGB-matrix-Panel-master/examples/scrolltext_16x32/scrolltext_16x32.ino | MattAtHazmat/flirry | d10458e46867f9b22351b16c61298800d0920e00 | [
"MIT"
] | 3 | 2017-12-21T10:04:40.000Z | 2018-10-19T10:14:15.000Z | RGB-matrix-Panel-master/examples/scrolltext_16x32/scrolltext_16x32.ino | MattAtHazmat/flirry | d10458e46867f9b22351b16c61298800d0920e00 | [
"MIT"
] | 1 | 2017-11-14T18:53:37.000Z | 2017-11-14T18:53:37.000Z | Libraries/RGBLEDMatrix/examples/scrolltext_16x32/scrolltext_16x32.ino | Azostar/Dino-Run | 28aea465b621ebdca869c9587ebffb5ea6829738 | [
"MIT"
] | 0 | null | null | // scrolltext demo for Adafruit RGBmatrixPanel library.
// Demonstrates double-buffered animation on our 16x32 RGB LED matrix:
// http://www.adafruit.com/products/420
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
// for Adafruit Industries.
// BSD license, all text above must be included in any redi... | 30.53012 | 79 | 0.64562 | true | 786 |
2e361800a7e398f4767918a7061ebde8c620680f | 1,196 | ino | Arduino | Mpu_6050/examples/status/status.ino | YH-Choi-001/module_lib | f86a0f86eddf6e9602dd7e212a750880c6aa3adb | [
"Unlicense"
] | 1 | 2022-02-12T12:06:55.000Z | 2022-02-12T12:06:55.000Z | Mpu_6050/examples/status/status.ino | YH-Choi-001/module_lib | f86a0f86eddf6e9602dd7e212a750880c6aa3adb | [
"Unlicense"
] | 1 | 2022-03-29T18:27:46.000Z | 2022-03-29T18:46:25.000Z | Mpu_6050/examples/status/status.ino | YH-Choi-001/module_lib | f86a0f86eddf6e9602dd7e212a750880c6aa3adb | [
"Unlicense"
] | 0 | null | null | // Please do the following:
// connect Vcc on GY-521 to 3.3V on arduino
// connect Gnd on GY-521 to GND on arduino
// connect SDA on GY-521 to SDA on arduino
// connect SCL on GY-521 to SCL on arduino
#include <Mpu_6050.h>
yh::rec::Mpu_6050 mpu (0x68); // change argument to 0x69 if AD0 is HIGH
void update_progress (... | 24.916667 | 82 | 0.65301 | true | 345 |
c47617d28ca0a1f3569418504415a65c1e7d91c2 | 2,950 | ino | Arduino | MIDI_Psychogalv_328p_v021/Peripherals.ino | er-obrien/MIDIsprout | 756134851e742f544de9c7264401516008efad56 | [
"MIT"
] | 50 | 2017-01-10T08:17:14.000Z | 2022-03-19T17:39:42.000Z | MIDI_Psychogalv_328p_v021/Peripherals.ino | er-obrien/MIDIsprout | 756134851e742f544de9c7264401516008efad56 | [
"MIT"
] | 1 | 2020-12-02T09:42:11.000Z | 2020-12-02T09:42:11.000Z | MIDI_Psychogalv_328p_v021/Peripherals.ino | er-obrien/MIDIsprout | 756134851e742f544de9c7264401516008efad56 | [
"MIT"
] | 22 | 2017-09-26T10:31:20.000Z | 2022-03-01T21:38:26.000Z |
void checkKnob() {
//float knobValue
threshold = analogRead(knobPin);
//set threshold to knobValue mapping
threshold = mapfloat(threshold, knobMin, knobMax, threshMin, threshMax);
}
void knobMode() {
//scroll through menus and select values using only a single knob
//keep dreamin' kid,
}
void ramp... | 27.830189 | 109 | 0.655254 | true | 907 |
bfb93b56cb44718f7a3d6f4736ba9aa270514935 | 2,091 | ino | Arduino | tools/xnorer/xnorer.ino | wizard97/iSkipper | 408a7b7449f03837ae0f23ee5f1247a2d02ebdd5 | [
"MIT"
] | 150 | 2017-04-16T01:24:38.000Z | 2022-03-27T20:10:30.000Z | tools/xnorer/xnorer.ino | VCNinc/iSkipper | edf230ff4c221f37b6e242555892f5ebc7f79dc5 | [
"MIT"
] | 14 | 2017-04-26T22:48:47.000Z | 2021-06-16T12:04:49.000Z | tools/xnorer/xnorer.ino | VCNinc/iSkipper | edf230ff4c221f37b6e242555892f5ebc7f79dc5 | [
"MIT"
] | 18 | 2018-02-01T22:52:41.000Z | 2021-09-24T16:17:45.000Z | #include "iClickerEmulator.h"
#include <string.h>
//Attempt to figure out 7 byte ack payload
/* UPDATE THESE FOR YOUR PARTICULAR BOARD */
#define IS_RFM69HW false //make true if using w version
#define IRQ_PIN 6 // This is 3 on adafruit feather
#define CSN 10 // This is 8 on adafruit feather
/* END THINGS YOU MUST UP... | 22.483871 | 85 | 0.642755 | true | 622 |
0d55080527789da55bdc811df721f960b8c9ccaf | 220 | ino | Arduino | attiny_blink/attiny_blink.ino | aatishb/attiny-examples | db3207f0b6cd8229b691b5b1982380afcf001a51 | [
"MIT"
] | 11 | 2019-04-19T23:31:09.000Z | 2022-01-01T20:56:15.000Z | attiny_blink/attiny_blink.ino | aatishb/attiny-examples | db3207f0b6cd8229b691b5b1982380afcf001a51 | [
"MIT"
] | 1 | 2018-09-01T19:56:02.000Z | 2018-09-01T19:56:02.000Z | attiny_blink/attiny_blink.ino | aatishb/attiny-examples | db3207f0b6cd8229b691b5b1982380afcf001a51 | [
"MIT"
] | 4 | 2018-08-02T00:06:38.000Z | 2020-07-11T08:02:16.000Z | // Blinks an LED connected to pin 0
int blinkPin = 0;
void setup()
{
pinMode(blinkPin, OUTPUT);
}
void loop()
{
digitalWrite(blinkPin, HIGH);
delay(100);
digitalWrite(blinkPin, LOW);
delay(100);
}
| 12.222222 | 35 | 0.631818 | true | 63 |
a7a0555b5fb1b3467bc913e90deb181ee65c8605 | 4,549 | ino | Arduino | Arduino/roomba_ir/roomba_ir.ino | bynds/HATS | 6deefeca26b12e79a5d5ddb67cbea13ff913d90a | [
"Apache-2.0"
] | 16 | 2016-01-24T00:29:39.000Z | 2018-02-25T02:42:21.000Z | Arduino/roomba_ir/roomba_ir.ino | bynds/HATS | 6deefeca26b12e79a5d5ddb67cbea13ff913d90a | [
"Apache-2.0"
] | 1 | 2016-12-21T21:55:53.000Z | 2016-12-22T01:29:38.000Z | Arduino/roomba_ir/roomba_ir.ino | bynds/HATS | 6deefeca26b12e79a5d5ddb67cbea13ff913d90a | [
"Apache-2.0"
] | 10 | 2016-04-04T07:37:06.000Z | 2019-09-19T16:33:00.000Z | /*
The Arduino IRremote library for Infrared communications
https://github.com/shirriff/Arduino-IRremote
Follow the instructions for installing an Arduino library here
https://learn.sparkfun.com/tutorials/installing-an-arduino-library
*/
#include <IRremote.h>
/*
IR remote control commands. These comma... | 38.880342 | 114 | 0.685206 | true | 1,166 |
eb61946a71a8ca0cdc2dc9ebe9e4c6b7dc1c3b27 | 3,979 | ino | Arduino | software/ir_receiver_attiny85/ir_receiver_attiny85.ino | lrswss/diy-spider-robot | 3fa4374d28b8473d3a492303c4edb62090b41ab2 | [
"MIT"
] | null | null | null | software/ir_receiver_attiny85/ir_receiver_attiny85.ino | lrswss/diy-spider-robot | 3fa4374d28b8473d3a492303c4edb62090b41ab2 | [
"MIT"
] | null | null | null | software/ir_receiver_attiny85/ir_receiver_attiny85.ino | lrswss/diy-spider-robot | 3fa4374d28b8473d3a492303c4edb62090b41ab2 | [
"MIT"
] | 0 | null | null | /*
* IR Receiver/Decoder for Attiny85
*
* Decodes IR codes from a cheap chinese remote control
* and sends short commands via SoftSerial to other MCU
*
* Copyright (c) 2019 Lars Wessels
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated docum... | 30.844961 | 67 | 0.61523 | true | 1,085 |
d80bb3d77032543ebdfac5ff745164fc67dc8e65 | 2,221 | ino | Arduino | VerveCoffeeMachine/CoffeeMachine.ino | andycb/VerveCoffeeMachine | e5c59aebab232a7572a2beca0a72f39182615c26 | [
"MIT"
] | null | null | null | VerveCoffeeMachine/CoffeeMachine.ino | andycb/VerveCoffeeMachine | e5c59aebab232a7572a2beca0a72f39182615c26 | [
"MIT"
] | null | null | null | VerveCoffeeMachine/CoffeeMachine.ino | andycb/VerveCoffeeMachine | e5c59aebab232a7572a2beca0a72f39182615c26 | [
"MIT"
] | 0 | null | null | #include "CoffeeMachine.h"
const int PIN_HOTPLATE = 13;
const int PIN_BUZZER = 12;
CoffeeMachine::CoffeeMachine(StateChangedCallback stateChangedCallback) {
m_stateChangedCallback = stateChangedCallback;
}
void CoffeeMachine::PressButton(Buttons button) {
digitalWrite(button, HIGH);
delay(500);
digit... | 23.135417 | 73 | 0.638901 | true | 584 |
b39bf956f77db84b2771359ad61978ac6d010ad3 | 3,876 | ino | Arduino | samples/ard_IMU/ard_acc_ADXL345_spi/ard_acc_ADXL345_spi.ino | davidcoelho89/Arduino-Learning | d941f1874cc43ef9592dfda839cb7fa4a6f6eda9 | [
"MIT"
] | null | null | null | samples/ard_IMU/ard_acc_ADXL345_spi/ard_acc_ADXL345_spi.ino | davidcoelho89/Arduino-Learning | d941f1874cc43ef9592dfda839cb7fa4a6f6eda9 | [
"MIT"
] | null | null | null | samples/ard_IMU/ard_acc_ADXL345_spi/ard_acc_ADXL345_spi.ino | davidcoelho89/Arduino-Learning | d941f1874cc43ef9592dfda839cb7fa4a6f6eda9 | [
"MIT"
] | 0 | null | null | // Include Libraries
#include <SPI.h>
// Define variables
int CS_pin = 10;
// ADXL345 Registers
char POWER_CTL = 0x2D; //Power Control Register
char DATA_FORMAT = 0x31; //Data format Register
char DATAX0 = 0x32; //X-Axis Data 0
char DATAX1 = 0x33; //X-Axis Data 1
char DATAY0 = 0x34; //Y-Axis Data 0
char DATAY1 = ... | 36.224299 | 153 | 0.715428 | true | 1,057 |
29637b01e902c1713ca38adc3d1f5a135dd80bd5 | 3,344 | ino | Arduino | D2DSeparateBroker/D2DMQTT.ino | IoTPH/MQTT_E8 | 250a1e5962af8e2794850059894c67bbcae5b3fe | [
"MIT"
] | 1 | 2019-01-06T04:06:00.000Z | 2019-01-06T04:06:00.000Z | D2DSeparateBroker/D2DMQTT.ino | IoTPH/MQTT_E8 | 250a1e5962af8e2794850059894c67bbcae5b3fe | [
"MIT"
] | null | null | null | D2DSeparateBroker/D2DMQTT.ino | IoTPH/MQTT_E8 | 250a1e5962af8e2794850059894c67bbcae5b3fe | [
"MIT"
] | 1 | 2019-01-06T04:06:17.000Z | 2019-01-06T04:06:17.000Z | /* MQTT*/
#include <ESP8266WiFi.h> // WiFi Header
#include <PubSubClient.h> // MQTT Library
#include <ESP8266HTTPClient.h> // HTTP Header
#include <ArduinoJson.h> // JSON formatter header | https://b... | 28.338983 | 141 | 0.554127 | true | 749 |
83cc17b25975ce01b33db84a9ebc0d19b8eefc3f | 8,320 | ino | Arduino | keggerator_fan.ino/keggerator_fan.ino.ino | tgreening/keggerator_fan | 37e8eb448008aca0e01d4f8cd9b2f8864ca53e52 | [
"MIT"
] | null | null | null | keggerator_fan.ino/keggerator_fan.ino.ino | tgreening/keggerator_fan | 37e8eb448008aca0e01d4f8cd9b2f8864ca53e52 | [
"MIT"
] | null | null | null | keggerator_fan.ino/keggerator_fan.ino.ino | tgreening/keggerator_fan | 37e8eb448008aca0e01d4f8cd9b2f8864ca53e52 | [
"MIT"
] | 0 | null | null | #include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager
#include <ESP8266WebServer.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#include <SPI.h>
#include <Wire.h>
#include <FS.h> //... | 32.627451 | 107 | 0.666466 | true | 2,113 |
b8a44f7cb6223c202ccb49aff6a4be0da54f3ece | 783 | ino | Arduino | test/SI1145/SI1145.ino | ScarecrowStraw/Ag-IoT | 4acf55d6bcf6016471c3545409512cc465a275ee | [
"MIT"
] | null | null | null | test/SI1145/SI1145.ino | ScarecrowStraw/Ag-IoT | 4acf55d6bcf6016471c3545409512cc465a275ee | [
"MIT"
] | null | null | null | test/SI1145/SI1145.ino | ScarecrowStraw/Ag-IoT | 4acf55d6bcf6016471c3545409512cc465a275ee | [
"MIT"
] | 0 | null | null | #include <Wire.h>
#include "Adafruit_SI1145.h"
Adafruit_SI1145 uv = Adafruit_SI1145();
void setup() {
Serial.begin(9600);
Serial.println("Adafruit SI1145 test");
if (! uv.begin()) {
Serial.println("Didn't find Si1145");
while (1);
}
Serial.println("OK!");
}
void loop() {
Serial.println("... | 22.371429 | 58 | 0.619413 | true | 224 |
bf8e9d5caccea18f708955fe9b21f1de2496b0ed | 1,798 | ino | Arduino | PWM_For_LEDs/PWM_For_LEDs.ino | GeoffSpielman/Hackathin_Examples | f57c9074826a84defdfd53e8b0810cf533fba9ac | [
"MIT"
] | 1 | 2017-10-28T16:43:24.000Z | 2017-10-28T16:43:24.000Z | PWM_For_LEDs/PWM_For_LEDs.ino | GeoffSpielman/Hackathin_Examples | f57c9074826a84defdfd53e8b0810cf533fba9ac | [
"MIT"
] | null | null | null | PWM_For_LEDs/PWM_For_LEDs.ino | GeoffSpielman/Hackathin_Examples | f57c9074826a84defdfd53e8b0810cf533fba9ac | [
"MIT"
] | 0 | null | null | const int BTN = 12;
const int LED = 3;
int ledBrightness = 0;
int ledBrightnessIncrement = 3;
const int LED_INCREMENT_DELAY = 20;
unsigned long lastIncrementTime;
unsigned long prevChangeTime;
int prevSteadyState = 0;
int prevReading = 0;
int currentReading = 0;
unsigned long debounceTime = 50;
void set... | 28.539683 | 95 | 0.683537 | true | 428 |
0e331043fd6dc8d7fe8dd7dc6e41c565ca9a54d1 | 2,906 | ino | Arduino | servo-postion-finder-using-serial.ino | conorwalsh/Servo-Position-Finder-Using-Serial | faddd6ed661d64a0b5431eeddff6f9f82fba2fe4 | [
"MIT"
] | 1 | 2015-03-29T20:15:49.000Z | 2015-03-29T20:15:49.000Z | servo-postion-finder-using-serial.ino | conorwalsh/Servo-Position-Finder-Using-Serial | faddd6ed661d64a0b5431eeddff6f9f82fba2fe4 | [
"MIT"
] | null | null | null | servo-postion-finder-using-serial.ino | conorwalsh/Servo-Position-Finder-Using-Serial | faddd6ed661d64a0b5431eeddff6f9f82fba2fe4 | [
"MIT"
] | 0 | null | null | /*********************************************************************
**********************************************************************
Conor Walsh 2015
Website: http://www.conorwalsh.net
GitHub: https://github.com/conorwalsh
Version 1.0
First created: 28th March 2015
Last modified: 29th March ... | 31.934066 | 98 | 0.628011 | true | 605 |
0a740ff7232f4ff478b20c7576e458aba5f27e76 | 3,902 | ino | Arduino | examples/ESPAsync_WiFi/ESPAsync_WiFi.ino | SailCast/ESPAsync_WiFiManager_Lite | 99a7f957cbaac584711529dea62cd70d7393430d | [
"MIT"
] | null | null | null | examples/ESPAsync_WiFi/ESPAsync_WiFi.ino | SailCast/ESPAsync_WiFiManager_Lite | 99a7f957cbaac584711529dea62cd70d7393430d | [
"MIT"
] | null | null | null | examples/ESPAsync_WiFi/ESPAsync_WiFi.ino | SailCast/ESPAsync_WiFiManager_Lite | 99a7f957cbaac584711529dea62cd70d7393430d | [
"MIT"
] | 0 | null | null | /****************************************************************************************************************************
ESPAsync_WiFi.ino
For ESP8266 / ESP32 boards
ESPAsync_WiFiManager_Lite (https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite) is a library
for the ESP32/ESP8266 boards to enable sto... | 25.84106 | 141 | 0.657611 | true | 1,024 |
eddd1b8e0295a2a20dd738b9de5e47b4f947ebd7 | 2,874 | ino | Arduino | selfbalancingrobot/serial_communication.ino | sebnil/Selfbalancing-robot | 6282d58d003e41cd52b41614e9aca5fd5d5b35ee | [
"MIT"
] | 19 | 2015-07-12T19:40:14.000Z | 2021-04-04T23:07:21.000Z | selfbalancingrobot/serial_communication.ino | sebnil/Selfbalancing-robot | 6282d58d003e41cd52b41614e9aca5fd5d5b35ee | [
"MIT"
] | null | null | null | selfbalancingrobot/serial_communication.ino | sebnil/Selfbalancing-robot | 6282d58d003e41cd52b41614e9aca5fd5d5b35ee | [
"MIT"
] | 11 | 2016-01-22T10:41:18.000Z | 2020-03-21T18:28:47.000Z | #define SERIALCOMMAND_BUFFER 32
char buffer[SERIALCOMMAND_BUFFER + 1];
byte bufPos;
char *last;
void readSerialCommand() {
while (Serial1.available() > 0) {
char inChar = Serial1.read(); // Read single available character, there may be more waiting
if (inChar == '\r' || inChar == '\n' || inChar == '\0') { ... | 26.366972 | 131 | 0.629784 | true | 741 |
9b8bb23658432de0d94c5dc0ed053144cdeb7904 | 1,918 | ino | Arduino | examples/GettingStarted/Footer.ino | EmbedUI/EmbedUI-Library | 7cd63fdc6226811eb60b215dd74367b38a95d912 | [
"MIT"
] | 1 | 2021-05-21T01:00:16.000Z | 2021-05-21T01:00:16.000Z | examples/GettingStarted/Footer.ino | EmbedUI/EmbedUI-Library | 7cd63fdc6226811eb60b215dd74367b38a95d912 | [
"MIT"
] | 5 | 2021-05-10T09:51:58.000Z | 2021-05-18T16:05:01.000Z | examples/GettingStarted/Footer.ino | EmbedUI/EmbedUI-Library | 7cd63fdc6226811eb60b215dd74367b38a95d912 | [
"MIT"
] | 1 | 2021-07-20T04:59:18.000Z | 2021-07-20T04:59:18.000Z | /*
Footer Content
*/
//We will be using this functon to draw the footer onto the UI, many times.
void showFooter()
{
//We'll use the 'F()' macro function to save all the string content in the Flash memory. We need some free RAM to do other tasks
display.createText(F("External Links:"), 14, 100, 631, display.co... | 41.695652 | 131 | 0.68561 | true | 613 |
b7fb68fdd3c4cc9fe0f6df18d401103421a3ca9f | 2,386 | ino | Arduino | stm32/libraries/BoardExamples/examples/Discovery407VG/playSamples_basic/playSamples_basic.ino | BSFrance/BSFrance | db1da987a84a60f568c5a4c79635d596e8ceb88b | [
"MIT"
] | 8 | 2018-02-23T18:48:24.000Z | 2021-02-13T23:57:27.000Z | stm32/libraries/BoardExamples/examples/Discovery407VG/playSamples_basic/playSamples_basic.ino | BSFrance/BSFrance | db1da987a84a60f568c5a4c79635d596e8ceb88b | [
"MIT"
] | 2 | 2018-03-11T07:14:30.000Z | 2019-02-17T20:05:26.000Z | stm32/libraries/BoardExamples/examples/Discovery407VG/playSamples_basic/playSamples_basic.ino | BSFrance/BSFrance | db1da987a84a60f568c5a4c79635d596e8ceb88b | [
"MIT"
] | 4 | 2018-05-01T14:53:34.000Z | 2021-04-06T12:31:05.000Z | /*
STM32F4 Discovery sample player basics
This program is just playing 2 samples from memory with random pitch
and increasing speed.
It lets room for a lot of creativity to make your own melodies.
The samples are only 8bit@16kHz.
16bit and higher frequency would give better sounds.
April 2017, ChrisMicro
... | 22.509434 | 130 | 0.691953 | true | 726 |
7bf8affe2374b8fd7b7050670e7ab4379c3ec199 | 4,112 | ino | Arduino | examples/Mini_BTControl/Mini_BTControl.ino | KKITC-Frason/MatrixMini | 104670a36d296c0c01550d7ae3a4f21eea427ad8 | [
"MIT"
] | 3 | 2019-05-15T03:28:45.000Z | 2019-05-15T03:44:39.000Z | examples/Mini_BTControl/Mini_BTControl.ino | frason5566/MatrixMini | 104670a36d296c0c01550d7ae3a4f21eea427ad8 | [
"MIT"
] | null | null | null | examples/Mini_BTControl/Mini_BTControl.ino | frason5566/MatrixMini | 104670a36d296c0c01550d7ae3a4f21eea427ad8 | [
"MIT"
] | 0 | null | null | /*******************
Mini Bluetooth Remote Control Example
* Description: A simple application with Bluetooth module and APP by AI2.
* Note: Download the remote control APP from Matrix Robotics website.
*
* Author: Frason Fan
* modified 18 Nov 2020
*
* www.matrixrobotics... | 21.087179 | 90 | 0.459874 | true | 1,255 |
839fdedce82a53e71b234e5c4f8c21aa8ed5825d | 9,163 | ino | Arduino | tests/Board_Test_32_2.1b/Board_Test_32_2.1b.ino | JasXSL/VibHub-ESP32 | 46a2f0c683aacfa65b880db058cc2d3ddc8a5461 | [
"MIT"
] | 6 | 2018-01-29T07:53:20.000Z | 2021-09-26T17:07:41.000Z | tests/Board_Test_32_2.1b/Board_Test_32_2.1b.ino | JasXSL/VibHub-ESP32 | 46a2f0c683aacfa65b880db058cc2d3ddc8a5461 | [
"MIT"
] | 16 | 2018-01-17T19:26:02.000Z | 2019-07-22T03:45:01.000Z | tests/Board_Test_32_2.1b/Board_Test_32_2.1b.ino | JasXSL/VibHub-ESP32 | 46a2f0c683aacfa65b880db058cc2d3ddc8a5461 | [
"MIT"
] | 0 | null | null | #include <Arduino.h>
#include "Configuration.h"
#include "StatusLED.h"
#include "Pwm.h"
#include "Motor.h"
#include <WiFi.h>
#include <SPIFFS.h>
#include <ArduinoJson.h>
const char* ssid = "IoT Crap";
const char* password = "complete trash";
#define LEDTESTDELAY 50
#define FORMAT_SPIFFS_IF_FAILED true
// LED ... | 31.380137 | 123 | 0.53978 | true | 2,531 |
cd65f15b6f855f0f096533d923ea9f9c08baf5e8 | 518 | ino | Arduino | TagsGenerator/createMatrix25/Arduino/libraries/BTLE/examples/recv/recv.ino | ThomasLengeling/L3MasterReader | 37ada4be9c1d9a41287b7ff196a158d7816e86a8 | [
"MIT"
] | null | null | null | TagsGenerator/createMatrix25/Arduino/libraries/BTLE/examples/recv/recv.ino | ThomasLengeling/L3MasterReader | 37ada4be9c1d9a41287b7ff196a158d7816e86a8 | [
"MIT"
] | null | null | null | TagsGenerator/createMatrix25/Arduino/libraries/BTLE/examples/recv/recv.ino | ThomasLengeling/L3MasterReader | 37ada4be9c1d9a41287b7ff196a158d7816e86a8 | [
"MIT"
] | 0 | null | null | #include <SPI.h>
#include <RF24.h>
#include <BTLE.h>
RF24 radio(9,10);
BTLE btle(&radio);
void setup() {
Serial.begin(9600);
while (!Serial) { }
Serial.println("BTLE advertisement receiver");
btle.begin("");
}
void loop() {
Serial.print("Listening... ");
if (btle.listen()) {
Serial.print("... | 16.709677 | 122 | 0.596525 | true | 153 |
ad6775f58f8ffdc79e3322c143013eaa97c1db09 | 3,339 | ino | Arduino | test/arduinosdk_test/arduinosdk_test.ino | cavamora/mongooseos-walle | b6c730c4be6260ea0e1c1ea4ee39be75e4450709 | [
"Apache-2.0"
] | 1 | 2022-01-10T23:26:32.000Z | 2022-01-10T23:26:32.000Z | test/arduinosdk_test/arduinosdk_test.ino | cavamora/mongooseos-walle | b6c730c4be6260ea0e1c1ea4ee39be75e4450709 | [
"Apache-2.0"
] | null | null | null | test/arduinosdk_test/arduinosdk_test.ino | cavamora/mongooseos-walle | b6c730c4be6260ea0e1c1ea4ee39be75e4450709 | [
"Apache-2.0"
] | 0 | null | null | /* Interface L298N With NodeMCU
* By TheCircuit
*/
#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
// called this way, it uses the default address 0x40
Adafruit_PWMServoDriver *pwm = Adafruit_PWMServoDriver();
// you can also call it with a different address you want
//Adafruit_PWMServoDriver pwm = Adafrui... | 24.91791 | 100 | 0.68823 | true | 1,008 |
62c8c78bddf391e900dc78231dffb8a05ed421e7 | 1,602 | ino | Arduino | pi_pact.ino | jvonk/reference_code | dc45cd596b49036f2725d3711516f2a29d980a34 | [
"MIT"
] | null | null | null | pi_pact.ino | jvonk/reference_code | dc45cd596b49036f2725d3711516f2a29d980a34 | [
"MIT"
] | null | null | null | pi_pact.ino | jvonk/reference_code | dc45cd596b49036f2725d3711516f2a29d980a34 | [
"MIT"
] | 0 | null | null | #include <CurieBLE.h> // #include <ArduinoBLE.h>
char* name;
byte* address;
byte iBeaconData[] = {
0x4C, 0x00, 0x02, 0x15, //Apple iBeacon
0xB9, 0x40, 0x7F, 0x30, 0xF5, 0xF8, 0x46, 0x6E, 0xAF, 0xF9, 0x25, 0x55, 0x6B, 0x57, 0xFE, 0x6D, //Example UUD
0x01, 0x00, // major
0x01, 0x00, // minor
0xF6 // meaured po... | 28.105263 | 111 | 0.647316 | true | 579 |
cf212618f32b7c87d88bd0e294e52581939b88dc | 786 | ino | Arduino | 008_Analoge Ausgänge/Aufgaben08/Helligkeit.ino | hobbyelektroniker/Arduino_Einstieg | 53ff0ecfbedc449008a65385bf4f3a5f0eeea53e | [
"Unlicense"
] | 3 | 2021-01-07T18:50:59.000Z | 2021-12-03T18:58:13.000Z | 008_Analoge Ausgänge/Aufgaben08/Helligkeit.ino | hobbyelektroniker/Arduino_Einstieg | 53ff0ecfbedc449008a65385bf4f3a5f0eeea53e | [
"Unlicense"
] | null | null | null | 008_Analoge Ausgänge/Aufgaben08/Helligkeit.ino | hobbyelektroniker/Arduino_Einstieg | 53ff0ecfbedc449008a65385bf4f3a5f0eeea53e | [
"Unlicense"
] | 1 | 2021-03-25T23:33:08.000Z | 2021-03-25T23:33:08.000Z | /*
Analog Output
Helligkeitssteuerung einer LED
Version 1.0
Der Hobbyelektroniker
Der Code ist Public Domain und kann ohne Einschränkungen frei verwendet werden
*/
const int inputPin = A0;
const int ledPin = 10;
void setup() {
Serial.begin(9600);
// auf pinMode() können wir bei analoger Ausgabe ve... | 21.243243 | 82 | 0.655216 | true | 249 |
0b6fd0d642d336529829cc61b4b64198c9e4d2bd | 12,679 | ino | Arduino | ADXL355_I2C_HVPC/ADXL355_I2C_HVPC.ino | Joostytibo/HVPC_ADXL355 | 540dc5aa39f2a02662ffbc812fe638089c999f35 | [
"MIT"
] | null | null | null | ADXL355_I2C_HVPC/ADXL355_I2C_HVPC.ino | Joostytibo/HVPC_ADXL355 | 540dc5aa39f2a02662ffbc812fe638089c999f35 | [
"MIT"
] | null | null | null | ADXL355_I2C_HVPC/ADXL355_I2C_HVPC.ino | Joostytibo/HVPC_ADXL355 | 540dc5aa39f2a02662ffbc812fe638089c999f35 | [
"MIT"
] | 0 | null | null | /*
Name: ADXL355_I2C_HVPC
Date: November 3, 2020
Author: Joost Lassche
Description: EVAL_ADXL355Z Accelerometer
Revision: V1.4.3
Rev update: V1.0 November 3, 2020 *--* Written the main code
Rev update: V1.1 November 10, 2020 *--* Added Bit Shifting to the code
Rev up... | 58.428571 | 176 | 0.558719 | true | 3,089 |
b244fe8a263d58c429016b7057631127a4ada96b | 493 | ino | Arduino | lab_carouselLED/lab_carouselLED.ino | wcai49/Arduino_Study | 5c2270f36c918d59c0130864b4115031eee1c039 | [
"MIT"
] | null | null | null | lab_carouselLED/lab_carouselLED.ino | wcai49/Arduino_Study | 5c2270f36c918d59c0130864b4115031eee1c039 | [
"MIT"
] | null | null | null | lab_carouselLED/lab_carouselLED.ino | wcai49/Arduino_Study | 5c2270f36c918d59c0130864b4115031eee1c039 | [
"MIT"
] | 0 | null | null | int val;
int BASE = 2; // first pin number
int NUM = 6; // total led number
void setup() {
// put your setup code here, to run once:
for(int i = BASE; i < BASE + NUM; i ++){
pinMode(i, OUTPUT); // set pin i as output
}
}
void loop() {
// put your main code here, to run repeatedly:
for(int i = BASE; ... | 21.434783 | 48 | 0.541582 | true | 149 |
8915e127b86b24147e1b735d4ef310b737f484b1 | 603 | ino | Arduino | hardware/electronicsDesign/sketches/pySerial_Receiver/pySerial_Receiver.ino | Suryansh-Kaushal/catchItTommy | 04b400519cefe882029e57fee9018296d30f75c6 | [
"MIT"
] | null | null | null | hardware/electronicsDesign/sketches/pySerial_Receiver/pySerial_Receiver.ino | Suryansh-Kaushal/catchItTommy | 04b400519cefe882029e57fee9018296d30f75c6 | [
"MIT"
] | null | null | null | hardware/electronicsDesign/sketches/pySerial_Receiver/pySerial_Receiver.ino | Suryansh-Kaushal/catchItTommy | 04b400519cefe882029e57fee9018296d30f75c6 | [
"MIT"
] | 0 | null | null | void setup() {
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, LOW);
// put your setup code here, to run once:
}
int xcor,ycor;
void loop() {
// put your main code here, to run repeatedly:
while(!Serial.available());
String s_xcor = Serial.readStringUntil('\n');
String s_yco... | 23.192308 | 48 | 0.643449 | true | 178 |
1a9d786d23688836eb9ccc885bd4fe5a0f6f46dd | 1,375 | ino | Arduino | lib/BNO080/examples/Example10-PrintPacket/Example10-PrintPacket.ino | chvmp/firmware | 7cde708fc0a1509ed878df20e79caa0695963aa2 | [
"BSD-3-Clause"
] | 3 | 2020-08-17T11:40:09.000Z | 2021-11-30T20:11:52.000Z | lib/BNO080/examples/Example10-PrintPacket/Example10-PrintPacket.ino | chvmp/firmware | 7cde708fc0a1509ed878df20e79caa0695963aa2 | [
"BSD-3-Clause"
] | null | null | null | lib/BNO080/examples/Example10-PrintPacket/Example10-PrintPacket.ino | chvmp/firmware | 7cde708fc0a1509ed878df20e79caa0695963aa2 | [
"BSD-3-Clause"
] | 3 | 2020-03-25T14:12:13.000Z | 2021-07-06T02:40:16.000Z | /*
Using the BNO080 IMU
By: Nathan Seidle
SparkFun Electronics
Date: December 21st, 2017
License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
Feel like supporting our work? Buy a board from SparkFun!
https://www.sparkfun.com/products/14586
T... | 25.943396 | 117 | 0.737455 | true | 374 |
e3559c895a2813358726a27975de1e9298e06902 | 405 | ino | Arduino | examples/hid/generic/generic.ino | am-523/EspTinyUSB | 697b5ba64c857196449cd987fb064c0ade029626 | [
"MIT"
] | 1 | 2021-05-06T05:40:31.000Z | 2021-05-06T05:40:31.000Z | examples/hid/generic/generic.ino | am-523/EspTinyUSB | 697b5ba64c857196449cd987fb064c0ade029626 | [
"MIT"
] | null | null | null | examples/hid/generic/generic.ino | am-523/EspTinyUSB | 697b5ba64c857196449cd987fb064c0ade029626 | [
"MIT"
] | 0 | null | null | /**
* Simple vendor In/Out HID device
* author: chegewara
*/
#include "Arduino.h"
#include "hidgeneric.h"
HIDgeneric dev;
void dataCB(uint8_t report_id, uint8_t report_type, uint8_t const* buffer, uint16_t bufsize)
{
Serial.println((char*)buffer);
}
void setup()
{
Serial.begin(115200);
dev.begin();
... | 14.464286 | 92 | 0.65679 | true | 115 |
dd890b5074ce857d7a33aa3e4edc5bdcf62727bd | 450 | ino | Arduino | src/sketch.ino | yoshitake-hamano/arduinouno_sg90 | bf97d800aa27b3e58442d60dc1c97b7501f68d4a | [
"MIT"
] | null | null | null | src/sketch.ino | yoshitake-hamano/arduinouno_sg90 | bf97d800aa27b3e58442d60dc1c97b7501f68d4a | [
"MIT"
] | null | null | null | src/sketch.ino | yoshitake-hamano/arduinouno_sg90 | bf97d800aa27b3e58442d60dc1c97b7501f68d4a | [
"MIT"
] | 0 | null | null | #include <Servo.h>
#define ANGLE_OFFSET 1
Servo servo;
void setup()
{
Serial.begin(9600);
servo.attach(4);
}
void loop()
{
static int angle;
static int offset = ANGLE_OFFSET;
angle += offset;
if (angle > 180) {
angle = 180;
offset = -offset;
}
if (angle < 0) {
... | 14.516129 | 37 | 0.54 | true | 126 |
6c356d07160861688682aa55ce96e612557f9f2d | 22,715 | ino | Arduino | arduino/joey_arduino.ino | Tycho-02/studentmotivator-inator | 6c50d79127cca1a88bf2f2df58a0f451f41abe9d | [
"MIT"
] | 1 | 2021-03-17T13:09:15.000Z | 2021-03-17T13:09:15.000Z | arduino/joey_arduino.ino | Tycho-02/studentmotivator-inator | 6c50d79127cca1a88bf2f2df58a0f451f41abe9d | [
"MIT"
] | null | null | null | arduino/joey_arduino.ino | Tycho-02/studentmotivator-inator | 6c50d79127cca1a88bf2f2df58a0f451f41abe9d | [
"MIT"
] | 0 | null | null | #include <AM2320.h>
#include <Arduino.h>
#include <U8g2lib.h>
#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#endif
#ifdef U8X8_HAVE_HW_I2C
#include <Wire.h>
#endif
AM2320 th(&Wire);
const int BUTTON1 = 2;
const int BUTTON2 = 3;
const int BUTTON3 = 4;
const int BUTTON4 = 5;
char object = ' ';
String data;
char receive... | 38.565365 | 100 | 0.620383 | true | 14,155 |
316c7157a973149914842e9bf03062ac815a2df9 | 8,233 | ino | Arduino | MovementSwitch/A_Main.ino | AceCentre/MovementSwitch | 7a576d665111c8f5dea0ffa2c6271cf8ed6791af | [
"MIT"
] | 1 | 2021-08-06T02:17:50.000Z | 2021-08-06T02:17:50.000Z | MovementSwitch/A_Main.ino | AceCentre/MovementSwitch | 7a576d665111c8f5dea0ffa2c6271cf8ed6791af | [
"MIT"
] | 7 | 2020-07-31T09:45:44.000Z | 2022-02-27T07:26:54.000Z | MovementSwitch/A_Main.ino | AceCentre/MovementSwitch | 7a576d665111c8f5dea0ffa2c6271cf8ed6791af | [
"MIT"
] | 0 | null | null |
//*******************************************************************************************************************
// Main State Machine *****************************************************************************************
//*************************************************************************... | 34.447699 | 160 | 0.472003 | true | 2,162 |
6e777942ad2e904aa809cd4d9c37729225bd6174 | 1,568 | ino | Arduino | musikk/musikk.ino | IsmaFont/arduinosConNoso | c8b293fbc7d267f360d2ac48c05c24248643db7e | [
"MIT"
] | null | null | null | musikk/musikk.ino | IsmaFont/arduinosConNoso | c8b293fbc7d267f360d2ac48c05c24248643db7e | [
"MIT"
] | null | null | null | musikk/musikk.ino | IsmaFont/arduinosConNoso | c8b293fbc7d267f360d2ac48c05c24248643db7e | [
"MIT"
] | 0 | null | null | /*************************************************
* Public Constants
*************************************************/
float N_DO5 = 1046.50;
float N_RE5 = 1174.66;
float N_MI5 = 1318.51;
float N_FA5 = 1396.91;
float N_SOL5 = 1567.98;
float N_LA5 = 1760.00;
float N_SI5 = 1975.53;
float N_DO4 = 523.251;
float N_... | 17.230769 | 50 | 0.63074 | true | 533 |
f7dc27d5a9143e801863957b0e000aeb01c5ddd6 | 1,130 | ino | Arduino | firmware/examples/01.Basics/Duo_Server/Duo_Server.ino | JacksonLv/Duo-example | 2c26e89b9d810759e4635edd21a67f88f24e7ad8 | [
"MIT"
] | null | null | null | firmware/examples/01.Basics/Duo_Server/Duo_Server.ino | JacksonLv/Duo-example | 2c26e89b9d810759e4635edd21a67f88f24e7ad8 | [
"MIT"
] | null | null | null | firmware/examples/01.Basics/Duo_Server/Duo_Server.ino | JacksonLv/Duo-example | 2c26e89b9d810759e4635edd21a67f88f24e7ad8 | [
"MIT"
] | 0 | null | null | /*
* This is a simple TCP server, telnet to this sketch with an IP
* assigned.
* e.g. telnet 192.168.0.5 8888
*
*/
// Modified the following for your AP/Router.
//#define AP "duo"
//#define PIN "password"
#if defined(ARDUINO)
SYSTEM_MODE(MANUAL);//do not connect to cloud
#else
SYSTEM_MODE(AUTOMATIC);//co... | 17.65625 | 81 | 0.586726 | true | 315 |
6d966e96aef3756011e83d7cabc60ed8410264aa | 668 | ino | Arduino | Arduino Code/TAK/TAK.ino | DeborahFehr/TAK-Arduino-Project | fa2000fef9af4229d0db86debdb4742480372bed | [
"MIT"
] | null | null | null | Arduino Code/TAK/TAK.ino | DeborahFehr/TAK-Arduino-Project | fa2000fef9af4229d0db86debdb4742480372bed | [
"MIT"
] | null | null | null | Arduino Code/TAK/TAK.ino | DeborahFehr/TAK-Arduino-Project | fa2000fef9af4229d0db86debdb4742480372bed | [
"MIT"
] | 0 | null | null | #include <Servo.h>
Servo servo;
int relais_pin=6;
int vib_pin=7;
int servo_pin=8;
void setup() {
pinMode(relais_pin, OUTPUT);
pinMode(vib_pin,INPUT);
servo.attach(servo_pin);
servo.write(180);
}
void loop() {
// DETECTION
int vib_val;
vib_val=digitalRead(vib_pin);
if(vib_val==1){
delay(30); /... | 18.054054 | 49 | 0.618263 | true | 210 |
ceeec2faab98c55d59fca43ddd5d511da93dc9e0 | 379 | ino | Arduino | sketch_oct04b.ino | komand33448/ArduinoRubberDucky | 320b697f43b8363469a2fabe683122f7d7712029 | [
"MIT"
] | null | null | null | sketch_oct04b.ino | komand33448/ArduinoRubberDucky | 320b697f43b8363469a2fabe683122f7d7712029 | [
"MIT"
] | null | null | null | sketch_oct04b.ino | komand33448/ArduinoRubberDucky | 320b697f43b8363469a2fabe683122f7d7712029 | [
"MIT"
] | 0 | null | null | #include <HIDKeyboard.h>
HIDKeyboard keyboard;
void setup()
{
// put your setup code here, to run once:
keyboard.begin();
delay(200);
keyboard.pressKey(GUI, 'R');
keyboard.releaseKey();
delay(200);
keyboard.println("water")
keyboard.pressSpecialKey(ENTER);
delay(200);
}
void loop()
... | 16.478261 | 47 | 0.635884 | true | 94 |
261fa4b60a20b42e109466101a3252d6da7b8464 | 2,839 | ino | Arduino | stepper/stepper.ino | Tinggaard/mmsm | 369382b45754c1487f842eac7b6153720dbe6f58 | [
"MIT"
] | null | null | null | stepper/stepper.ino | Tinggaard/mmsm | 369382b45754c1487f842eac7b6153720dbe6f58 | [
"MIT"
] | null | null | null | stepper/stepper.ino | Tinggaard/mmsm | 369382b45754c1487f842eac7b6153720dbe6f58 | [
"MIT"
] | 0 | null | null | /*
Arduino code to control a 3D printer, modified to collect candy.
The Arduino collects the candy based on a 2D space, and gets
input from the Serial port.
See https://github.com/Tinggaard/mmsm for more.
*/
#include <Stepper.h>
const int stepsPerRevolution = 200; // steps per revolution
const int motorRPM ... | 23.081301 | 78 | 0.676294 | true | 774 |
507d3885969396ceff27771f68b219082c179db0 | 18,955 | ino | Arduino | Arduino/Robot_Assignment_Code.ino | XionDot/Robos | e89b767c735435ae91c660fda737827e500eb331 | [
"MIT"
] | 1 | 2021-01-28T17:56:09.000Z | 2021-01-28T17:56:09.000Z | Arduino/Robot_Assignment_Code.ino | XionDot/Robos | e89b767c735435ae91c660fda737827e500eb331 | [
"MIT"
] | null | null | null | Arduino/Robot_Assignment_Code.ino | XionDot/Robos | e89b767c735435ae91c660fda737827e500eb331 | [
"MIT"
] | 0 | null | null | #define PBL 4 // Left pushbutton pin number
#define PBR 2 // Right pushbutton pin number
#include <Servo.h> // Importing the library
#define L_STOP 85 // Left Servo Stopping Value
#define R_STOP 78 // Right Servo Stopping Value
#define L_PIN 6
#define R_PIN 5
#define IR_TRANSMIT 3 //RX PIN
#define I... | 38.842213 | 175 | 0.606542 | true | 4,714 |
fe988d7ba005c51f269c9d5ca2e2a854d7b9fbc1 | 765 | ino | Arduino | playground/LED7Segment/CombinationalLogicDriver/CombinationalLogicDriver.ino | novaprimexex/LittleArduinoProjects | 382d9827459882c19afe20513cc1232214a047c6 | [
"MIT"
] | 1 | 2020-12-27T17:38:55.000Z | 2020-12-27T17:38:55.000Z | playground/LED7Segment/CombinationalLogicDriver/CombinationalLogicDriver.ino | novaprimexex/LittleArduinoProjects | 382d9827459882c19afe20513cc1232214a047c6 | [
"MIT"
] | null | null | null | playground/LED7Segment/CombinationalLogicDriver/CombinationalLogicDriver.ino | novaprimexex/LittleArduinoProjects | 382d9827459882c19afe20513cc1232214a047c6 | [
"MIT"
] | 0 | null | null | /*
LED7Segment/CombinationalLogicDriver
Generate an 8421-BCD sequence to automate the demonstration of the 7-segment LED driver.
For info and circuit diagrams see https://github.com/tardate/LittleArduinoProjects/tree/master/playground/LED7Segment/CombinationalLogicDriver
*/
const int PIN_w = 2;
const int PIN... | 23.90625 | 144 | 0.687582 | true | 252 |
493d525753e09588f52ea7ddc7f755bf76b58d91 | 6,203 | ino | Arduino | eliot-demo-gr1/eliot_gr1/examples/eliot_gr1/eliot_gr1.ino | fieldcloud/eliot-demo-gr1 | 628fc739a899dec364776029356e29ecd21f65b4 | [
"MIT"
] | null | null | null | eliot-demo-gr1/eliot_gr1/examples/eliot_gr1/eliot_gr1.ino | fieldcloud/eliot-demo-gr1 | 628fc739a899dec364776029356e29ecd21f65b4 | [
"MIT"
] | null | null | null | eliot-demo-gr1/eliot_gr1/examples/eliot_gr1/eliot_gr1.ino | fieldcloud/eliot-demo-gr1 | 628fc739a899dec364776029356e29ecd21f65b4 | [
"MIT"
] | 0 | null | null | /*
Main program used to connect a sensor to eliot using GR-1 extension
*/
#include <TheAirBoard.h>
// Supported sensors: uncomment the one you want to use
//#define TEMP 0x01 // Temperature & humidity grove sensor
#define BAROMETER 0x02 // Barometer grove sensor
//#define WATER 0x03 // Water level ... | 21.996454 | 94 | 0.681928 | true | 1,735 |
6bf4222e6db9aaee87c5298ed4ec23064f5a9a95 | 169 | ino | Arduino | hellow_world/hellow_world.ino | falexandre-dias/arduino | d94a3031005ec03f82c4c0a22d006c56c21876ad | [
"MIT"
] | 2 | 2019-08-23T23:59:19.000Z | 2019-08-23T23:59:24.000Z | hellow_world/hellow_world.ino | falexandre-dias/ardu-no | d94a3031005ec03f82c4c0a22d006c56c21876ad | [
"MIT"
] | null | null | null | hellow_world/hellow_world.ino | falexandre-dias/ardu-no | d94a3031005ec03f82c4c0a22d006c56c21876ad | [
"MIT"
] | 0 | null | null | /**
* Hello World
* @author Fabio Dias
*/
void setup() {
}
void loop() {
Serial.begin (9600);
Serial.println ("Hello World");
delay (1000);
}
| 9.388889 | 32 | 0.526627 | true | 41 |
e8dea7de538c9214792d34cc05ec11b4ac229d9b | 35,327 | ino | Arduino | examples/CircuitMicroPython/CircuitMicroPython.ino | mjs513/MTP_Teensy | e9bd02b491b96545d075ec4751ceab93cfe876dd | [
"MIT"
] | null | null | null | examples/CircuitMicroPython/CircuitMicroPython.ino | mjs513/MTP_Teensy | e9bd02b491b96545d075ec4751ceab93cfe876dd | [
"MIT"
] | null | null | null | examples/CircuitMicroPython/CircuitMicroPython.ino | mjs513/MTP_Teensy | e9bd02b491b96545d075ec4751ceab93cfe876dd | [
"MIT"
] | 0 | null | null | /*
* Test sketch to play with either a circuit python board or Micro Python board
* plugged in to the USBHost to see if it could be some fun
*/
#include <USBHost_t36.h>
#include <MTP_Teensy.h>
//#include "AmpyFS.h"
// Add in MTPD objects
// Add USBHost objectsUsbFs
USBHost myusb;
USBHub hub1(myusb);
USBHub hub2(myu... | 37.541977 | 143 | 0.612789 | true | 10,106 |
359e7b0dbbc138a92ae100a18f9a6e06b7a50576 | 1,671 | ino | Arduino | Archive/Archive_code/ChairBaseV2/ChairBaseV2.ino | FabianIDE/wheelchair-design-platform | 9d4bbe0923499fa06ea21812879eb9be399d107a | [
"MIT"
] | null | null | null | Archive/Archive_code/ChairBaseV2/ChairBaseV2.ino | FabianIDE/wheelchair-design-platform | 9d4bbe0923499fa06ea21812879eb9be399d107a | [
"MIT"
] | null | null | null | Archive/Archive_code/ChairBaseV2/ChairBaseV2.ino | FabianIDE/wheelchair-design-platform | 9d4bbe0923499fa06ea21812879eb9be399d107a | [
"MIT"
] | 0 | null | null | //libraries for orientation
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
#include <utility/imumaths.h>
#define BNO055_SAMPLERATE_DELAY_MS (100)
Adafruit_BNO055 bno = Adafruit_BNO055(55);
float wheel_angle_poll;
float wheel_angle_difference = 0;
float wheel_angle_total = 0;
float wheel_a... | 26.109375 | 80 | 0.706762 | true | 425 |
22cb4a69300cb20bda8d568cbef4b633d5de93c3 | 1,443 | ino | Arduino | Materials/MusicStep2/MusicStep2.ino | changchuming/electronics-workshop | 2d5b3860b18e5311513b4199f610d35a74964b03 | [
"MIT"
] | null | null | null | Materials/MusicStep2/MusicStep2.ino | changchuming/electronics-workshop | 2d5b3860b18e5311513b4199f610d35a74964b03 | [
"MIT"
] | null | null | null | Materials/MusicStep2/MusicStep2.ino | changchuming/electronics-workshop | 2d5b3860b18e5311513b4199f610d35a74964b03 | [
"MIT"
] | 0 | null | null | /*
Music
Plays music when button is pressed
Created 08/01/17 by Chang Chu-Ming
Based on melody by Tom Igoe
*/
#include "library.h"
int ledPin = A5;
int buttonPin = 3; // Pin D3
int buzzerPin = 9;
// Setup runs once upon power-up
void setup() {
pinMode(ledPin, OUTPUT); // Initialize ledPin (pin A5) as OUTPUT... | 30.702128 | 135 | 0.673597 | true | 448 |
987875d6d5ec8045f7d184e6f9d3d5d56bb8ea4e | 18,028 | ino | Arduino | libraries/M5Stack/examples/Modules/MPU9250/MPU9250BasicAHRS/MPU9250BasicAHRS.ino | cryptoteun/LNPoS | 96bc91da2b98aa9be6148eb069a515378218141e | [
"MIT"
] | 118 | 2019-03-27T02:15:59.000Z | 2022-03-18T16:42:42.000Z | examples/Modules/MPU9250/MPU9250BasicAHRS/MPU9250BasicAHRS.ino | gilatoes/M5Stack | e0e3111930ce340bdeda90cb32011c137577c3cf | [
"MIT"
] | 26 | 2019-04-17T16:39:30.000Z | 2021-11-06T11:55:42.000Z | examples/Modules/MPU9250/MPU9250BasicAHRS/MPU9250BasicAHRS.ino | gilatoes/M5Stack | e0e3111930ce340bdeda90cb32011c137577c3cf | [
"MIT"
] | 58 | 2019-04-16T06:52:45.000Z | 2022-03-08T01:57:08.000Z | /* MPU9250 Basic Example Code
by: Kris Winer
date: April 1, 2014
license: Beerware - Use this code however you'd like. If you
find it useful you can buy me a beer some time.
Modified by Brent Wilkins July 19, 2016
Demonstrate basic MPU-9250 functionality including parameterizing the register
addresses, initiali... | 41.925581 | 115 | 0.628578 | true | 5,576 |
123b95400a3a677299019b32191c3b6525d4ac3a | 3,233 | ino | Arduino | ESP8266 Fota updater ino file/FOTA/FOTA.ino | muratdemirtas/ESP8266_TCP-IP_FOTA__EXAMPLE | a7b6ea96c06bf3c0c7d3bdb22dcff2da989064d0 | [
"MIT"
] | 2 | 2017-01-06T09:24:44.000Z | 2018-01-26T03:20:47.000Z | ESP8266 Fota updater ino file/FOTA/FOTA.ino | muratdemirtas/ESP8266_TCP-IP_FOTA__EXAMPLE | a7b6ea96c06bf3c0c7d3bdb22dcff2da989064d0 | [
"MIT"
] | null | null | null | ESP8266 Fota updater ino file/FOTA/FOTA.ino | muratdemirtas/ESP8266_TCP-IP_FOTA__EXAMPLE | a7b6ea96c06bf3c0c7d3bdb22dcff2da989064d0 | [
"MIT"
] | 2 | 2017-04-02T09:34:59.000Z | 2021-06-17T15:36:38.000Z | //include all required function of esp8266 and arduino port libraries
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
//use native ekspressif functions
extern "C" {
#include "user_interface.h"
#include "espconn.h"
}
//how many clients should be able to telnet to this ESP826... | 22.929078 | 75 | 0.683266 | true | 905 |
38ac9a09d7fe3623fde4f12b6b6f4b38411eaeca | 3,044 | ino | Arduino | TempSensor.ino | milligan22963/TempReader | 15a8d8455dfb28d2744e68aeb6ad3572342fd4a9 | [
"MIT"
] | null | null | null | TempSensor.ino | milligan22963/TempReader | 15a8d8455dfb28d2744e68aeb6ad3572342fd4a9 | [
"MIT"
] | null | null | null | TempSensor.ino | milligan22963/TempReader | 15a8d8455dfb28d2744e68aeb6ad3572342fd4a9 | [
"MIT"
] | 0 | null | null | #include <OneWire.h>
// Read in temperature from DS1820 1 wire device
OneWire g_tempSensor(7); // read in temp on pin 7, needs a 4.7K pull up
const float g_targetTemperature = 96.0f;
const byte g_magneticOutput = 4;
const byte s_addressLength = 8;
const byte s_crcIndex = 7;
const byte s_dataLength = 12;
const byte ... | 33.086957 | 96 | 0.628778 | true | 861 |
bff867ce895a0ebd474936acd5e53505190c95df | 269 | ino | Arduino | examples/HwSerAbsLoopback/HwSerAbsLoopback.ino | computergeek125/arduino-abstract-serial | cda61ddaa7b1c613d1b8a255b7416f177376f10b | [
"MIT"
] | 1 | 2019-12-09T19:40:06.000Z | 2019-12-09T19:40:06.000Z | examples/HwSerAbsLoopback/HwSerAbsLoopback.ino | computergeek125/arduino-abstract-serial | cda61ddaa7b1c613d1b8a255b7416f177376f10b | [
"MIT"
] | null | null | null | examples/HwSerAbsLoopback/HwSerAbsLoopback.ino | computergeek125/arduino-abstract-serial | cda61ddaa7b1c613d1b8a255b7416f177376f10b | [
"MIT"
] | 0 | null | null | #include <AbstractSerial.h>
#include <HardwareSerialAbs.h>
HwSerAbs hwport(Serial);
void setup() {
hwport.begin(115200);
}
void loop() {
doAThing(hwport);
}
void doAThing(AbsSer &port) {
if (port.available() > 0) {
port.write(port.read());
}
}
| 13.45 | 32 | 0.63197 | true | 81 |
a60ab4cb773a45f3918768b1a3d34dccc4fece70 | 389 | ino | Arduino | Servo/Servo.ino | ramsharan072011/arduino-sketches | ed71338b37867daf18698df6751beebd5733e0f2 | [
"Apache-2.0"
] | 2 | 2020-05-05T16:35:00.000Z | 2020-05-29T00:41:10.000Z | Servo/Servo.ino | ramsharan072011/arduino-sketches | ed71338b37867daf18698df6751beebd5733e0f2 | [
"Apache-2.0"
] | null | null | null | Servo/Servo.ino | ramsharan072011/arduino-sketches | ed71338b37867daf18698df6751beebd5733e0f2 | [
"Apache-2.0"
] | 0 | null | null | #include <Servo.h>
int angle=0;
Servo s1;
void setup() {
// put y)our setup code here, to run once:
s1.attach(9);
s1.write(0);
}
void loop() {
// put your main code here, to run repeatedly:
for(angle=0;angle <= 180 && angle >= 0;angle=angle+3){
s1.write(angle);
delay(20);
}
for(angle=180;angle ... | 15.56 | 56 | 0.580977 | true | 133 |
b4f1f347c7ec3b4eb626cca985e76d1f3124ada6 | 4,680 | ino | Arduino | mnist_on_arduino/mnist_on_arduino.ino | freitaglab/LightToInformation | 08c7bdc2daf0ed0e1dcc2d655951724502586424 | [
"MIT"
] | null | null | null | mnist_on_arduino/mnist_on_arduino.ino | freitaglab/LightToInformation | 08c7bdc2daf0ed0e1dcc2d655951724502586424 | [
"MIT"
] | null | null | null | mnist_on_arduino/mnist_on_arduino.ino | freitaglab/LightToInformation | 08c7bdc2daf0ed0e1dcc2d655951724502586424 | [
"MIT"
] | 0 | null | null | /******************************************************************************
* File: mnist_on_arduino.ino
* Author: Michael Rinderle
* Email: michael.rinderle@tum.de
* Created: 27.04.2019
*
* Revisions: ---
*
* Description: This program implements the neural network to predict hand
* ... | 28.023952 | 112 | 0.535684 | true | 1,216 |
aff6b137eab59c2a0dc4593e6ce59d252314e56f | 8,062 | ino | Arduino | 02_Code/03_OldTests/GPS_I2C_EchoTest/GPS_I2C_EchoTest.ino | Saultes45/ESP32-Seismometer-Datalogger | e8e183f7bdeb9d7e5e2ed60a66635ee6e65de1ff | [
"MIT"
] | null | null | null | 02_Code/03_OldTests/GPS_I2C_EchoTest/GPS_I2C_EchoTest.ino | Saultes45/ESP32-Seismometer-Datalogger | e8e183f7bdeb9d7e5e2ed60a66635ee6e65de1ff | [
"MIT"
] | 18 | 2021-06-21T00:00:33.000Z | 2021-07-14T22:20:08.000Z | 02_Code/03_OldTests/GPS_I2C_EchoTest/GPS_I2C_EchoTest.ino | Saultes45/ESP32-Seismometer-Datalogger | e8e183f7bdeb9d7e5e2ed60a66635ee6e65de1ff | [
"MIT"
] | 0 | null | null | /* ========================================
*
* Copyright ??
* All Rights Reserved
* UNPUBLISHED, LICENSED SOFTWARE.
*
* Metadata
* Written by : ??
* Verified by : Nathanaël Esnault
* Creation date : 2021-??-??
* Version : 1.0 (finished on 2021-..-..)
* Modifications :
* Known bugs :
*
*
* Possible Improv... | 29.531136 | 134 | 0.55681 | true | 2,147 |
5c2cefab55a499bdb16791682c5951155eee402f | 1,460 | ino | Arduino | examples/testChannels/testChannels.ino | simap/PBDriverAdapter | b1877e06e6e9b7a30c45762f47119ce1df19e9f1 | [
"MIT"
] | 5 | 2019-02-07T19:53:55.000Z | 2020-05-24T20:17:01.000Z | examples/testChannels/testChannels.ino | simap/PBDriverAdapter | b1877e06e6e9b7a30c45762f47119ce1df19e9f1 | [
"MIT"
] | 1 | 2021-03-16T07:12:01.000Z | 2021-03-16T22:09:16.000Z | examples/testChannels/testChannels.ino | simap/PBDriverAdapter | b1877e06e6e9b7a30c45762f47119ce1df19e9f1 | [
"MIT"
] | 1 | 2020-05-27T00:02:59.000Z | 2020-05-27T00:02:59.000Z | #include "PBDriverAdapter.hpp"
PBDriverAdapter driver;
const int testChannelCount = 8;
const int pixelsPerChannel = 32;
void setup() {
std::unique_ptr<std::vector<PBChannel>> channels(new std::vector<PBChannel>(testChannelCount));
for (int i = 0; i < testChannelCount; i++) {
(*channels)[i].channelId = i;
... | 23.934426 | 97 | 0.552055 | true | 502 |
8b3ebd267ba657098877c27f20cd368f0f41c4e1 | 1,256 | ino | Arduino | serial-select-option/serial-select-option.ino | Isaac343/arduino-practices | 85dfe03412371a067a044dde39c2b58dc5563824 | [
"MIT"
] | 2 | 2018-10-04T18:09:57.000Z | 2018-10-19T03:33:38.000Z | serial-select-option/serial-select-option.ino | Isaac343/arduino-practices | 85dfe03412371a067a044dde39c2b58dc5563824 | [
"MIT"
] | null | null | null | serial-select-option/serial-select-option.ino | Isaac343/arduino-practices | 85dfe03412371a067a044dde39c2b58dc5563824 | [
"MIT"
] | 1 | 2018-10-11T02:08:28.000Z | 2018-10-11T02:08:28.000Z | char entry;
int led = 13;
int i;
void setup() {
Serial.begin(9600);
pinMode(led,OUTPUT);
}
void loop() {
if(Serial.available()>0){
entry = Serial.read();
entry = entry;
switch(entry){
case 'a':
digitalWrite(led, HIGH);
Serial.println("ON");
delay(1000);
break;
... | 20.933333 | 36 | 0.415605 | true | 310 |
3441953cec542be71e6df28d4e24ca89adbb1d6e | 23,355 | ino | Arduino | ESP32_MPU6050_UDP/ESP32_WIFI_MPU6050/ESP32_WIFI_MPU6050.ino | neofuturism/ESP32_MPU6050_UDP | 495ded59e82d17adc6b162f0194c67a10386151a | [
"MIT"
] | null | null | null | ESP32_MPU6050_UDP/ESP32_WIFI_MPU6050/ESP32_WIFI_MPU6050.ino | neofuturism/ESP32_MPU6050_UDP | 495ded59e82d17adc6b162f0194c67a10386151a | [
"MIT"
] | null | null | null | ESP32_MPU6050_UDP/ESP32_WIFI_MPU6050/ESP32_WIFI_MPU6050.ino | neofuturism/ESP32_MPU6050_UDP | 495ded59e82d17adc6b162f0194c67a10386151a | [
"MIT"
] | 0 | null | null | /* ============================================
USED ESP32: TTGO DISPLAY
IMU6050
3.3V VCC Power
GND GND Ground
21 SDA I2C Data
22 SCL I2C Clock
===============================================
*/
#include <ESP8266... | 29.638325 | 159 | 0.595504 | true | 6,332 |
ed54bdb7052440acf71cf809d9a1c70cadfb12f6 | 2,017 | ino | Arduino | thermometer/thermometer.ino | JohanWinther/home-automation | ba21bb7672a05aca8c7eeeb929a03ba29b5e07db | [
"MIT"
] | null | null | null | thermometer/thermometer.ino | JohanWinther/home-automation | ba21bb7672a05aca8c7eeeb929a03ba29b5e07db | [
"MIT"
] | 1 | 2019-07-19T20:25:50.000Z | 2019-07-19T20:25:50.000Z | thermometer/thermometer.ino | JohanWinther/home-automation | ba21bb7672a05aca8c7eeeb929a03ba29b5e07db | [
"MIT"
] | 0 | null | null | #include <Arduino.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#include <PubSubClient.h>
#include "WIFICredentials.h"
#define LED_BUILTIN 2
#define ONEWIRE D3
OneWire oneWire(ONEWIRE);
DallasTemperature sensors(&oneWire);
// Seconds between updates
const unsigne... | 24.901235 | 86 | 0.691621 | true | 495 |
11dc1d0ad2a0b6db8f0260231d5d3a4a84a5058f | 27,713 | ino | Arduino | TimerRemoCon.ino | shigobu/TimerRemoCon | aaeb49cf42e07ac9f8af4c4b64291425d8874af3 | [
"MIT"
] | null | null | null | TimerRemoCon.ino | shigobu/TimerRemoCon | aaeb49cf42e07ac9f8af4c4b64291425d8874af3 | [
"MIT"
] | null | null | null | TimerRemoCon.ino | shigobu/TimerRemoCon | aaeb49cf42e07ac9f8af4c4b64291425d8874af3 | [
"MIT"
] | 0 | null | null | #include <EEPROM.h>
#include <KanaLiquidCrystal.h> // この#includeで、KanaLiquidCrystalライブラリを呼び出します。
#include <LiquidCrystal.h> // LiquidCrystalライブラリも間接的に使うので、この#includeも必要です
#include <Narcoleptic.h>
#include <ResKeypad.h>
#include <Wire.h>
#include <avr/pgmspace.h>
#include <avr/wdt.h>
#include <time.h>
#define NO_LED_... | 23.017442 | 78 | 0.604518 | true | 8,712 |
f5e11f17aac9e96afdce00dce54d89a92987ab99 | 821 | ino | Arduino | AutoLock/AutoLock.ino | thatblstudio/AutoLock | f299fb88821e564a792a1bf7fcedbd731b0141ce | [
"MIT"
] | null | null | null | AutoLock/AutoLock.ino | thatblstudio/AutoLock | f299fb88821e564a792a1bf7fcedbd731b0141ce | [
"MIT"
] | null | null | null | AutoLock/AutoLock.ino | thatblstudio/AutoLock | f299fb88821e564a792a1bf7fcedbd731b0141ce | [
"MIT"
] | 0 | null | null | #include "Keyboard.h"
const int sensorPin1 = 12;
const int sensorPin2 = 13;
bool oldState = false;
bool newState = false;
void setup() {
pinMode(sensorPin1, INPUT);
pinMode(sensorPin2, INPUT);
pinMode(2, INPUT_PULLUP);
Keyboard.begin();
}
void LockScreen() {
// if connect pin 2 with GND, then no keyboard ... | 17.468085 | 54 | 0.643118 | true | 232 |
eb5276b626d4b55699a2f41179a96da185f6b6e7 | 5,196 | ino | Arduino | Rc_Car_Nissan.ino | carmelo369/Rc-Car-Arduino-Bluetooth | 3f874ff1b75f42107804d566beef988a9f75eb03 | [
"MIT"
] | 1 | 2021-09-25T17:53:31.000Z | 2021-09-25T17:53:31.000Z | Rc_Car_Nissan.ino | carmelo369/Rc-Car-Arduino-Bluetooth | 3f874ff1b75f42107804d566beef988a9f75eb03 | [
"MIT"
] | null | null | null | Rc_Car_Nissan.ino | carmelo369/Rc-Car-Arduino-Bluetooth | 3f874ff1b75f42107804d566beef988a9f75eb03 | [
"MIT"
] | 0 | null | null | /************************************
*Author: Carmelo Hernandez
*Date modified: 08 March 2019
*Date finished: 21 March 2019
*Project: RC Car Nissan Skyline
*controled by Arduino Uno R3 board,
*Bluetooth, and Android smarthphone
************************************
*/
//L298N Connection
const int motor... | 37.114286 | 124 | 0.533102 | true | 1,474 |
b32b191b8937c6ebac029965b0d25a6eaf648a2c | 1,012 | ino | Arduino | sketch_mar31b.ino | gdfalk/BlinkWithoutDelay | 057611cf82f45e375e8639f196728b83de34abde | [
"MIT"
] | null | null | null | sketch_mar31b.ino | gdfalk/BlinkWithoutDelay | 057611cf82f45e375e8639f196728b83de34abde | [
"MIT"
] | null | null | null | sketch_mar31b.ino | gdfalk/BlinkWithoutDelay | 057611cf82f45e375e8639f196728b83de34abde | [
"MIT"
] | 0 | null | null | #include <analogWrite.h>
int state = 1;
int stateRed = 1;
int stateGreen = 2;
int stateBlue = 3;
int stateAll = 4;
unsigned long interval = 1000;
unsigned long prevMillis = 0;
int redLED = 12;
int greenLED = 27;
int blueLED = 33;
void setup() {
pinMode(12, OUTPUT);
pinMode(27, OUTPUT);
pinMode(33, OUTPUT);
}
voi... | 16.322581 | 44 | 0.648221 | true | 304 |
676063f67b5e0e4b7d45f1dd57991c7b493b50fb | 544 | ino | Arduino | RRL/RRL_Bluetooth/RRL_Bluetooth.ino | yattote/RemoteControlledCarArduino | 18b256ac95d0210ae1c46bc3859531a00b5fcbc3 | [
"MIT"
] | null | null | null | RRL/RRL_Bluetooth/RRL_Bluetooth.ino | yattote/RemoteControlledCarArduino | 18b256ac95d0210ae1c46bc3859531a00b5fcbc3 | [
"MIT"
] | null | null | null | RRL/RRL_Bluetooth/RRL_Bluetooth.ino | yattote/RemoteControlledCarArduino | 18b256ac95d0210ae1c46bc3859531a00b5fcbc3 | [
"MIT"
] | 0 | null | null | #include "CBluetooth.h"
CBluetooth m_bluetooth(4, 2, HC_05); //Rx, Tx, Adapter, OutPinForAT_Commands
String m_sValue;
void setup()
{
m_bluetooth.Begin(9600);
Serial.begin(9600);
Serial.println("Debugging Bluetooth module");
m_sValue = "";
}
void loop()
{
//Read and send bluetooth after read of keyboard
m... | 18.758621 | 79 | 0.6875 | true | 161 |
6f6d762cee211f77d9a562e8e4382205e9c6f597 | 1,657 | ino | Arduino | Arduino/MainControl/BarometricPressureAndAirTemp.ino | aweijnitz/hydrobalcony | b25695c73848d03bac7a54a8c7156d3bfa69d257 | [
"MIT"
] | 8 | 2015-05-04T11:11:00.000Z | 2016-10-14T15:42:37.000Z | Arduino/MainControl/BarometricPressureAndAirTemp.ino | aweijnitz/hydrobalcony | b25695c73848d03bac7a54a8c7156d3bfa69d257 | [
"MIT"
] | null | null | null | Arduino/MainControl/BarometricPressureAndAirTemp.ino | aweijnitz/hydrobalcony | b25695c73848d03bac7a54a8c7156d3bfa69d257 | [
"MIT"
] | 0 | null | null | #include "BMP280.h"
#include "Wire.h"
#define P0 1013.25
#define READ_ERROR -100000
#define SCALE_FACTOR 1000
BMP280 bmp;
boolean initBMP280() {
if (!bmp.begin())
return false;
else
return true;
bmp.setOversampling(4);
}
numvar at(void) {
return getTemperature() * 1000;
}
numvar ap(void) {
return... | 15.342593 | 50 | 0.617381 | true | 478 |
94b2d05d976716df94cdc89ec65213b27ddac2c6 | 1,843 | ino | Arduino | Arduino/VirtualPanel/examples/I-StaticGraph/I-StaticGraph.ino | JaapDanielse/VirtualPanel | 0f45f66492ea74a9933ea3660c3ccc643593349f | [
"MIT"
] | 25 | 2019-08-01T12:44:38.000Z | 2021-05-30T07:21:52.000Z | Arduino/VirtualPanel/examples/I-StaticGraph/I-StaticGraph.ino | JaapDanielse/VirtualPanel | 0f45f66492ea74a9933ea3660c3ccc643593349f | [
"MIT"
] | 2 | 2018-12-07T18:55:36.000Z | 2019-08-03T17:56:44.000Z | Arduino/VirtualPanel/examples/I-StaticGraph/I-StaticGraph.ino | JaapDanielse/VirtualPanel | 0f45f66492ea74a9933ea3660c3ccc643593349f | [
"MIT"
] | 7 | 2018-11-29T21:59:20.000Z | 2021-07-25T08:28:25.000Z | // VirtualPanel I-StaticGraph example - Documentation https://github.com/JaapDanielse/VirtualPanel/wiki/Basic-Examples
// MIT Licence - Copyright (c) 2019 Jaap Danielse - https://github.com/JaapDanielse/VirtualPanel
#include "VirtualPanel.h"
int16_t vpos = 128;
float vdiv = 60.0;
float sincount = 6.0;
int16_... | 27.924242 | 119 | 0.647314 | true | 496 |
c75b161dbed386152717b7856e94933daf51e6bc | 3,468 | ino | Arduino | DaguRover5AutoNavv7/MotoControl.ino | mjs513/Dagu-Rover-5-Obstacle-Avoidance-Testbed | fc77004e6671592327c5742a60d133084e3f2df4 | [
"MIT"
] | null | null | null | DaguRover5AutoNavv7/MotoControl.ino | mjs513/Dagu-Rover-5-Obstacle-Avoidance-Testbed | fc77004e6671592327c5742a60d133084e3f2df4 | [
"MIT"
] | null | null | null | DaguRover5AutoNavv7/MotoControl.ino | mjs513/Dagu-Rover-5-Obstacle-Avoidance-Testbed | fc77004e6671592327c5742a60d133084e3f2df4 | [
"MIT"
] | 0 | null | null | //============================================================================
// Sketch to test various technicques in robotic car design such as
// obstacle detection and avoidance, compass as turn guide,
// motor control, etc.
// Copyright (C) 2015 Michael J Smorto
// https://github.com/mjs513/Sainsm... | 28.195122 | 78 | 0.664937 | true | 989 |
f21f5726a69d6a269d179d5c1f31fdd7478c4058 | 727 | ino | Arduino | arduino/examples/02.Digital/toneMultiple/toneMultiple.ino | devshop2019/mixlyTest | bb92771aca2d5d801510658a70a13f4b548a43aa | [
"Apache-2.0"
] | 18 | 2017-12-20T10:33:44.000Z | 2021-09-14T18:20:15.000Z | arduino/examples/02.Digital/toneMultiple/toneMultiple.ino | devshop2019/mixlyTest | bb92771aca2d5d801510658a70a13f4b548a43aa | [
"Apache-2.0"
] | 9 | 2017-12-23T22:24:05.000Z | 2021-11-02T14:49:00.000Z | arduino/examples/02.Digital/toneMultiple/toneMultiple.ino | devshop2019/mixlyTest | bb92771aca2d5d801510658a70a13f4b548a43aa | [
"Apache-2.0"
] | 11 | 2020-06-03T10:12:28.000Z | 2020-06-05T16:02:40.000Z | /*
Multiple tone player
Plays multiple tones on multiple pins in sequence
circuit:
- three 8 ohm speakers on digital pins 6, 7, and 8
created 8 Mar 2010
by Tom Igoe
based on a snippet from Greg Borenstein
This example code is in the public domain.
http://www.arduino.cc/en/Tutorial/Tone4
*/
void ... | 17.731707 | 52 | 0.642366 | true | 247 |
ebeb4f91d746893ba1edeafaf5c4ec789e4c9076 | 2,925 | ino | Arduino | examples/_breakouts/RotaryEncoderBreakout/RotaryEncoderBreakout.ino | ZodiusInfuser/IOE_Arduino | d489dfd60d68b776bc5ad842f210e814fe162aae | [
"MIT"
] | 4 | 2020-08-19T02:38:26.000Z | 2022-02-22T18:14:15.000Z | examples/_breakouts/RotaryEncoderBreakout/RotaryEncoderBreakout.ino | ZodiusInfuser/IOE_Arduino | d489dfd60d68b776bc5ad842f210e814fe162aae | [
"MIT"
] | 1 | 2020-08-29T16:32:08.000Z | 2020-08-29T22:26:56.000Z | examples/_breakouts/RotaryEncoderBreakout/RotaryEncoderBreakout.ino | ZodiusInfuser/IOE_Arduino | d489dfd60d68b776bc5ad842f210e814fe162aae | [
"MIT"
] | 3 | 2020-08-24T19:28:37.000Z | 2021-12-30T13:01:07.000Z | /*
* Rotary Encoder Breakout eample (updated October 3, 2020)
*
* Ported from https://github.com/pimoroni/ioe-python/blob/master/examples/rotary.py
* by Christopher (@ZodiusInfuser) Parrott
*/
//Uncomment this to use the interrupt pin
//#define USE_INTERRUPT_PIN
//Uncomment this to use the interrupt routine
//#... | 25.884956 | 100 | 0.480684 | true | 625 |
a3fe0313db754ae368911b787c789e223bf18593 | 739 | ino | Arduino | 1.Basics/float/float.ino | lightcalamar/GD2UE | f7b436b21dab5171d96d0c33a6190a1804d4331d | [
"BSD-3-Clause"
] | null | null | null | 1.Basics/float/float.ino | lightcalamar/GD2UE | f7b436b21dab5171d96d0c33a6190a1804d4331d | [
"BSD-3-Clause"
] | null | null | null | 1.Basics/float/float.ino | lightcalamar/GD2UE | f7b436b21dab5171d96d0c33a6190a1804d4331d | [
"BSD-3-Clause"
] | 0 | null | null | #include <EEPROM.h>
#include <SPI.h>
#include <GD2UE.h>
void setup()
{
EEPROM.begin(512); // ONLY FOR ESP8266
GD.begin();
//GD.cmd_setrotate(0);
}
float latitud, latitudint, latituddec;
float longitud, longitudint, longituddec;
void loop()
{
GD.ClearColorRGB(0x000020);
GD.Clear();
latitudint = rand... | 19.972973 | 53 | 0.658999 | true | 261 |
7861d9f3a5bf3c583bf9bc5f1b6141f3449c7aef | 714 | ino | Arduino | examples/logging/logging.ino | coord-e/arduino-logger | 9b7c9091ee5d2f55eba956c982c523426ccd897d | [
"MIT"
] | null | null | null | examples/logging/logging.ino | coord-e/arduino-logger | 9b7c9091ee5d2f55eba956c982c523426ccd897d | [
"MIT"
] | null | null | null | examples/logging/logging.ino | coord-e/arduino-logger | 9b7c9091ee5d2f55eba956c982c523426ccd897d | [
"MIT"
] | 0 | null | null | #include <logger.hpp>
void setup() {
Serial.begin(9600);
}
// Only logs which has same as or higher importance than the value in logger::filter will be printed.
int count = 0;
void loop() {
logger::filter = logger::FATAL; // only FATAL will be printed
LOGGER_LOG(logger::FATAL) << "Fatal error!\n";
LOGGER_L... | 26.444444 | 101 | 0.648459 | true | 201 |
4fbc251f4f5aa0f24feeb0800dbb8047a97629d2 | 1,335 | ino | Arduino | embedded/iot-workshop/iot-workshop.ino | DigitKoodit/mikrokontrolleri-workshop | 70de1c7b3e52bef663f2e5b9a2b86e4cb5aada2f | [
"MIT"
] | null | null | null | embedded/iot-workshop/iot-workshop.ino | DigitKoodit/mikrokontrolleri-workshop | 70de1c7b3e52bef663f2e5b9a2b86e4cb5aada2f | [
"MIT"
] | 10 | 2020-09-06T07:17:21.000Z | 2022-02-18T04:02:04.000Z | embedded/iot-workshop/iot-workshop.ino | DigitKoodit/mikrokontrolleri-workshop | 70de1c7b3e52bef663f2e5b9a2b86e4cb5aada2f | [
"MIT"
] | 1 | 2019-01-23T05:17:42.000Z | 2019-01-23T05:17:42.000Z | #include <ArduinoJson.h>
#include <ESP8266WiFiMulti.h>
#include <Wire.h>
#include <Adafruit_BME280.h>
#include <ESP8266HTTPClient.h>
#define IP "http://192.168.43.251:3001/api/newreading"
Adafruit_BME280 sensor;
ESP8266WiFiMulti WiFiMulti;
void setup() {
// put your setup code here, to run once:
Serial.begin(11... | 23.017241 | 84 | 0.634457 | true | 346 |
e9f4e8406a9e70da1a1726721f235ac0fcfef739 | 3,009 | ino | Arduino | examples/hardware_specific_examples/SimpleFOCShield/version_v1/double_full_control_example/double_full_control_example.ino | voicevon/Arduino-FOC | a4f99990d7a120a2b0d3dfaaca9576b4f0d5656b | [
"MIT"
] | 2 | 2021-12-02T06:20:56.000Z | 2022-01-27T13:35:04.000Z | examples/hardware_specific_examples/SimpleFOCShield/version_v1/double_full_control_example/double_full_control_example.ino | voicevon/Arduino-FOC | a4f99990d7a120a2b0d3dfaaca9576b4f0d5656b | [
"MIT"
] | null | null | null | examples/hardware_specific_examples/SimpleFOCShield/version_v1/double_full_control_example/double_full_control_example.ino | voicevon/Arduino-FOC | a4f99990d7a120a2b0d3dfaaca9576b4f0d5656b | [
"MIT"
] | 1 | 2021-03-19T13:19:16.000Z | 2021-03-19T13:19:16.000Z |
#include <SimpleFOC.h>
// BLDC motor & driver instance
BLDCMotor motor1 = BLDCMotor(11);
BLDCDriver3PWM driver1 = BLDCDriver3PWM(9, 5, 6, 8);
// BLDC motor & driver instance
BLDCMotor motor2 = BLDCMotor(11);
BLDCDriver3PWM driver2 = BLDCDriver3PWM(3, 10, 11, 7);
// encoder instance
Encoder encoder1 = Encoder(2, ... | 25.5 | 100 | 0.706215 | true | 860 |
7e898cd3767e4b56a0ccf875f72bb021df668480 | 873 | ino | Arduino | arduino/sketch/arduino_joystick_servoESC/arduino_joystick_servoESC.ino | igapon50/NTigapon | 98ca4e5b618689b71e90048eb3fb54af3cc06d1c | [
"MIT"
] | null | null | null | arduino/sketch/arduino_joystick_servoESC/arduino_joystick_servoESC.ino | igapon50/NTigapon | 98ca4e5b618689b71e90048eb3fb54af3cc06d1c | [
"MIT"
] | 7 | 2017-09-11T13:14:07.000Z | 2017-12-20T11:29:21.000Z | arduino/sketch/arduino_joystick_servoESC/arduino_joystick_servoESC.ino | igapon50/NTigapon | 98ca4e5b618689b71e90048eb3fb54af3cc06d1c | [
"MIT"
] | 0 | null | null | #include <Servo.h>
Servo servo,esc;//オブジェクトを作成
#define MAX_SENSER_VAL 755
#define MIN_SENSER_VAL 266
void setup()
{
Serial.begin(9600);
esc.attach(6,1500-500,1500+500); //D3ピンを信号線として設定
servo.attach(3,1500-600,1500+600); //D9ピンをサーボの信号線として設定
esc.write(90); // ニュートラルに設定
servo.write(90); // サーボの角度を90°に設定
dela... | 24.942857 | 64 | 0.696449 | true | 317 |
a59d46653996131e574155d9205d53166103a6ff | 488 | ino | Arduino | ir_Receiver/ir_Receiver.ino | technonerdz/Arduino-RC-car | 181dc96267295aec52d57f51dad0c043800d9643 | [
"MIT"
] | null | null | null | ir_Receiver/ir_Receiver.ino | technonerdz/Arduino-RC-car | 181dc96267295aec52d57f51dad0c043800d9643 | [
"MIT"
] | null | null | null | ir_Receiver/ir_Receiver.ino | technonerdz/Arduino-RC-car | 181dc96267295aec52d57f51dad0c043800d9643 | [
"MIT"
] | 0 | null | null | #include <IRremote.h>
#include <IRremoteInt.h>
int RECV_PIN = 11; // define input pin on Arduino
IRrecv irrecv(RECV_PIN);
decode_results results; // decode_results class is defined in IRremote.h
void setup() {
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
void loop() {
if (irrecv.de... | 22.181818 | 72 | 0.686475 | true | 131 |
b54afaa52c199c3a5d13601f8c3500a8cdd7f159 | 3,475 | ino | Arduino | piano_musical/piano_musical.ino | matheusjohannaraujo/projetos_com_arduino | e559643d41e55e6cf2d0f5b1b1e54f79514e537b | [
"MIT"
] | null | null | null | piano_musical/piano_musical.ino | matheusjohannaraujo/projetos_com_arduino | e559643d41e55e6cf2d0f5b1b1e54f79514e537b | [
"MIT"
] | null | null | null | piano_musical/piano_musical.ino | matheusjohannaraujo/projetos_com_arduino | e559643d41e55e6cf2d0f5b1b1e54f79514e537b | [
"MIT"
] | 0 | null | null | /*
Função: Piano Musical
Desenvolvido por: Matheus Johann Araújo
E-mail: matheusjohannaraujo@gmail.com
GitHub: https://github.com/matheusjohannaraujo/projetos_com_arduino/tree/master/piano_musical
Data: 24/04/2019
*/
// Carrega a biblioteca do Sensor Ultrassonico HC-SR04 ao Arduino
// https://github.com/filip... | 28.024194 | 95 | 0.689209 | true | 1,188 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.