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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24241ccbd295aeb61ae251614d1d340e35d3ed75 | 637 | ino | Arduino | Code/LCD_TEST_CustomPCB/LCD_TEST_1.ino | ShahinHaque97/PlymouthUniversity-PROJ324 | 73268afa71f1b3a56967e135529e4a3275237deb | [
"Apache-2.0"
] | null | null | null | Code/LCD_TEST_CustomPCB/LCD_TEST_1.ino | ShahinHaque97/PlymouthUniversity-PROJ324 | 73268afa71f1b3a56967e135529e4a3275237deb | [
"Apache-2.0"
] | null | null | null | Code/LCD_TEST_CustomPCB/LCD_TEST_1.ino | ShahinHaque97/PlymouthUniversity-PROJ324 | 73268afa71f1b3a56967e135529e4a3275237deb | [
"Apache-2.0"
] | 0 | null | null | #include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#define CS_pin A1
#define A0_pin A3
#define RST_pin A2
Adafruit_ST7735 tft = Adafruit_ST7735(CS_pin,A0_pin,RST_pin);
int uptime = 0;
int LEDpin = 2;
void setup(){
pinMode(LEDpin, OUTPUT); // sets the pin as output
analogWrite(LEDpin,255);
tft... | 19.90625 | 62 | 0.684458 | true | 192 |
40e9a8846f6178dbab7a872afceb8f3d7423fb51 | 2,209 | ino | Arduino | examples/buttonInput/buttonInput.ino | Arya11111/DFRobot_MCP23017 | ba3fb2f6f3a84a0bdde959a68def01b2c39bb27c | [
"MIT"
] | null | null | null | examples/buttonInput/buttonInput.ino | Arya11111/DFRobot_MCP23017 | ba3fb2f6f3a84a0bdde959a68def01b2c39bb27c | [
"MIT"
] | null | null | null | examples/buttonInput/buttonInput.ino | Arya11111/DFRobot_MCP23017 | ba3fb2f6f3a84a0bdde959a68def01b2c39bb27c | [
"MIT"
] | 0 | null | null | /*!
* @file buttonInput.ino
* @brief 将IO扩展板的某个引脚(例:eGPA0)设置为输入模式,并接上按钮,用来检测按钮的状态
* @n 实验现象:将按钮连接到IO扩展板的某个引脚(例:eGPA0),检测该引脚的高低电平,并串口打印出按钮的状态
*
* @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com)
* @licence The MIT License (MIT)
* @author [Arya](xue.peng@dfrobot.com)
* @version V1.0
* ... | 33.984615 | 109 | 0.595745 | true | 1,178 |
a6a44e8090af896392a0cc0dc43362932d0591bb | 4,980 | ino | Arduino | ReferenceShower/ReferenceShower.ino | HomeSpan/HomeSpanReferenceSketches | 0414394383374187ea533e774f7e6354798fba86 | [
"MIT"
] | null | null | null | ReferenceShower/ReferenceShower.ino | HomeSpan/HomeSpanReferenceSketches | 0414394383374187ea533e774f7e6354798fba86 | [
"MIT"
] | null | null | null | ReferenceShower/ReferenceShower.ino | HomeSpan/HomeSpanReferenceSketches | 0414394383374187ea533e774f7e6354798fba86 | [
"MIT"
] | 0 | null | null | /*********************************************************************************
* MIT License
*
* Copyright (c) 2021 Gregg E. Berman
*
* https://github.com/HomeSpan/HomeSpan
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documenta... | 32.54902 | 101 | 0.543373 | true | 1,074 |
248b10e74f03a383eb9a3d2627d8fa4542ee43b3 | 1,267 | ino | Arduino | arduino/libraries/DabbleESP32-1.5.1/examples/02.Terminal/02.Terminal.ino | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | null | null | null | arduino/libraries/DabbleESP32-1.5.1/examples/02.Terminal/02.Terminal.ino | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | null | null | null | arduino/libraries/DabbleESP32-1.5.1/examples/02.Terminal/02.Terminal.ino | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | 0 | null | null |
/*
Terminal Module is like a chat box. It allows you to send and receive commands between your
board and smartphone.
You can reduce the size of library compiled by enabling only those modules that you
want to use. For this first define CUSTOM_SETTINGS followed by defining
INCLUDE_modulename.
Explor... | 28.155556 | 190 | 0.685083 | true | 307 |
3d2ed2c6acef47eb6a219817218f0332ec6adb5c | 52 | ino | Arduino | ARES_Flight_Controller/Sensors.ino | steflayanto/SARP-ARES | 4f5c77320ab6e140b24670226d5baa65cd34a394 | [
"MIT"
] | null | null | null | ARES_Flight_Controller/Sensors.ino | steflayanto/SARP-ARES | 4f5c77320ab6e140b24670226d5baa65cd34a394 | [
"MIT"
] | null | null | null | ARES_Flight_Controller/Sensors.ino | steflayanto/SARP-ARES | 4f5c77320ab6e140b24670226d5baa65cd34a394 | [
"MIT"
] | 0 | null | null | void setupSensors() {
}
void updateSensors() {
}
| 6.5 | 22 | 0.634615 | true | 15 |
123233a0e872226f0176f1e1f101b2dcb36a4953 | 1,842 | ino | Arduino | examples/gpioRead/gpioRead.ino | melone2/Seeed_Arduino_CAN | 9a153768ee52dcabf665cb7cb8c7591db22c16f6 | [
"MIT"
] | null | null | null | examples/gpioRead/gpioRead.ino | melone2/Seeed_Arduino_CAN | 9a153768ee52dcabf665cb7cb8c7591db22c16f6 | [
"MIT"
] | null | null | null | examples/gpioRead/gpioRead.ino | melone2/Seeed_Arduino_CAN | 9a153768ee52dcabf665cb7cb8c7591db22c16f6 | [
"MIT"
] | 0 | null | null | // demo: Use TX2RTS as digital input
// adlerweb, 2017-06-24
#include <SPI.h>
#include "mcp2515_can.h"
#include "mcp2518fd_can.h"
#define CAN_2515
// #define CAN_2518FD
// the cs pin of the version after v1.1 is default to D9
// v0.9b and v1.0 is default D10
// Set SPI CS Pin according to your hardware
// For Wio Te... | 24.236842 | 106 | 0.583605 | true | 520 |
d53a165dbcf8baaad346707a8d62e9cf4615eeb6 | 1,315 | ino | Arduino | StepTests/IntegrationTestPrograms/int2Expected.ino | KarmaKamikaze/P4_Project | ead6198566fa784d831d5e2b23c87d4469a32503 | [
"MIT"
] | 3 | 2022-02-10T18:51:13.000Z | 2022-02-11T12:11:16.000Z | StepTests/IntegrationTestPrograms/int2Expected.ino | KarmaKamikaze/P4_Project | ead6198566fa784d831d5e2b23c87d4469a32503 | [
"MIT"
] | 1 | 2022-03-29T12:44:33.000Z | 2022-03-29T12:44:33.000Z | StepTests/IntegrationTestPrograms/int2Expected.ino | KarmaKamikaze/P4_Project | ead6198566fa784d831d5e2b23c87d4469a32503 | [
"MIT"
] | 0 | null | null | #define apin 3
#define dpin 1
// Global variables
const double num = 10.5;
String str = "test";
boolean boo = true;
// Functions
void blankfunc(String array[]) {
String* tempArray = (String*)calloc(3, sizeof(String));
String __temp0__[] = {"test1", "test2", "test3"};
memcpy(tempArray, __temp0__, sizeof(__... | 23.070175 | 59 | 0.526996 | true | 401 |
4035af8053159d978af64cbc66b37a666dccb7c1 | 943 | ino | Arduino | microphone.ino | ZekeriyaAY/Arduino-Walkie-Talkie | 79d497b8aefa1982fb1e2e423f00f05482b1b69e | [
"MIT"
] | 12 | 2021-03-16T13:47:09.000Z | 2022-03-28T17:16:35.000Z | microphone.ino | ZekeriyaAY/Arduino-Walkie-Talkie | 79d497b8aefa1982fb1e2e423f00f05482b1b69e | [
"MIT"
] | null | null | null | microphone.ino | ZekeriyaAY/Arduino-Walkie-Talkie | 79d497b8aefa1982fb1e2e423f00f05482b1b69e | [
"MIT"
] | 3 | 2021-03-16T22:39:43.000Z | 2021-05-09T11:15:01.000Z | const int sampleWindow = 50; // Sample window width in mS (50 mS = 20Hz)
unsigned int sample;
void setup()
{
Serial.begin(9600);
}
void loop()
{
unsigned long startMillis= millis(); // Start of sample window
unsigned int peakToPeak = 0; // peak-to-peak level
unsigned int signalMax = 0;
unsigned ... | 25.486486 | 74 | 0.586426 | true | 264 |
5586b5bbe17c32ec82178b987952f3e54f36df18 | 1,842 | ino | Arduino | EJERCICIOS/SESION 2/Ejercicio1.ino | magancete/tfm | 4e3a2b3bfc8c7f8ecf0efdc60aa246af065da3f7 | [
"MIT"
] | null | null | null | EJERCICIOS/SESION 2/Ejercicio1.ino | magancete/tfm | 4e3a2b3bfc8c7f8ecf0efdc60aa246af065da3f7 | [
"MIT"
] | null | null | null | EJERCICIOS/SESION 2/Ejercicio1.ino | magancete/tfm | 4e3a2b3bfc8c7f8ecf0efdc60aa246af065da3f7 | [
"MIT"
] | 0 | null | null | #define PIN_MOTOR_FRONT_LEFT 7
#define PIN_MOTOR_FRONT_RIGHT 12
#define PIN_MOTOR_BACK_LEFT 8
#define PIN_MOTOR_BACK_RIGHT 11
#define PIN_SPEED_RIGHT 3
#define PIN_SPEED_LEFT 6
int SPEED = 120;
#define SPEED_LEFT 255
#define SPEED_RIGHT 255
#define BACK_SPEED 200
void go_Advance() //Forward
{
digitalWrite(PIN_MOT... | 23.316456 | 46 | 0.796417 | true | 519 |
6ac0a87cbaadc6b1a9ae95f55a5d73d196d17179 | 1,656 | ino | Arduino | examples/a21-dth22-example/a21-dth22-example.ino | aleh/a21 | 8f472e75de5734514f152828033a93b88401069a | [
"MIT"
] | 6 | 2017-07-28T13:36:24.000Z | 2022-01-30T14:00:32.000Z | examples/a21-dth22-example/a21-dth22-example.ino | carkang/a21 | 8f472e75de5734514f152828033a93b88401069a | [
"MIT"
] | 3 | 2018-10-26T20:10:49.000Z | 2021-05-15T20:31:45.000Z | examples/a21-dth22-example/a21-dth22-example.ino | carkang/a21 | 8f472e75de5734514f152828033a93b88401069a | [
"MIT"
] | 2 | 2021-02-14T14:12:58.000Z | 2022-01-13T23:08:26.000Z | //
// a21 — Arduino Toolkit. Example for DHT22 class.
// Copyright (C) 2017, Aleh Dzenisiuk. http://github.com/aleh/a21
//
#include <a21.hpp>
using namespace a21;
// The first parameter is the pin the sensor is attached to.
// The second one is true in case a built-in pull-up should be activated.
DHT22< FastPin<2>,... | 27.147541 | 116 | 0.682367 | true | 446 |
8897423b1f59988212ef3058944b8e620b7bd0e4 | 3,796 | ino | Arduino | Site Hardware/Sensor Node/Master/Sensor_Node/Park_Condition.ino | Azzziel/Lulus-Online | 1964b834690f584d13484241a5a2391a50c924c4 | [
"MIT"
] | null | null | null | Site Hardware/Sensor Node/Master/Sensor_Node/Park_Condition.ino | Azzziel/Lulus-Online | 1964b834690f584d13484241a5a2391a50c924c4 | [
"MIT"
] | 6 | 2021-03-10T13:27:54.000Z | 2022-02-27T02:28:08.000Z | Site Hardware/Sensor Node/Master/Sensor_Node/Park_Condition.ino | Azzziel/Lulus-Online | 1964b834690f584d13484241a5a2391a50c924c4 | [
"MIT"
] | 1 | 2020-03-23T08:18:26.000Z | 2020-03-23T08:18:26.000Z | #include <Arduino.h>
//------------ Condition State ------------
void checkParkCondition() {
//=========================
//-------- Idle -> Parking
//=========================
if ((abs(G - Gidle) > valueTrigger) && !canPark) {
Serial.println("menarik nih, beneran ada?");
// Sleep while waiting to re... | 25.47651 | 77 | 0.545311 | true | 1,026 |
00b11654556313b31554244cb1a9c664e74a9c2c | 858 | ino | Arduino | examples/sos3/sos3.ino | radiorpl/Automaton_rpl | 9b926699798d188ebb5e78d57af43f7dad236b51 | [
"MIT"
] | null | null | null | examples/sos3/sos3.ino | radiorpl/Automaton_rpl | 9b926699798d188ebb5e78d57af43f7dad236b51 | [
"MIT"
] | null | null | null | examples/sos3/sos3.ino | radiorpl/Automaton_rpl | 9b926699798d188ebb5e78d57af43f7dad236b51 | [
"MIT"
] | 0 | null | null | #include <Automaton.h>
Atm_led led[3];
Atm_timer timer[3];
const int pin = 4;
const int dotTime = 100;
const int dashTime = 300;
const int waitTime = 200;
const int longwaitTime = 300;
const int longerwaitTime = 1000;
void setup() {
led[0].begin( pin )
.blink( dotTime, waitTime, 3 )
.onFinish( timer[0],... | 22 | 48 | 0.636364 | true | 304 |
260243a5c06a3359e64d52d3ef62fb0d91ee8d46 | 1,126 | ino | Arduino | examples/cymatic-triangles/cymatic-triangles.ino | vccabral/pixl | 877efe04addf97cf06adbfe39d7f023510bcd3d1 | [
"MIT"
] | 21 | 2017-03-08T21:59:09.000Z | 2021-11-11T20:15:52.000Z | examples/cymatic-triangles/cymatic-triangles.ino | vccabral/pixl | 877efe04addf97cf06adbfe39d7f023510bcd3d1 | [
"MIT"
] | 7 | 2016-11-02T20:56:16.000Z | 2016-11-03T01:46:44.000Z | examples/cymatic-triangles/cymatic-triangles.ino | vccabral/pixl | 877efe04addf97cf06adbfe39d7f023510bcd3d1 | [
"MIT"
] | 4 | 2017-03-21T20:04:50.000Z | 2019-01-09T06:30:57.000Z | #include <pixl.h>
#include <FastLED.h>
#include <Logging.h>
// Weird thing I had to do to get the Logging library working with teensy
extern "C"{
int _getpid(){ return -1;}
int _kill(int pid, int sig){ return -1; }
int _write(){return -1;}
}
#define LOGLEVEL LOG_LEVEL_DEBUG
using namespace pixl;
Input* input;... | 19.754386 | 73 | 0.64476 | true | 350 |
54f377dfd89d1d14d3d1176d7df0b0fe852d6a1c | 4,038 | ino | Arduino | examples/basic/readme_jp/readme_jp.ino | dentaro/LovyanGFX_DentaroUI | b75cb226000b1c7b7845676f550699f67f059baf | [
"MIT"
] | 5 | 2021-11-07T07:49:42.000Z | 2022-02-01T13:31:31.000Z | examples/basic/readme_jp/readme_jp.ino | dentaro/LovyanGFX_DentaroUI | b75cb226000b1c7b7845676f550699f67f059baf | [
"MIT"
] | null | null | null | examples/basic/readme_jp/readme_jp.ino | dentaro/LovyanGFX_DentaroUI | b75cb226000b1c7b7845676f550699f67f059baf | [
"MIT"
] | 0 | null | null | //LovyanGFXの設定です。2021年11月時点での動作を確認しています。
//ESP32などの自作デバイス派の人は、TouchBtn.hppを開き、コメントアウトし直してください。
//AUTODETECTを使用せず、LGFX_ESP32_custom.hppにピンアサインなどの設定を書き込むことで使えるようになります。
//でんたろう自作UIライブラリを読み込みます。LovyanGFXがないと動きません。
#include <LovyanGFX_DentaroUI.hpp>
//利用のながれ
//create系の関数で、UIコンテナというボタンのはいる箱を作り、その中を行と列で区切ることで、たくさん... | 43.891304 | 138 | 0.671124 | true | 1,832 |
a5bb5d5fe03c1ef40d74d8fbee30227996eca46a | 1,859 | ino | Arduino | Projeto_Redes-SonarUDP/ino_proj/ino_proj.ino | iOsnaaente/Faculdade_ECA-UFSM | aea8b8d66169b073c439b47ad990e45695cbe953 | [
"MIT"
] | null | null | null | Projeto_Redes-SonarUDP/ino_proj/ino_proj.ino | iOsnaaente/Faculdade_ECA-UFSM | aea8b8d66169b073c439b47ad990e45695cbe953 | [
"MIT"
] | null | null | null | Projeto_Redes-SonarUDP/ino_proj/ino_proj.ino | iOsnaaente/Faculdade_ECA-UFSM | aea8b8d66169b073c439b47ad990e45695cbe953 | [
"MIT"
] | 0 | null | null | /* TRABALHO DE REDES INDUSTRIAIS
*
* Autor: Bruno Gabriel Flores Sampaio
* Data : 26/06/2020
*
* Descriço:
Usando um Arduino NANO, farei o sensoriamento
de objetos dentro de uma area limitada em 180º
fazendo o uso de um HC-SR04, um sensor ultra-
Sonico.
O Arduino est... | 20.206522 | 88 | 0.559441 | true | 536 |
f4feb700a925a3f694f0291feb261899d513ef7d | 2,643 | ino | Arduino | ESP32/Basic Code ESP32/EX19_FIREBASE_DHT11/EX19_FIREBASE_DHT11.ino | Cmuenmontri/ESP32 | e70f9384b7d82c4335dc91c9d868594b566dac55 | [
"Unlicense"
] | 1 | 2019-07-03T18:08:20.000Z | 2019-07-03T18:08:20.000Z | ESP32/Basic Code ESP32/EX19_FIREBASE_DHT11/EX19_FIREBASE_DHT11.ino | Cmuenmontri/ESP32 | e70f9384b7d82c4335dc91c9d868594b566dac55 | [
"Unlicense"
] | null | null | null | ESP32/Basic Code ESP32/EX19_FIREBASE_DHT11/EX19_FIREBASE_DHT11.ino | Cmuenmontri/ESP32 | e70f9384b7d82c4335dc91c9d868594b566dac55 | [
"Unlicense"
] | 1 | 2019-07-04T02:56:46.000Z | 2019-07-04T02:56:46.000Z | #include <WiFi.h>
#include <IOXhop_FirebaseESP32.h>
#include <SimpleDHT.h>
#include <time.h>
/* ############################################################### */
// Config Firebase
#define FIREBASE_HOST "projectx-23875.firebaseio.com"
#define FIREBASE_AUTH "wZz7qarwgld9YY4i1NUa8Hpbaor3wah9pIeIWu2V"
#define WIFI_SSI... | 24.933962 | 75 | 0.616345 | true | 764 |
2c3586fc9d988a76357c1d79cd6bee4858e7c2cb | 2,066 | ino | Arduino | 17-USART_Asynchronous/17-USART_Asynchronous_Transmitter/17-USART_Asynchronous_Transmitter.ino | morganfang/Arduino_AVR | 983e28699b89995d8aeb18c991c6cbb991082900 | [
"MIT"
] | null | null | null | 17-USART_Asynchronous/17-USART_Asynchronous_Transmitter/17-USART_Asynchronous_Transmitter.ino | morganfang/Arduino_AVR | 983e28699b89995d8aeb18c991c6cbb991082900 | [
"MIT"
] | null | null | null | 17-USART_Asynchronous/17-USART_Asynchronous_Transmitter/17-USART_Asynchronous_Transmitter.ino | morganfang/Arduino_AVR | 983e28699b89995d8aeb18c991c6cbb991082900 | [
"MIT"
] | 0 | null | null | /*
* Learning AVR with Arduino
* Lesson: USART Asynchronous Mode, Transmitter
* Author: Morgan
* Date: 18/August/2020
* IDE: Arduino 1.8.13
*
* send data to receiver
*
* UBRR formula for USART synchronous mode
* UBRR = F_CPU / (16*Baud_rate) - 1
*
* Arduino UNO (Transmitter) --------> Arduino UNO (Receiver)
* TxD/PD1... | 32.28125 | 108 | 0.550339 | true | 622 |
9e2e3893a82794b7346069352daac96438b12a81 | 641 | ino | Arduino | examples/seq_progress/seq_progress.ino | hideakitai/FastLEDManager | 1dabffa21b9be42d4d2587b2de724f4c5a7c3709 | [
"MIT"
] | 2 | 2021-09-07T10:48:01.000Z | 2022-03-17T13:52:30.000Z | examples/seq_progress/seq_progress.ino | hideakitai/FastLEDManager | 1dabffa21b9be42d4d2587b2de724f4c5a7c3709 | [
"MIT"
] | null | null | null | examples/seq_progress/seq_progress.ino | hideakitai/FastLEDManager | 1dabffa21b9be42d4d2587b2de724f4c5a7c3709 | [
"MIT"
] | 0 | null | null | #include <FastLEDManager.h>
static constexpr size_t N_LEDS {16};
static constexpr uint8_t PIN_WS2812_DATA {32};
void setup() {
Serial.begin(115200);
delay(2000);
$LED.add<WS2812B, N_LEDS, PIN_WS2812_DATA, GRB>("WS2812")
.startFps(120);
$LED["WS2812"]
.progress("Progress")
->c... | 22.103448 | 67 | 0.605304 | true | 194 |
b647410a9c2eb3074d8fe4797ef82a5c084ef411 | 1,262 | ino | Arduino | petwatch-arduino/Arduino_uno/accelandtemp/Accel.ino | JBAnderson5/petwatch | 0ca1e0cbbbb76020b6c772fedf26a2c1cef8240d | [
"MIT"
] | null | null | null | petwatch-arduino/Arduino_uno/accelandtemp/Accel.ino | JBAnderson5/petwatch | 0ca1e0cbbbb76020b6c772fedf26a2c1cef8240d | [
"MIT"
] | 1 | 2018-02-07T01:08:41.000Z | 2018-02-07T01:08:41.000Z | petwatch-arduino/Arduino_uno/accelandtemp/Accel.ino | JBAnderson5/petwatch | 0ca1e0cbbbb76020b6c772fedf26a2c1cef8240d | [
"MIT"
] | 1 | 2018-02-07T02:28:57.000Z | 2018-02-07T02:28:57.000Z | // accelerometer pins
#define LIS3DH_CLK 13 //blue SCL
#define LIS3DH_MISO 12 //yellow SDO
#define LIS3DH_MOSI 11 //green SDA
#define LIS3DH_CS 10 //blue CS
// global accelerometer variables
Adafruit_LIS3DH lis = Adafruit_LIS3DH(LIS3DH_CS, LIS3DH_MOSI, LIS3DH_MISO, LIS3DH_CLK);
//stores the total movement of 5... | 23.37037 | 101 | 0.7187 | true | 381 |
42664a44d9c730dce0d15702ab502d90bf53f0cb | 6,715 | ino | Arduino | firmware/firmware.ino | bsatrom/notecard-build-monitor | 86eb1c3f43a56806c693ecf3f1a6513fe4a09a2c | [
"MIT"
] | 1 | 2021-11-29T09:04:12.000Z | 2021-11-29T09:04:12.000Z | firmware/firmware.ino | bsatrom/notecard-build-monitor | 86eb1c3f43a56806c693ecf3f1a6513fe4a09a2c | [
"MIT"
] | null | null | null | firmware/firmware.ino | bsatrom/notecard-build-monitor | 86eb1c3f43a56806c693ecf3f1a6513fe4a09a2c | [
"MIT"
] | 0 | null | null |
// Include the Arduino library for the Notecard
#include <Notecard.h>
#include <Wire.h>
#define BUTTON_PIN 21
#define buttonPressedState LOW
#define serialDebugOut Serial
#define myProductID "com.blues.bsatrom:build_monitor"
Notecard notecard;
// Light Stack Pin Mappings
#define RED_LIGHT 13
#define B... | 26.752988 | 101 | 0.692628 | true | 1,722 |
a55cb6f24a5305a727d61815e42ac9cf771bb544 | 5,000 | ino | Arduino | Code/code.ino | prajwaltelkar/ESP32-CAM | a7efaf9463750b49799aaefcab9308dc184b0c1a | [
"MIT"
] | 1 | 2020-08-28T07:14:10.000Z | 2020-08-28T07:14:10.000Z | Code/code.ino | prajwaltelkar/ESP32-CAM | a7efaf9463750b49799aaefcab9308dc184b0c1a | [
"MIT"
] | null | null | null | Code/code.ino | prajwaltelkar/ESP32-CAM | a7efaf9463750b49799aaefcab9308dc184b0c1a | [
"MIT"
] | 0 | null | null | #include "esp_camera.h"
#include "Arduino.h"
#include "FS.h" // SD Card ESP32
#include "SD_MMC.h" // SD Card ESP32
#include "soc/soc.h" // Disable brownour problems
#include "soc/rtc_cntl_reg.h" // Disable brownour problems
#include "driver/rtc_io.h"
#include <EEPROM.h> ... | 34.013605 | 152 | 0.6204 | true | 1,270 |
5d10d05d9e785e3c1e3abe9a44f397b3a0d9161a | 8,545 | ino | Arduino | arduino_sketches/sid/gyro_header_sid/gyro_header_sid.ino | mehmetcanbudak/garvuino | a962c16ffb9ab23ec0f55cd25cc02412c3bdf262 | [
"Unlicense"
] | 14 | 2018-01-04T17:20:52.000Z | 2021-06-25T00:04:25.000Z | arduino_sketches/sid/gyro_header_sid/gyro_header_sid.ino | mehmetcanbudak/garvuino | a962c16ffb9ab23ec0f55cd25cc02412c3bdf262 | [
"Unlicense"
] | 4 | 2019-03-18T22:18:33.000Z | 2019-04-12T19:42:01.000Z | arduino_sketches/sid/gyro_header_sid/gyro_header_sid.ino | mehmetcanbudak/garvuino | a962c16ffb9ab23ec0f55cd25cc02412c3bdf262 | [
"Unlicense"
] | 3 | 2019-03-18T20:28:07.000Z | 2021-02-01T12:32:30.000Z | /* Author = helscream (Omer Ikram ul Haq)
Last edit date = 2014-10-08
Website: http://hobbylogs.me.pn/?p=47
Location: Pakistan
Ver: 0.1 beta --- Start
Ver: 0.2 beta --- Bug fixed for calculating "angle_y_accel" and "angle_x_accel" in "Gyro_header.ino" file
// version for Garvuino https://github.com/farvardin/garvuino
... | 24.484241 | 131 | 0.656173 | true | 2,582 |
dda7e624f25820fbe0f9a79dad0ac3cd52ff1519 | 623 | ino | Arduino | measure_voltage_devision/ino/measure_voltage_devision/measure_voltage_devision.ino | fabiantheblind/electrical-engineering | 5ff51030e899e912595c35f20ee7d383451c10de | [
"Unlicense"
] | 1 | 2015-01-08T13:27:48.000Z | 2015-01-08T13:27:48.000Z | measure_voltage_devision/ino/measure_voltage_devision/measure_voltage_devision.ino | fabianmoronzirfas/electrical-engineering | 5ff51030e899e912595c35f20ee7d383451c10de | [
"Unlicense"
] | null | null | null | measure_voltage_devision/ino/measure_voltage_devision/measure_voltage_devision.ino | fabianmoronzirfas/electrical-engineering | 5ff51030e899e912595c35f20ee7d383451c10de | [
"Unlicense"
] | 2 | 2015-05-15T08:30:30.000Z | 2015-09-11T09:01:15.000Z | // this shows some resistors in row and the voltage devision
//
int measure_pin_one = A0;
int measure_pin_two = A1;
int measure_pin_three = A2;
void setup(){
Serial.begin(9600);
}
void loop(){
int raw_one = analogRead(measure_pin_one);
int raw_two = analogRead(measure_pin_two);
int raw_three = analogRead(mea... | 25.958333 | 60 | 0.698234 | true | 185 |
4c7059d21d68a7efb20f7ad9cc2f8cf50a26f0ef | 50 | ino | Arduino | 00_ShoulderVest_Server/30_Loop.ino | xteeven/ShoulderVest | 3ee75286e678f398a078b8cb5540270980cb2090 | [
"MIT"
] | null | null | null | 00_ShoulderVest_Server/30_Loop.ino | xteeven/ShoulderVest | 3ee75286e678f398a078b8cb5540270980cb2090 | [
"MIT"
] | null | null | null | 00_ShoulderVest_Server/30_Loop.ino | xteeven/ShoulderVest | 3ee75286e678f398a078b8cb5540270980cb2090 | [
"MIT"
] | 0 | null | null |
void loop() {
if (deviceConnected) {
}
}
| 5 | 24 | 0.5 | true | 16 |
263f1d59f859fd8724d01f13bf9544985d59a3cf | 1,100 | ino | Arduino | DmTftLibrary/examples/DM-TFT24-312/BubbleDemo/BubbleDemo.ino | prohazko2/DmTftLibrary | 5a09a4d5884ba7d96ad87e0f39df17567e7590ec | [
"FSFAP"
] | null | null | null | DmTftLibrary/examples/DM-TFT24-312/BubbleDemo/BubbleDemo.ino | prohazko2/DmTftLibrary | 5a09a4d5884ba7d96ad87e0f39df17567e7590ec | [
"FSFAP"
] | null | null | null | DmTftLibrary/examples/DM-TFT24-312/BubbleDemo/BubbleDemo.ino | prohazko2/DmTftLibrary | 5a09a4d5884ba7d96ad87e0f39df17567e7590ec | [
"FSFAP"
] | 3 | 2019-10-07T03:39:47.000Z | 2021-09-05T17:57:37.000Z | /**********************************************************************************************
Copyright (c) 2015 DisplayModule. All rights reserved.
Redistribution and use of this source code, part of this source code or any compiled binary
based on this source code is permitted as long as the above copyright not... | 27.5 | 95 | 0.607273 | true | 251 |
d6824f1be93c51cf41c87f1e55f8d5ef74d0e173 | 13,496 | ino | Arduino | TouchTouch Examples/Midi_Drums/Midi_Drums.ino | duinopeak/ws-touchtouch | feffd9784ec192a2cc9b84a613b2d6abe74b58e0 | [
"MIT"
] | null | null | null | TouchTouch Examples/Midi_Drums/Midi_Drums.ino | duinopeak/ws-touchtouch | feffd9784ec192a2cc9b84a613b2d6abe74b58e0 | [
"MIT"
] | null | null | null | TouchTouch Examples/Midi_Drums/Midi_Drums.ino | duinopeak/ws-touchtouch | feffd9784ec192a2cc9b84a613b2d6abe74b58e0 | [
"MIT"
] | 0 | null | null | /*******************************************************************************
TouchTouch On Board Midi Piano (or other instrument... or drum kit!)
-------------------------------------------------------------------------
Midi_Piano.ino - basic sketch that defines the Touch Board as a particular
instrument when... | 47.521127 | 112 | 0.583432 | true | 3,563 |
71d2199df57970cf67b2b7895aa156f368f89a61 | 14,888 | ino | Arduino | hardware/LCD_RFID_MENU.ino | NuwanHarsha/e16-3yp-computerized-timetabling-and-attendance-marking-system | b799c443e9bd74010814de7287c4895e71536adf | [
"MIT"
] | null | null | null | hardware/LCD_RFID_MENU.ino | NuwanHarsha/e16-3yp-computerized-timetabling-and-attendance-marking-system | b799c443e9bd74010814de7287c4895e71536adf | [
"MIT"
] | 3 | 2020-12-27T12:48:04.000Z | 2021-01-25T12:07:07.000Z | hardware/LCD_RFID_MENU.ino | NuwanHarsha/e16-3yp-computerized-timetabling-and-attendance-marking-system | b799c443e9bd74010814de7287c4895e71536adf | [
"MIT"
] | 7 | 2020-11-07T03:55:25.000Z | 2020-12-26T07:37:37.000Z |
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Keypad.h>
#include <SPI.h>
#include <MFRC522.h>
#include <string.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
const byte ROWS = 4; //four rows
const byte COLS = 4; //three columns
char keys[ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C... | 26.211268 | 131 | 0.597797 | true | 4,018 |
d5ab7e23cad73b21d43522f988d31cb35449c753 | 999 | ino | Arduino | cube_rainbow_random/cube_rainbow_random.ino | HackerspaceBielefeld/charliecubeAnimations | 1f8a87e006890aa747282b4c5e18856161429d50 | [
"BSD-2-Clause"
] | null | null | null | cube_rainbow_random/cube_rainbow_random.ino | HackerspaceBielefeld/charliecubeAnimations | 1f8a87e006890aa747282b4c5e18856161429d50 | [
"BSD-2-Clause"
] | null | null | null | cube_rainbow_random/cube_rainbow_random.ino | HackerspaceBielefeld/charliecubeAnimations | 1f8a87e006890aa747282b4c5e18856161429d50 | [
"BSD-2-Clause"
] | 0 | null | null | #include "cubeplex.h"
byte spectrum[24][3] = {
{8,0,0},{7,1,0},{6,2,0},{5,3,0},{4,4,0},{3,5,0},{2,6,0},{1,7,0},
{0,8,0},{0,7,1},{0,6,2},{0,5,3},{0,4,4},{0,3,5},{0,2,6},{0,1,7},
{0,0,8},{1,0,7},{2,0,6},{3,0,5},{4,0,4},{5,0,3},{6,0,2},{7,0,1},
};
byte cube[4][4][4];
void setup() {
initCube();
randomSeed(ana... | 23.785714 | 71 | 0.409409 | true | 452 |
3ea20b809b427b0c04147fd821cdfeefd69432e5 | 3,067 | ino | Arduino | OpenSmartDriver/examples/Fade/Fade.ino | sierra-m/OpenSmartDriver | 61851fd843e304787684a2242140587f3eddec7c | [
"MIT"
] | null | null | null | OpenSmartDriver/examples/Fade/Fade.ino | sierra-m/OpenSmartDriver | 61851fd843e304787684a2242140587f3eddec7c | [
"MIT"
] | null | null | null | OpenSmartDriver/examples/Fade/Fade.ino | sierra-m/OpenSmartDriver | 61851fd843e304787684a2242140587f3eddec7c | [
"MIT"
] | 0 | null | null | /*
* ==============================================================================
* MIT License
*
* Copyright (c) 2019 Sierra MacLeod
*
* 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 Sof... | 30.979798 | 81 | 0.63091 | true | 765 |
a440112d0b00e6373d4c368999c639c0138fa4df | 2,901 | ino | Arduino | Software/RGB_Panel/Wifi.ino | DeTintefisch/RGB_Panel | a7b64db3c3cf16da24644c72746e2d523b865c1a | [
"MIT"
] | 1 | 2022-01-24T19:50:55.000Z | 2022-01-24T19:50:55.000Z | Software/RGB_Panel/Wifi.ino | DeTintefisch/RGB_Panel | a7b64db3c3cf16da24644c72746e2d523b865c1a | [
"MIT"
] | null | null | null | Software/RGB_Panel/Wifi.ino | DeTintefisch/RGB_Panel | a7b64db3c3cf16da24644c72746e2d523b865c1a | [
"MIT"
] | 0 | null | null |
void WiFiStart()
{
Serial.print("Verbinden zu: ");
Serial.println(ssid);
WiFi.config(ip, gateway, subnet, dns);
delay(200);
WiFi.begin(ssid, password);
Serial.print("Verbinden ");
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("Wi... | 23.208 | 124 | 0.561875 | true | 751 |
c5aa222e2f3335dba1824826e9aec21453f0f43e | 2,604 | ino | Arduino | rpimcunodeold/rpimcunodeold.ino | mereacre/drier | dc19212b3692689dedb809c679624e63a027ad0f | [
"MIT"
] | null | null | null | rpimcunodeold/rpimcunodeold.ino | mereacre/drier | dc19212b3692689dedb809c679624e63a027ad0f | [
"MIT"
] | null | null | null | rpimcunodeold/rpimcunodeold.ino | mereacre/drier | dc19212b3692689dedb809c679624e63a027ad0f | [
"MIT"
] | 0 | null | null | #include <Wire.h>
#include "Timer.h"
#define SENSOR_COUNT 19
#define TEST_COMMAND 0x00
#define START_DATA_COMMAND 0xFF
#define STOP_DATA_COMMAND 0xFE
#define DATA_SIZE 0x02
#define SENSOR_READ_FREQ 5000//60000
byte gSensorData[SENSOR_COUNT][DATA_SIZE];
byte gSensorDataState[SENSOR_COUNT]... | 22.643478 | 79 | 0.595238 | true | 765 |
11de6f6516bd91f03081c626644802ea1685c451 | 2,569 | ino | Arduino | for set up lora and receive data from remote lora(lorato lora).ino | KohinurAkter/CropNetNode | fd37aae274e6b836e677594d8ff7a9af55e1dfdd | [
"MIT"
] | null | null | null | for set up lora and receive data from remote lora(lorato lora).ino | KohinurAkter/CropNetNode | fd37aae274e6b836e677594d8ff7a9af55e1dfdd | [
"MIT"
] | null | null | null | for set up lora and receive data from remote lora(lorato lora).ino | KohinurAkter/CropNetNode | fd37aae274e6b836e677594d8ff7a9af55e1dfdd | [
"MIT"
] | 0 | null | null |
#define LORA_MODE 10
#define LORA_CHANNEL CH_6_BW_125
//lora 4 send data to adress 2
#define LORA_ADDRESS 4
#define LORA_SEND_TO_ADDRESS 2
#define LORA_LED 0
void loraSetup()
{
pinMode(LORA_LED, OUTPUT);
// Open serial communications and wait for po... | 25.435644 | 71 | 0.609186 | true | 673 |
8e24235bf97af7d9e462be6e54b2bf7406e7e431 | 1,729 | ino | Arduino | examples/Components/Lock/Lock.ino | thebigpotatoe/homeaassistant-mqtt | bc81b7ab8929ff33c04b848d782972fc4afe93ab | [
"MIT"
] | null | null | null | examples/Components/Lock/Lock.ino | thebigpotatoe/homeaassistant-mqtt | bc81b7ab8929ff33c04b848d782972fc4afe93ab | [
"MIT"
] | null | null | null | examples/Components/Lock/Lock.ino | thebigpotatoe/homeaassistant-mqtt | bc81b7ab8929ff33c04b848d782972fc4afe93ab | [
"MIT"
] | 0 | null | null | /*
Copyright (c) 2021 thebigpotatoe
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, s... | 23.364865 | 78 | 0.744361 | true | 429 |
aa0b624d3fae222c3c6e61a9ee38e8ae051e6086 | 1,860 | ino | Arduino | menubuild/menu-mk2/main_F.ino | Mr-76/relogio-arduino | 827b2550a385b14b177783dce5b3cad8ec00902a | [
"MIT"
] | null | null | null | menubuild/menu-mk2/main_F.ino | Mr-76/relogio-arduino | 827b2550a385b14b177783dce5b3cad8ec00902a | [
"MIT"
] | 4 | 2022-02-11T20:36:55.000Z | 2022-03-14T20:18:58.000Z | menubuild/menu-mk2/main_F.ino | holand76/relogio-arduino | 827b2550a385b14b177783dce5b3cad8ec00902a | [
"MIT"
] | 0 | null | null | #include "pagina1.h"
#include "pagina2.h"
#include "pagina3.h"
#include "pagina4.h"
void main_F(int time[3]){
readbuttons();//le os botoes
if(buttonState1 == HIGH){
decreseMenu(array_botoes,menupagina1); //decrementa o seletor do menu
}
if (buttonState3 == HIGH){
cresceMenu(4,array_botoes,menupagina1... | 18.235294 | 73 | 0.543011 | true | 565 |
47144cd2af9158e1b3bdca75fe7852260833a9a1 | 663 | ino | Arduino | alt/ESP_remote/sketch_nov04a/sketch_nov04a.ino | martin0112/Boat_drone | b7617a250d75d132692bfaf6b1425645e5b7041c | [
"MIT"
] | null | null | null | alt/ESP_remote/sketch_nov04a/sketch_nov04a.ino | martin0112/Boat_drone | b7617a250d75d132692bfaf6b1425645e5b7041c | [
"MIT"
] | null | null | null | alt/ESP_remote/sketch_nov04a/sketch_nov04a.ino | martin0112/Boat_drone | b7617a250d75d132692bfaf6b1425645e5b7041c | [
"MIT"
] | 0 | null | null | //433Mhz HC12 an Computer "Dongle"
#include <SoftwareSerial.h>
SoftwareSerial HC12(D6, D7, false, 128);
void setup() {
delay(1000);
Serial.begin(115200); // Open serial port to computer
HC12.begin(9600); // Open serial port to HC12
}
void loop() {
if(HC12.av... | 20.090909 | 87 | 0.533937 | true | 156 |
b3ea0d8018833a29ef6818c5ee2f79630cd31372 | 12,327 | ino | Arduino | SPI_bridge/SPI_bridge.ino | gicking/Arduino_SPI_bridge | ae9d37d58356ff9d391ff240fbdaac09acbac72e | [
"Apache-2.0"
] | 1 | 2020-07-31T16:08:44.000Z | 2020-07-31T16:08:44.000Z | SPI_bridge/SPI_bridge.ino | gicking/Arduino_SPI_bridge | ae9d37d58356ff9d391ff240fbdaac09acbac72e | [
"Apache-2.0"
] | null | null | null | SPI_bridge/SPI_bridge.ino | gicking/Arduino_SPI_bridge | ae9d37d58356ff9d391ff240fbdaac09acbac72e | [
"Apache-2.0"
] | 0 | null | null | /**
\file SPI_bridge.ino
\author G. Icking-Konert
\date 2017-12-15
\version 0.1
\brief Arduino as a USB <-> SPI-master bridge
Use an Arduino as a USB <-> SPI-master bridge. Program is written as
non-blocking -> can be extended to do something else simultaneously.
Serial protocol:
... | 29.073113 | 117 | 0.547984 | true | 3,094 |
b026c09339bbca46030b02adcbacf9d18a0aee97 | 8,525 | ino | Arduino | getIpAddressClean/getIpAddressClean.ino | Chrisrox8/Test-Embedded-Application | 3db166bbf1cf408f380b9522e148318c1265b142 | [
"Apache-2.0"
] | null | null | null | getIpAddressClean/getIpAddressClean.ino | Chrisrox8/Test-Embedded-Application | 3db166bbf1cf408f380b9522e148318c1265b142 | [
"Apache-2.0"
] | null | null | null | getIpAddressClean/getIpAddressClean.ino | Chrisrox8/Test-Embedded-Application | 3db166bbf1cf408f380b9522e148318c1265b142 | [
"Apache-2.0"
] | 0 | null | null | /*
Name: getIpAddressClean.ino
Created: 10/24/2016 12:07:02 PM
Author: Rene Moise Kwibuka
*/
//Includes.
#include <ESP8266WiFi.h>
#include <WiFiUDP.h>
#include <ArduinoJson.h>
#include <SoftwareSerial.h>
#include <FS.h>
//ACCESS POINT DEFINITIONS.
const char WIFI_AP_PASSWORD[] = "12345678";
//UDP DEFINITIONS
int... | 23.228883 | 84 | 0.684106 | true | 2,449 |
1f6a0662b38e75f25790027bb331208127143c08 | 889 | ino | Arduino | SerialScale/SerialScale.ino | Miceuz/ScaleHack | 3bfc589283354ba0cac3c67b848b115db43bc970 | [
"Apache-2.0"
] | 11 | 2017-02-12T22:17:33.000Z | 2020-08-02T16:20:00.000Z | SerialScale/SerialScale.ino | Miceuz/ScaleHack | 3bfc589283354ba0cac3c67b848b115db43bc970 | [
"Apache-2.0"
] | null | null | null | SerialScale/SerialScale.ino | Miceuz/ScaleHack | 3bfc589283354ba0cac3c67b848b115db43bc970 | [
"Apache-2.0"
] | 0 | null | null | #include "HX711.h"
#include "FilterCascade.h"
String content = "";
HX711 scale;
#define DOUT 9
#define SCK 11
double r = 18.15;
void setup() {
pinMode(10, OUTPUT);
digitalWrite(10, LOW);
pinMode(8, OUTPUT);
digitalWrite(8, HIGH);
Serial.begin(9600);
scale.begin(DOUT, SCK);
//scale.set_scale();
... | 17.78 | 54 | 0.56243 | true | 244 |
65c4663592a829b908e03ac7c25077e313b1076c | 6,282 | ino | Arduino | final/football/football.ino | wayglem/robot-football | 987d3099ae496ed2af4a16672d95fc404d93b968 | [
"MIT"
] | 1 | 2020-04-25T08:23:38.000Z | 2020-04-25T08:23:38.000Z | final/football/football.ino | wayglem/robot-football | 987d3099ae496ed2af4a16672d95fc404d93b968 | [
"MIT"
] | null | null | null | final/football/football.ino | wayglem/robot-football | 987d3099ae496ed2af4a16672d95fc404d93b968 | [
"MIT"
] | 0 | null | null | #include <ArduinoRobot.h>
#include <SPI.h>
#include <Wire.h>
// Global variables
int MAX_SPEED = 150;
int CORRECTION_SPEED = 100;
int RAYON_ROBOT = 10;
int H_PLAN = 135;
int L_PLAN = 105;
int cap[4] = {172, 286, 220, 110};
int frontSensor;
int ballX = 78;
int ballY = 56;
int goalX = 47;
int goalY = 100;
char aTinyMel... | 26.394958 | 128 | 0.643744 | true | 1,876 |
8efa8117e9d49d5933046b22d18a89cb36521506 | 408 | ino | Arduino | crc16_test/crc16_test.ino | elex-project/arduino-examples | 23e558ea5f4102a47748e5595d4553043a70ee82 | [
"BSD-3-Clause"
] | null | null | null | crc16_test/crc16_test.ino | elex-project/arduino-examples | 23e558ea5f4102a47748e5595d4553043a70ee82 | [
"BSD-3-Clause"
] | null | null | null | crc16_test/crc16_test.ino | elex-project/arduino-examples | 23e558ea5f4102a47748e5595d4553043a70ee82 | [
"BSD-3-Clause"
] | 0 | null | null | # include "crc16.h"
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
byte array[] = {0x7e, 0x01, 0x01, 0x00, 0x00};
unsigned int crc16 = crc(array, 3);
byte high = highByte(crc16);
byte low = lowByte(crc16);
Serial.print(crc16, HEX); Serial.print(" = ");
S... | 20.4 | 48 | 0.625 | true | 138 |
4adac40a03a0068dfbb449b60fb0b0fa64896e31 | 130 | ino | Arduino | core.ino | blady92/incubatorTwo | 0ee781c1f6cccebc7de340c6d14352b373f98538 | [
"Apache-2.0"
] | null | null | null | core.ino | blady92/incubatorTwo | 0ee781c1f6cccebc7de340c6d14352b373f98538 | [
"Apache-2.0"
] | null | null | null | core.ino | blady92/incubatorTwo | 0ee781c1f6cccebc7de340c6d14352b373f98538 | [
"Apache-2.0"
] | 0 | null | null | int pow (int a, int b) {
if (b == 0) return 1;
int olda = a;
for (int i = 1; i < b; i++) {
a *= olda;
}
return a;
}
| 14.444444 | 31 | 0.430769 | true | 59 |
32f75484eb9ca245baaac68534b3109b165d77d1 | 4,250 | ino | Arduino | station/weather-station/weather-station.ino | Autophagy/Regn | f3cae76f7662b45a062c9a8f20e0f085b5eba3cd | [
"MIT"
] | 3 | 2018-04-02T23:35:05.000Z | 2018-04-03T18:51:56.000Z | station/weather-station/weather-station.ino | Autophagy/Regn | f3cae76f7662b45a062c9a8f20e0f085b5eba3cd | [
"MIT"
] | null | null | null | station/weather-station/weather-station.ino | Autophagy/Regn | f3cae76f7662b45a062c9a8f20e0f085b5eba3cd | [
"MIT"
] | 0 | null | null | /*
Regn :: Weather Station
@version 0.1.0
@author Mika Naylor [Autophagy] :: http://autophagy.io/
@hardware Mika Naylor [Autophagy] :: http://autophagy.io/
@description
A client that reads temp, humidity, atmospheric pressure and
luminosity at 10 minute intervals. POSTs these readings at a
pr... | 23.480663 | 88 | 0.681176 | true | 1,093 |
1be274507b03be0000f6bac2f31745576ff0fee7 | 3,264 | ino | Arduino | IotExercises/HardwareLabs/LAB3/ES1/es1/es1.ino | gguzzy/WebDevelopment-IoT-technologies-for-embedded-systems | 02980ed48dd9099d6aa5027d5421b399a687d76d | [
"MIT"
] | 1 | 2020-11-19T11:07:49.000Z | 2020-11-19T11:07:49.000Z | IotExercises/HardwareLabs/LAB3/ES1/es1/es1.ino | gguzzy/WebDevelopment-IoT-technologies-for-embedded-systems | 02980ed48dd9099d6aa5027d5421b399a687d76d | [
"MIT"
] | null | null | null | IotExercises/HardwareLabs/LAB3/ES1/es1/es1.ino | gguzzy/WebDevelopment-IoT-technologies-for-embedded-systems | 02980ed48dd9099d6aa5027d5421b399a687d76d | [
"MIT"
] | 0 | null | null | #include <Bridge.h>
#include <BridgeServer.h>
#include <BridgeClient.h>
#include <ArduinoJson.h>
const float Vcc = 1023.0;
const float B = 4275.0;
const float R = 100000.0;
const float T0 = 298.0;
#define TEMP_PIN A1
const int capacity = JSON_OBJECT_SIZE(2) + JSON_ARRAY_SIZE(1) + JSON_OBJECT_SIZE(4) + 40;//c... | 25.302326 | 131 | 0.587316 | true | 880 |
9a0df91f3989e37c0379ab5084d3dcd119a0f4dc | 1,595 | ino | Arduino | src/Arduino/level_mon/level_mon.ino | jakkaj/SmartMeterMonitor | 9868ed5cea3dbcd110c0803404bb9041e803340f | [
"MIT"
] | 1 | 2021-06-01T07:08:17.000Z | 2021-06-01T07:08:17.000Z | src/Arduino/level_mon/level_mon.ino | jakkaj/SmartMeterMonitor | 9868ed5cea3dbcd110c0803404bb9041e803340f | [
"MIT"
] | null | null | null | src/Arduino/level_mon/level_mon.ino | jakkaj/SmartMeterMonitor | 9868ed5cea3dbcd110c0803404bb9041e803340f | [
"MIT"
] | 0 | null | null | /*
* Ultrasonic Sensor HC-SR04 and Arduino Tutorial
*
* by Dejan Nedelkovski,
* www.HowToMechatronics.com
*
*/
#include "HttpClient.h"
#include "QueueClient.h"
#include "secrets.h"
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
// defines pins numbers
const int trigPin = 4;
const int echoPi... | 20.189873 | 75 | 0.675862 | true | 399 |
d4ee5b27bd35b545d1df5431eb2e0b1e64dec962 | 6,425 | ino | Arduino | Adv_mBot_Line_follower_1.0.ino | Quaslusive/Advanced-mBot-Line-Follower | 85f52754417c46fa0a8750a8e2da576f3d36c495 | [
"Unlicense"
] | 3 | 2018-04-27T08:51:35.000Z | 2020-08-28T20:13:21.000Z | Adv_mBot_Line_follower_1.0.ino | Quaslusive/Advanced-mBot-Line-Follower | 85f52754417c46fa0a8750a8e2da576f3d36c495 | [
"Unlicense"
] | null | null | null | Adv_mBot_Line_follower_1.0.ino | Quaslusive/Advanced-mBot-Line-Follower | 85f52754417c46fa0a8750a8e2da576f3d36c495 | [
"Unlicense"
] | 0 | null | null | #include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>
#include <MeMCore.h>
MeDCMotor motor_9(9);
MeDCMotor motor_10(10);
void move(int direction, int speed)
{
int leftSpeed = 0;
int rightSpeed = 0;
if(direction == 1){
leftSpeed = speed;
rightSpeed = speed;
}el... | 22.54386 | 177 | 0.571362 | true | 1,877 |
08e46c6e68ed473b840c75a2c0ecb5e4ae890116 | 2,104 | ino | Arduino | workingArduino/workingArduino.ino | turtle89431/arduinoday | da3b3a420c93e4779a5935e859a20c5bdea13182 | [
"MIT"
] | null | null | null | workingArduino/workingArduino.ino | turtle89431/arduinoday | da3b3a420c93e4779a5935e859a20c5bdea13182 | [
"MIT"
] | null | null | null | workingArduino/workingArduino.ino | turtle89431/arduinoday | da3b3a420c93e4779a5935e859a20c5bdea13182 | [
"MIT"
] | 0 | null | null | #include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <ESP8266HTTPClient.h>
#define UP 0 //up pin
#define DOWN 1 //down pin
#define LEFT 2 //left pin
#define RIGHT 3 //right pin
const char* ssid = "cit";
const char* password = "H@rlan817";
int boundLow=0;
int boundHigh=0;
int index2=0;
int last=1;
int msec=0;... | 31.402985 | 114 | 0.602662 | true | 498 |
cd6fd51da7d1ddac3788059b7a384a78880edf11 | 4,041 | ino | Arduino | src/particle/particle.ino | outoftolerance/icarus_firmware | 4fd6d57d3e1aa06a7647361bc338d1f036f54965 | [
"MIT"
] | 1 | 2020-08-29T19:41:45.000Z | 2020-08-29T19:41:45.000Z | src/particle/particle.ino | outoftolerance/icarus_firmware | 4fd6d57d3e1aa06a7647361bc338d1f036f54965 | [
"MIT"
] | null | null | null | src/particle/particle.ino | outoftolerance/icarus_firmware | 4fd6d57d3e1aa06a7647361bc338d1f036f54965 | [
"MIT"
] | 0 | null | null | #include <ParticleConfiguration.h>
#include <SimpleUtils.h>
#include <SimpleLog.h>
#include <SimpleHDLC.h>
#include <SimpleMessageProtocol.h>
Stream& logging_stream = Serial; /**< Logging output stream, this is of type Serial_ */
Stream& icarus_stream = Serial1; /... | 33.957983 | 117 | 0.669884 | true | 846 |
709fa58134fc95bcf142262a402d95cd8fa04fa0 | 14,253 | ino | Arduino | examples/tests/test_sketch/test_sketch.ino | dxxb/ATMlib2-WIP | 507b9ba436bc5035d5c64b7e4502689329e7d90a | [
"BSD-3-Clause"
] | null | null | null | examples/tests/test_sketch/test_sketch.ino | dxxb/ATMlib2-WIP | 507b9ba436bc5035d5c64b7e4502689329e7d90a | [
"BSD-3-Clause"
] | null | null | null | examples/tests/test_sketch/test_sketch.ino | dxxb/ATMlib2-WIP | 507b9ba436bc5035d5c64b7e4502689329e7d90a | [
"BSD-3-Clause"
] | 1 | 2020-06-22T16:42:50.000Z | 2020-06-22T16:42:50.000Z | #include <Arduboy2.h>
#include <ATMlib2.h>
#include "atm_cmd_constants.h"
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
const PROGMEM struct tempo_test_sfx {
uint8_t fmt;
uint8_t pattern0[22];
} tempo_test_sfx = {
.fmt = ATM_SCORE_FMT_MINIMAL_MONO,
.pattern0 = {
/* don't set tempo, expect it to be... | 32.765517 | 108 | 0.647443 | true | 3,984 |
a28d531be967e018c93f98263c662dfcbe8d6e0b | 2,500 | ino | Arduino | Main/LCDDisplays.ino | mdarfay/Connected-CatDoor | df73d1f90410b16fbe4475314999d5e87ac8de0a | [
"Apache-2.0"
] | null | null | null | Main/LCDDisplays.ino | mdarfay/Connected-CatDoor | df73d1f90410b16fbe4475314999d5e87ac8de0a | [
"Apache-2.0"
] | null | null | null | Main/LCDDisplays.ino | mdarfay/Connected-CatDoor | df73d1f90410b16fbe4475314999d5e87ac8de0a | [
"Apache-2.0"
] | 0 | null | null | void lcdDrawHome() {
M5.Lcd.clear(BLACK);
lcdDrawBtnBInfos();
lcdDrawBtnAInfos();
}
void lcdDrawBtnBInfos() {
M5.Lcd.setTextSize(2);
M5.Lcd.setCursor(65, 10);
M5.Lcd.setTextColor(RED);
M5.Lcd.println("Connected CatDoor");
M5.Lcd.setCursor(3, 100);
M5.Lcd.setTextColor(PINK);
M5.Lcd.println("Press bu... | 29.761905 | 44 | 0.65 | true | 1,001 |
e5b04a59d5452a36918aae167ae115fe5fa3ca61 | 3,061 | ino | Arduino | irrigation.ino | BlazerX88/SmartFarming-Using-Iot | 4e3ffd092a2fd660551bcc3496b341dbec1dbb22 | [
"Apache-2.0"
] | null | null | null | irrigation.ino | BlazerX88/SmartFarming-Using-Iot | 4e3ffd092a2fd660551bcc3496b341dbec1dbb22 | [
"Apache-2.0"
] | null | null | null | irrigation.ino | BlazerX88/SmartFarming-Using-Iot | 4e3ffd092a2fd660551bcc3496b341dbec1dbb22 | [
"Apache-2.0"
] | 0 | null | null | #include <DHT.h>
//#include <ESP8266WiFi.h>
#include <LiquidCrystal.h>
// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 8, en = A1, d4 = 12, d5 = 11, d6 = 10, d7 = 9;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
#define DHTPIN ... | 26.387931 | 84 | 0.615812 | true | 886 |
6428fe46861297ef75d84a67a4ec01a76786d6a0 | 6,192 | ino | Arduino | Arduino/Codigos/AlgoritmoIoTCentral/AlgoritmoIoTCentral.ino | gysdev/HoLIoTCentralGyS | 39439ca0006d1cc173cee3f8a9ccf498afeeaba8 | [
"MIT"
] | null | null | null | Arduino/Codigos/AlgoritmoIoTCentral/AlgoritmoIoTCentral.ino | gysdev/HoLIoTCentralGyS | 39439ca0006d1cc173cee3f8a9ccf498afeeaba8 | [
"MIT"
] | null | null | null | Arduino/Codigos/AlgoritmoIoTCentral/AlgoritmoIoTCentral.ino | gysdev/HoLIoTCentralGyS | 39439ca0006d1cc173cee3f8a9ccf498afeeaba8 | [
"MIT"
] | 0 | null | null | //Hands On Lab - G&S
//Proyecto IoTCentral
#include <Servo.h> // Incluimos la libreria Servo
const int trigPin = 10; // Asignamos el pin digital 10 para el Trigger del sensor
const int echoPin = 11; // Asignamos ... | 50.754098 | 158 | 0.493379 | true | 1,335 |
04af78e84fd76991d8aa2c2346a01e45a6bb019c | 2,339 | ino | Arduino | Libraries/CmdMessenger/examples/Receive/Receive.ino | brentschooley/linkit-one-sensor-samples | 351a9902acadd85483f17198d83a18f3dc27a5f2 | [
"MIT"
] | 196 | 2015-04-21T09:17:03.000Z | 2022-02-08T12:15:49.000Z | Libraries/CmdMessenger/examples/Receive/Receive.ino | brentschooley/linkit-one-sensor-samples | 351a9902acadd85483f17198d83a18f3dc27a5f2 | [
"MIT"
] | 45 | 2015-07-15T14:16:50.000Z | 2022-03-05T11:44:42.000Z | Libraries/CmdMessenger/examples/Receive/Receive.ino | brentschooley/linkit-one-sensor-samples | 351a9902acadd85483f17198d83a18f3dc27a5f2 | [
"MIT"
] | 96 | 2015-04-25T10:17:26.000Z | 2022-03-14T02:59:38.000Z | // *** Receive ***
// This 1st example will make the PC toggle the integrated led on the arduino board.
// It demonstrates how to:
// - Define commands
// - Set up a serial connection
// - Receive a command with a parameter from the PC
#include <CmdMessenger.h> // CmdMessenger
// Blinking led variables
bool ledSt... | 29.607595 | 104 | 0.720821 | true | 553 |
36fb375786f894f106bacc5ff67f55880fa5bd1c | 1,234 | ino | Arduino | WiFi_Display.ino | PopovsSergejs/WiFi_Display | 285649185839587d00461c55b4902d800ec4f56d | [
"Unlicense"
] | 1 | 2019-12-10T21:40:16.000Z | 2019-12-10T21:40:16.000Z | WiFi_Display.ino | PopovsSergejs/WiFi_Display | 285649185839587d00461c55b4902d800ec4f56d | [
"Unlicense"
] | null | null | null | WiFi_Display.ino | PopovsSergejs/WiFi_Display | 285649185839587d00461c55b4902d800ec4f56d | [
"Unlicense"
] | 1 | 2019-12-10T21:40:29.000Z | 2019-12-10T21:40:29.000Z | #include <Wire.h>
#include <WiFiNINA.h>
#include <ArduinoJson.h>
#include "arduino_secrets.h"
#include <String.h>
//Define Pins
#define SCL 12
#define SDA 11
#define SDB 10
#define DELAY 50
#define UPDATE_PERIOD 5000
DynamicJsonDocument doc(8192... | 19.587302 | 64 | 0.63128 | true | 311 |
a609aa06ba5055925b287a34884872ffbfde6057 | 6,140 | ino | Arduino | node/node.ino | nczeroshift/vineyard_mesh | ab2d505277526b46023219d76b17ff0ba2da528c | [
"MIT"
] | null | null | null | node/node.ino | nczeroshift/vineyard_mesh | ab2d505277526b46023219d76b17ff0ba2da528c | [
"MIT"
] | null | null | null | node/node.ino | nczeroshift/vineyard_mesh | ab2d505277526b46023219d76b17ff0ba2da528c | [
"MIT"
] | 0 | null | null |
/**
* Vineyard Mesh Node
* https://github.com/nczeroshift/vineyard_mesh
* MIT License
* Luís F. Loureiro
* 2019/04/21
*/
#include <LowPower.h>
#include <RF24.h>
#include <RF24Network.h>
#include <RF24Mesh.h>
#include <SPI.h>
#include <EEPROM.h>
/************************************************************... | 24.56 | 107 | 0.544137 | true | 1,402 |
30df2c884cd8af5b70f416c0e0c3deef8e512a8d | 2,878 | ino | Arduino | pong.ino | selkkie/Ginny-Table | fc5436b8160acc54f2c99e2fe0ddc4412fd56ece | [
"MIT"
] | 1 | 2018-05-18T01:54:15.000Z | 2018-05-18T01:54:15.000Z | pong.ino | selkkie/Ginny-Table | fc5436b8160acc54f2c99e2fe0ddc4412fd56ece | [
"MIT"
] | null | null | null | pong.ino | selkkie/Ginny-Table | fc5436b8160acc54f2c99e2fe0ddc4412fd56ece | [
"MIT"
] | 0 | null | null |
#include "FastLED.h"
#define DATA_PIN 6
//#define CLK_PIN 4
#define LED_TYPE WS2812
#define COLOR_ORDER GRB
#define NUM_LEDS 246
CRGB leds[NUM_LEDS];
#define BRIGHTNESS 96
#define FRAMES_PER_SECOND 120
const byte interruptPin = 3;
const byte interruptPin2 = 2;
volatile byte alpha = LOW;
volatil... | 18.810458 | 78 | 0.579569 | true | 892 |
b42c58cd9d5ffb97889c0f8db918078bc1c0bdab | 1,161 | ino | Arduino | wioterminal.ino | terop/env-logger | 9d81e925eb87d8221396820a1d784faa01184255 | [
"MIT"
] | null | null | null | wioterminal.ino | terop/env-logger | 9d81e925eb87d8221396820a1d784faa01184255 | [
"MIT"
] | null | null | null | wioterminal.ino | terop/env-logger | 9d81e925eb87d8221396820a1d784faa01184255 | [
"MIT"
] | 0 | null | null | #include <Wire.h>
#include "SHT31.h"
#include <ArduinoJson.h>
/*
* Required libraries:
* ArduinoJson
* Grove_SHT31_Temp_Humi_Sensor
*/
SHT31 sht31 = SHT31();
const int ledPin = 13;
// Reads the sensors and returns values as JSON
String readSensors() {
digitalWrite(ledPin, 1);
const uint8_t lightMeasCount ... | 18.140625 | 65 | 0.694229 | true | 335 |
88f8f4bd5aa2a2c15763c7d7ae4e44e02568fbc9 | 4,659 | ino | Arduino | SpaceTeam-Wireless-Arduino/SpaceTeam-Wireless-Arduino.ino | marktai/Adv-Proj-2 | ba36db971fb9eabc5d0e81fb2fc9889adca124d0 | [
"MIT"
] | null | null | null | SpaceTeam-Wireless-Arduino/SpaceTeam-Wireless-Arduino.ino | marktai/Adv-Proj-2 | ba36db971fb9eabc5d0e81fb2fc9889adca124d0 | [
"MIT"
] | null | null | null | SpaceTeam-Wireless-Arduino/SpaceTeam-Wireless-Arduino.ino | marktai/Adv-Proj-2 | ba36db971fb9eabc5d0e81fb2fc9889adca124d0 | [
"MIT"
] | 0 | null | null | /*
DigitalReadSerial
Reads a digital input on pin 2, prints the result to the serial monitor
This example code is in the public domain.
*/
#include <SoftwareSerial.h>
#include "printf.h"
#define DEBOUNCE_CONSTANT 10
#define BUFFER_SIZE 128
#include <SPI.h>
#include "RF24.h"
/* Hardware configuration: Set up nR... | 21.081448 | 97 | 0.585748 | true | 1,254 |
177465cac65bdf00752196efff017edfef0201da | 2,143 | ino | Arduino | IoT_Plant_Monitoring_v1/IoT_Plant_Monitoring_v1.ino | albtronics/IoT_Plant_Monitoring | abe7d4c5e151d7cc709e0beac78f80a9e72fecb2 | [
"Apache-2.0"
] | null | null | null | IoT_Plant_Monitoring_v1/IoT_Plant_Monitoring_v1.ino | albtronics/IoT_Plant_Monitoring | abe7d4c5e151d7cc709e0beac78f80a9e72fecb2 | [
"Apache-2.0"
] | null | null | null | IoT_Plant_Monitoring_v1/IoT_Plant_Monitoring_v1.ino | albtronics/IoT_Plant_Monitoring | abe7d4c5e151d7cc709e0beac78f80a9e72fecb2 | [
"Apache-2.0"
] | 0 | null | null | // https://albtronics.wordpress.com/
// IOT_Plant_Monitoring_v1
#include <DHT.h>
#include <SPI.h>
#include <OneWire.h>
#include <SimpleTimer.h>
#include <ESP8266WiFi.h>
#include <DallasTemperature.h>
#include <BlynkSimpleEsp8266.h>
#define DHTPIN D4
#define moisturePin D3
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE... | 21.867347 | 98 | 0.633224 | true | 606 |
ec8a8a0b5c314a8ce2f8ba0ef04598ddf41b935e | 8,343 | ino | Arduino | esp32_part/arduinoIDE_version/pet_feeder/pet_feeder.ino | vcaitite/pet-feeder-prototype | e168d664b75f0a503313c210eb88145f740350a0 | [
"MIT"
] | null | null | null | esp32_part/arduinoIDE_version/pet_feeder/pet_feeder.ino | vcaitite/pet-feeder-prototype | e168d664b75f0a503313c210eb88145f740350a0 | [
"MIT"
] | null | null | null | esp32_part/arduinoIDE_version/pet_feeder/pet_feeder.ino | vcaitite/pet-feeder-prototype | e168d664b75f0a503313c210eb88145f740350a0 | [
"MIT"
] | 0 | null | null | #include <WiFi.h>
#include "FirebaseESP32.h"
#include <ESP32Servo.h>
/* Declaracao das variaveis de conexao wifi */
char * host_firebase = "https://pet-feeder-17b78-default-rtdb.firebaseio.com/";
char * pass_firebase = "HhW2LuFKHcycLl4A2dD8Qrfcg10UjFt6QAUFC8o7";
const char * user = "MOL III"; // modifique aqui co... | 36.116883 | 149 | 0.561668 | true | 2,259 |
a544cfe2363f2d813570c0e8c0cff68211e76de2 | 372 | ino | Arduino | arduino/Programa2/Programa2.ino | kaskero/Useless-Box--Jarduera-Praktikoen-Jardunaldia-2017- | a119a0330f656d7a661a0edc5fad34a7f36f70bf | [
"MIT"
] | null | null | null | arduino/Programa2/Programa2.ino | kaskero/Useless-Box--Jarduera-Praktikoen-Jardunaldia-2017- | a119a0330f656d7a661a0edc5fad34a7f36f70bf | [
"MIT"
] | 1 | 2017-11-03T14:14:58.000Z | 2017-11-03T14:20:59.000Z | arduino/Programa2/Programa2.ino | kaskero/Useless-Box--Jarduera-Praktikoen-Jardunaldia-2017- | a119a0330f656d7a661a0edc5fad34a7f36f70bf | [
"MIT"
] | 0 | null | null | #include <VarSpeedServo.h>
const int BUTTON = 8;
const int SERVO = 9;
VarSpeedServo servo;
void setup() {
servo.attach(SERVO, 0, 150);
servo.slowmove(167, 200);
}
void loop() {
bool botoia = digitalRead(BUTTON);
if(botoia == true) {
servo.slowmove(0, 200);
delay(100... | 15.5 | 38 | 0.556452 | true | 117 |
c8dca08480343b08cc89ea2d4201976721e8430b | 12,174 | ino | Arduino | w.ino | ASif2660/RPG | 2b8eec3635730f8a3b496c1d2c296dbaa56813ef | [
"Unlicense"
] | null | null | null | w.ino | ASif2660/RPG | 2b8eec3635730f8a3b496c1d2c296dbaa56813ef | [
"Unlicense"
] | null | null | null | w.ino | ASif2660/RPG | 2b8eec3635730f8a3b496c1d2c296dbaa56813ef | [
"Unlicense"
] | 0 | null | null | // code developed at design lab
//Koc University
//by Mohammed Asif Chand under the guidance of Oguz Turan Buruk
//RPG Gadget
//components used ledstrip Neo Pixel and MMA7361 accelerometer
//Accelerometer connections
//ST - pin12
//GESL - pin10
//0GD- pin11
//SLP- pin13
//XOUT- A0
//YOUT- A1
//ZOUT- A2
//GND - GND... | 25.629474 | 112 | 0.570807 | true | 3,302 |
2a0b21ced9a31a08406e121ed3db3fdc13df7923 | 696 | ino | Arduino | hardware/random_number/random_number.ino | deniz195/json-sensor | c0e55d39bab3be6eca444273fb5436e1eafe8860 | [
"MIT"
] | 1 | 2018-10-30T11:22:33.000Z | 2018-10-30T11:22:33.000Z | hardware/random_number/random_number.ino | deniz195/json-sensor | c0e55d39bab3be6eca444273fb5436e1eafe8860 | [
"MIT"
] | null | null | null | hardware/random_number/random_number.ino | deniz195/json-sensor | c0e55d39bab3be6eca444273fb5436e1eafe8860 | [
"MIT"
] | 0 | null | null | /* Random number sensor
*
* Implements a dummy sensor that complies with the json-sensor requirements
*
* Deniz Bozyigit 2018
*
*/
void setup() {
// put your setup code here,
Serial.begin(9600); // set up Serial library at 9600 bps
Serial.println("{\"status\": \"starting\""); //... | 22.451613 | 87 | 0.626437 | true | 179 |
63d50804bd06b5e81e366e71dfeef393a512b378 | 10,800 | ino | Arduino | Arduino/LlamaLlipsum/LlamaLlipsum.ino | BleuLlama/LlamaTerminal | 16f382e3bfe01a9cf49305a36c5edecf5fb95138 | [
"MIT"
] | 7 | 2016-03-26T04:44:06.000Z | 2020-04-13T00:53:57.000Z | Arduino/LlamaLlipsum/LlamaLlipsum.ino | BleuLlama/LlamaTerminal | 16f382e3bfe01a9cf49305a36c5edecf5fb95138 | [
"MIT"
] | 1 | 2017-09-06T13:37:20.000Z | 2017-09-06T13:37:20.000Z | Arduino/LlamaLlipsum/LlamaLlipsum.ino | BleuLlama/LlamaTerminal | 16f382e3bfe01a9cf49305a36c5edecf5fb95138 | [
"MIT"
] | 0 | null | null | /*
* LlamaLlipsum
*
* A simple thing to appear as a serial device, and allow
* for various amounts of lorem ipsum to be generated.
* Originally made as a testing device for LlamaTerm.
*
* yorgle@gmail.com
*
* v1.3 2016-12-04 ? prints help text now, return on empty lines
* v1.2 2016-03-08 AZ added... | 23.893805 | 82 | 0.501944 | true | 3,759 |
4d88f1fd03aefb1f75b3232277e24bd151277a4b | 2,323 | ino | Arduino | _5x5ledarraydirectdrive/_5x5ledarraydirectdrive.ino | mohsend/arduino-playground | a97ee7f9cc465f451578c7dee05466cf8de8659f | [
"MIT"
] | null | null | null | _5x5ledarraydirectdrive/_5x5ledarraydirectdrive.ino | mohsend/arduino-playground | a97ee7f9cc465f451578c7dee05466cf8de8659f | [
"MIT"
] | null | null | null | _5x5ledarraydirectdrive/_5x5ledarraydirectdrive.ino | mohsend/arduino-playground | a97ee7f9cc465f451578c7dee05466cf8de8659f | [
"MIT"
] | 0 | null | null | #include <SevenSegment.h>
int incomingInt = 0;
int two_power(int);
// the setup routine runs once when you press reset:
void setup() {
pinMode(A1, OUTPUT);
pinMode(A2, OUTPUT);
pinMode(A3, OUTPUT);
pinMode(A4, OUTPUT);
pinMode(A5, OUTPUT);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT)... | 16.131944 | 53 | 0.529488 | true | 854 |
b34a0e92d9a7b78ea174d51f112bc28f748f38ef | 4,068 | ino | Arduino | lab-2-2016-09-17/lab-2-4.ino | martinlyra/1DT100-Arduino | e778ba3e12fcc36e8539757fdf23d68354306df0 | [
"MIT"
] | null | null | null | lab-2-2016-09-17/lab-2-4.ino | martinlyra/1DT100-Arduino | e778ba3e12fcc36e8539757fdf23d68354306df0 | [
"MIT"
] | null | null | null | lab-2-2016-09-17/lab-2-4.ino | martinlyra/1DT100-Arduino | e778ba3e12fcc36e8539757fdf23d68354306df0 | [
"MIT"
] | 0 | null | null | // Source code used for task 4 in Laboration 2, 1DT100, Datateknik - introduktion med projektarbete, HT 2016
//
// Name: Arduino-Based Calculator
// Author: Martin Lyrå
// Date (of creation): 2016-09-17
// Libraries:
// * Keypad
// Here, we are no longer considering original code. Fullfilling our goal of making a sim... | 29.057143 | 121 | 0.628564 | true | 1,085 |
e8b6cd4ce0468c0d638ea93218ac89c8500e1c94 | 1,548 | ino | Arduino | car-backup-sensor.ino | kylecorry31/Car-Sensor-Module | c60be76ca208284ee3e800c783adda15ca000ece | [
"MIT"
] | null | null | null | car-backup-sensor.ino | kylecorry31/Car-Sensor-Module | c60be76ca208284ee3e800c783adda15ca000ece | [
"MIT"
] | null | null | null | car-backup-sensor.ino | kylecorry31/Car-Sensor-Module | c60be76ca208284ee3e800c783adda15ca000ece | [
"MIT"
] | 0 | null | null | #include "Ultrasonic.h"
#include "Buzzer.h"
#include <KalmanFilter.h>
// Pins
#define TRIGGER_PIN 9
#define ECHO_PIN 8
#define BUZZER_PIN 11
// Create the backup sensor
#define BUZZER_ON_DURATION 200
#define DEFAULT_BUZZER_OFF_DURATION 1000
#define BUZZER_FREQUENCY 640
#define MIN_BEEP_DISTANCE 8
#define MAX_BEEP_DI... | 20.103896 | 105 | 0.681525 | true | 403 |
2865d97bc895aed22f6df38781767e7c3d6380b1 | 4,904 | ino | Arduino | src/libraries/Mozzi-master/examples/02.Control/Line_Gliss_Double_32k_HIFI/Line_Gliss_Double_32k_HIFI.ino | natehouk/VCO-0 | b6aa2e988e9137efa5aab669cf6e3eab679a6cbb | [
"MIT"
] | 56 | 2019-09-10T19:52:11.000Z | 2022-03-31T06:28:24.000Z | arduino/1.2/drumkid/src/MozziDK/src/examples/02.Control/Line_Gliss_Double_32k_HIFI/Line_Gliss_Double_32k_HIFI.ino | mattybrad/drumkidmozzi | 3e164223c49dfb34f62391396056348b42a158c0 | [
"MIT"
] | 4 | 2020-04-19T13:05:45.000Z | 2022-03-09T04:47:02.000Z | arduino/1.2/drumkid/src/MozziDK/src/examples/02.Control/Line_Gliss_Double_32k_HIFI/Line_Gliss_Double_32k_HIFI.ino | mattybrad/drumkidmozzi | 3e164223c49dfb34f62391396056348b42a158c0 | [
"MIT"
] | 14 | 2019-08-23T07:24:39.000Z | 2022-03-21T17:34:00.000Z | /* Example of a pair of detuned oscillators
sliding smoothly between frequencies,
using Mozzi sonification library.
Demonstrates using Lines to efficiently change the
frequency of each oscillator at audio rate. Calculating
a new frequency for every step of a slide is a lot to
do for every si... | 32.693333 | 125 | 0.688418 | true | 1,280 |
68ca9c8bde26892648b3413651951cf73918379a | 1,675 | ino | Arduino | examples/Example1_Get_ID/Example1_Get_ID.ino | pomplesiegel/SparkFun_MLX90614_Arduino_Library | 8e2a3360e52ff1e435abd29dbb59ddafbad8a837 | [
"MIT"
] | 34 | 2015-10-30T08:54:29.000Z | 2022-03-22T17:34:04.000Z | examples/Example1_Get_ID/Example1_Get_ID.ino | pomplesiegel/SparkFun_MLX90614_Arduino_Library | 8e2a3360e52ff1e435abd29dbb59ddafbad8a837 | [
"MIT"
] | 15 | 2016-02-26T13:55:33.000Z | 2021-08-06T20:58:27.000Z | examples/Example1_Get_ID/Example1_Get_ID.ino | pomplesiegel/SparkFun_MLX90614_Arduino_Library | 8e2a3360e52ff1e435abd29dbb59ddafbad8a837 | [
"MIT"
] | 37 | 2016-02-03T09:54:13.000Z | 2022-03-16T19:22:53.000Z | /******************************************************************************
MLX90614_Get_ID.ino
Print ID register values stored in the MLX90614
This example reads from the MLX90614's ID registers, and
prints out the 64-byte value to the serial monitor.
Hardware Hookup (if you're not using the eval board):
MLX90... | 31.603774 | 120 | 0.606567 | true | 420 |
1e7a8900f237d465b7a7fcf7d84d5dfe73cc6074 | 22,440 | ino | Arduino | xbee_arduino/XBee_Coord/examples/sample11_lcd/sample11_lcd.ino | bokunimowakaru/xbeeCoord | cddc407e39c0c1e65a08106d01834919917b7670 | [
"MIT"
] | 4 | 2016-08-19T10:36:03.000Z | 2021-11-18T13:25:16.000Z | xbee_arduino/XBee_Coord/examples/sample11_lcd/sample11_lcd.ino | bokunimowakaru/xbeeCoord | cddc407e39c0c1e65a08106d01834919917b7670 | [
"MIT"
] | 1 | 2016-08-04T12:25:35.000Z | 2016-08-04T12:25:35.000Z | xbee_arduino/XBee_Coord/examples/sample11_lcd/sample11_lcd.ino | bokunimowakaru/xbeeCoord | cddc407e39c0c1e65a08106d01834919917b7670 | [
"MIT"
] | 0 | null | null | /*********************************************************************
他のXBeeから送られてきたテキストデータをキャラクタLCDに表示します。
このスケッチは子機用(M2M子機)です。センサーは、孫機となります。
親機用としても使えます。
本Arduino機に接続するXBeeモジュールは「ROUTER API」のファームウェアを
書き込んでください。
もちろん、「COORDINATOR API」を書き込むことで親機としても動作します。
本ソースリストおよびソフトウェアは、ライセンスフリーです。
利用、編集、再配布等が自由に行えます... | 28.622449 | 124 | 0.52139 | true | 9,044 |
56ca6a620c9015ecf5dcfe3a0222f0ced92eb9ed | 1,300 | ino | Arduino | sun2usb.ino | jarek319/sun2usb | 8445635865f951d85a5e555399a2e627cded097e | [
"Unlicense"
] | null | null | null | sun2usb.ino | jarek319/sun2usb | 8445635865f951d85a5e555399a2e627cded097e | [
"Unlicense"
] | null | null | null | sun2usb.ino | jarek319/sun2usb | 8445635865f951d85a5e555399a2e627cded097e | [
"Unlicense"
] | 0 | null | null | static byte keyStack[6];
//TODO handle stack overflow
byte addToKeyStack( char key ){
for( int i = 0; i < 6; i++ ){
if( keyStack[i] == 0 ){
keyStack[i] = key;
return 1;
}
}
return 0;
}
//TODO handle mismatched character
byte dropFromKeyStack( char key ){
for( int i = 0; i < 6; i++ ){
if(... | 22.033898 | 56 | 0.578462 | true | 387 |
d5cf16bb90c9cba58883349217c8a22c3dd56f6c | 1,488 | ino | Arduino | examples/HID/Mouse_Basic/Mouse_Basic.ino | storagebot/HID | fea441c7b3dcf3b6c4d959bf144a66580d380cb5 | [
"Unlicense"
] | null | null | null | examples/HID/Mouse_Basic/Mouse_Basic.ino | storagebot/HID | fea441c7b3dcf3b6c4d959bf144a66580d380cb5 | [
"Unlicense"
] | null | null | null | examples/HID/Mouse_Basic/Mouse_Basic.ino | storagebot/HID | fea441c7b3dcf3b6c4d959bf144a66580d380cb5 | [
"Unlicense"
] | 0 | null | null | /*
Copyright (c) 2014 NicoHood
See the readme for credit to other people.
Mouse example
Press a button to click, move, moveTo the mouse.
See official documentation for more infos
Mouse Key definitions:
MOUSE_LEFT
MOUSE_RIGHT
MOUSE_MIDDLE
MOUSE_PREV
MOUSE_NEXT
*/
const int pinLed = LED_BUILTIN;
const in... | 21.257143 | 77 | 0.686828 | true | 378 |
9eb09097e88d12dc8f181e6c1206e187c652ea98 | 2,557 | ino | Arduino | examples/SW4B_Ard_UART_LoopbackTest/SW4B_Ard_UART_LoopbackTest.ino | BroadwellConsultingInc/SerialWombatArdLib | 856fdb89074892caf94f939cff4c4eb5ece2d7c3 | [
"MIT"
] | null | null | null | examples/SW4B_Ard_UART_LoopbackTest/SW4B_Ard_UART_LoopbackTest.ino | BroadwellConsultingInc/SerialWombatArdLib | 856fdb89074892caf94f939cff4c4eb5ece2d7c3 | [
"MIT"
] | 2 | 2021-08-14T01:04:06.000Z | 2022-01-30T15:04:24.000Z | examples/SW4B_Ard_UART_LoopbackTest/SW4B_Ard_UART_LoopbackTest.ino | BroadwellConsultingInc/SerialWombatArdLib | 856fdb89074892caf94f939cff4c4eb5ece2d7c3 | [
"MIT"
] | 1 | 2022-01-30T14:46:38.000Z | 2022-01-30T14:46:38.000Z | #include <SerialWombat.h>
SerialWombat sw; //Declare a Serial Wombat
SerialWombatUART SWUart(sw); // Declare a Serial Wombat UART Only one UART can be assigned on the SerialWombat 4B. This pin mode does not work on Serial Wombat 4A.
// There is a video tutorial to go with this example at: https://youtu.be/C1Fj... | 23.675926 | 166 | 0.594838 | true | 752 |
890ce9e1daa790e5c5d555fb76b032bf0a0e3ff3 | 10,728 | ino | Arduino | source/foxer.ino | Jouzer/foxer_IoT_screen | 7686bc6fbfb77f7479a65c127ca536310569352c | [
"MIT"
] | null | null | null | source/foxer.ino | Jouzer/foxer_IoT_screen | 7686bc6fbfb77f7479a65c127ca536310569352c | [
"MIT"
] | null | null | null | source/foxer.ino | Jouzer/foxer_IoT_screen | 7686bc6fbfb77f7479a65c127ca536310569352c | [
"MIT"
] | 0 | null | null | /***************************************************
Miikka Kosonen
Get temperature from Foxer IOT API and print them on screen
www.foxeriot.com
****************************************************/
// Touch screen asiat
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#include <X... | 34.495177 | 195 | 0.610272 | true | 3,234 |
71bd408e83b3b90b67f9e163fba31603b7a56b91 | 2,046 | ino | Arduino | LSGMM/node_bezier_alg.ino | anaidan/LSGMM | 0e12a5f70c12b7de7d475e31a155ff3234a425b5 | [
"MIT"
] | null | null | null | LSGMM/node_bezier_alg.ino | anaidan/LSGMM | 0e12a5f70c12b7de7d475e31a155ff3234a425b5 | [
"MIT"
] | null | null | null | LSGMM/node_bezier_alg.ino | anaidan/LSGMM | 0e12a5f70c12b7de7d475e31a155ff3234a425b5 | [
"MIT"
] | 0 | null | null | /*
* go to next node
* draw connected neighbords
* if during any point someone presses other than in element or in bez
* go to next node
* if no one presses, slowly go over connected neighbors
*/
void bez_node() {
double xn[n_nodes];
double yn[n_nodes];
int used[n_nodes];
for (int i = 0; i <... | 24.357143 | 93 | 0.493157 | true | 726 |
7f4502b797a7b7f17226757aff645f6c5418efe0 | 253 | ino | Arduino | Device/device.ino | mikedouglasdev/mxchip-iot-devkit-audio-sentiment-thumps-up-down | e321d33ccd329a34b1050217cf71dfb21f685fa4 | [
"MIT"
] | null | null | null | Device/device.ino | mikedouglasdev/mxchip-iot-devkit-audio-sentiment-thumps-up-down | e321d33ccd329a34b1050217cf71dfb21f685fa4 | [
"MIT"
] | null | null | null | Device/device.ino | mikedouglasdev/mxchip-iot-devkit-audio-sentiment-thumps-up-down | e321d33ccd329a34b1050217cf71dfb21f685fa4 | [
"MIT"
] | 0 | null | null | #include "Arduino.h"
#include "OledDisplay.h"
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
Screen.clean();
Screen.print(0, "test");
}
void loop() {
// put your main code here, to run repeatedly:
}
| 15.8125 | 48 | 0.652174 | true | 68 |
9103ddae84623334a9eda2c4d31d27143fb1f5be | 4,909 | ino | Arduino | calibration/InfraSensorCalibrate/InfraSensorCalibrate.ino | svmotha/dagu-mini-warehouse-robot | 18369f52a11ff0fb4e31eb995736221ac8a93e12 | [
"MIT"
] | null | null | null | calibration/InfraSensorCalibrate/InfraSensorCalibrate.ino | svmotha/dagu-mini-warehouse-robot | 18369f52a11ff0fb4e31eb995736221ac8a93e12 | [
"MIT"
] | null | null | null | calibration/InfraSensorCalibrate/InfraSensorCalibrate.ino | svmotha/dagu-mini-warehouse-robot | 18369f52a11ff0fb4e31eb995736221ac8a93e12 | [
"MIT"
] | 0 | null | null | /*
|--------------------------------------------------------------------------
|
| Mini Warehouse Robot: Infrared Distance Sensor Calibration
| Author: Victor Motha as part of MECN3012 Group A2 (2017)
| University of the Witwatersrand - Copyright 2017
| Objective: Gather mean, minimum, and maximun voltage readings for ... | 29.932927 | 81 | 0.438786 | true | 842 |
acb540c1e3918dd13b5a98106e853f63c22f0755 | 7,482 | ino | Arduino | GameController/4Button2AxisJoystick/4Button2AxisJoystick.ino | matthewfcarlson/arduino | ea8aa7605022726952c400cc26ab290797e16433 | [
"MIT"
] | 21 | 2020-05-14T03:40:07.000Z | 2022-03-10T19:58:56.000Z | GameController/4Button2AxisJoystick/4Button2AxisJoystick.ino | bummer2000/arduino | f50d4097c97390a6c7c67eb2a57c68f34f58b06a | [
"MIT"
] | 3 | 2020-05-16T19:58:16.000Z | 2021-05-12T00:00:11.000Z | GameController/4Button2AxisJoystick/4Button2AxisJoystick.ino | bummer2000/arduino | f50d4097c97390a6c7c67eb2a57c68f34f58b06a | [
"MIT"
] | 11 | 2020-05-14T03:49:57.000Z | 2022-02-28T21:15:07.000Z |
/* Converts analog input on A0 and A1 to control the x and y movements of the mouse
* Uses digital input on pins 2, 3, 4, 5, 6 for UP_ARROW, RIGHT_ARROW, DOWN_ARROW,
* LEFT_ARROW, and SPACE BAR respectively on the keyboard.
*
* Digital input on pin 7 toggles the joystick on and off.
*
* All digital in... | 33.401786 | 100 | 0.708367 | true | 1,840 |
6ed14d291d440b35a6d1df454d5550bf97dfbc74 | 1,746 | ino | Arduino | examples/RoxNonLatchingRelay/RoxNonLatchingRelay.ino | neroroxxx/RoxMux | 4394b0f7a5bf2b3afd9b42282ea7692e6f4ba2a6 | [
"MIT"
] | 3 | 2020-08-31T14:19:56.000Z | 2021-04-24T22:38:37.000Z | examples/RoxNonLatchingRelay/RoxNonLatchingRelay.ino | neroroxxx/RoxMux | 4394b0f7a5bf2b3afd9b42282ea7692e6f4ba2a6 | [
"MIT"
] | 2 | 2020-11-13T12:40:43.000Z | 2021-03-20T16:49:03.000Z | examples/RoxNonLatchingRelay/RoxNonLatchingRelay.ino | neroroxxx/RoxMux | 4394b0f7a5bf2b3afd9b42282ea7692e6f4ba2a6 | [
"MIT"
] | 3 | 2020-12-22T11:54:38.000Z | 2021-07-16T22:59:12.000Z | /*
RoxLatchingRelay lets you easily control a latching relay.
You will still need to have the circuitry to set and reset the relay.
UNLIKE THE OTHER ROX UTILITY CLASSES,
THIS CLASS CURRENTLY DOES NOT SUPPORT MUX CONTROL
*/
#include <RoxMux.h>
// specify the time the coil needs to be energize
// refer to your ... | 34.235294 | 83 | 0.724513 | true | 452 |
ce687555946477d33e9ac24031ea6f406e271317 | 8,687 | ino | Arduino | lib/esp8266/examples/TestEspApi/TestEspApi.ino | tbuz/ArduinoSensorKit | e088fb1a8bd6316664b9fe5354ebc0e2d158b3d0 | [
"MIT"
] | 34 | 2016-10-29T19:50:34.000Z | 2022-02-12T21:27:43.000Z | lib/esp8266/examples/TestEspApi/TestEspApi.ino | tbuz/ArduinoSensorKit | e088fb1a8bd6316664b9fe5354ebc0e2d158b3d0 | [
"MIT"
] | null | null | null | lib/esp8266/examples/TestEspApi/TestEspApi.ino | tbuz/ArduinoSensorKit | e088fb1a8bd6316664b9fe5354ebc0e2d158b3d0 | [
"MIT"
] | 19 | 2017-06-19T23:04:00.000Z | 2021-11-13T15:00:41.000Z | /**
* TestEspApi by Max Vilimpoc
* This code is released to the public domain.
*
* Test out the Expressif ESP8266 Non-OS API, exhaustively trying out
* as many of the built-in functions as possible.
*
* Some of the code is based on examples in:
* "20A-ESP8266__RTOS_SDK__Programming Guide__EN_v1.3.0.pdf"
*/
... | 27.665605 | 138 | 0.681478 | true | 2,195 |
57a65a317dcf358810610390c9e248472e5d96b8 | 1,535 | ino | Arduino | particle/buildlight.ino | mikiec84/buildlight | ad9ebe7c3851ee4b201a136a0443dc968ccde054 | [
"MIT"
] | 8 | 2015-01-21T18:59:54.000Z | 2021-09-27T20:43:53.000Z | particle/buildlight.ino | mikiec84/buildlight | ad9ebe7c3851ee4b201a136a0443dc968ccde054 | [
"MIT"
] | 30 | 2015-01-21T19:01:21.000Z | 2022-03-28T19:10:03.000Z | particle/buildlight.ino | mikiec84/buildlight | ad9ebe7c3851ee4b201a136a0443dc968ccde054 | [
"MIT"
] | 4 | 2016-09-26T12:15:29.000Z | 2020-11-13T11:09:37.000Z | int greenLED = D6;
int yellowLED = D3;
int redLED = D0;
boolean green_active = true;
boolean yellow_active = true;
boolean red_active = true;
// We start with the setup function.
void setup() {
// Setup pins
pinMode(greenLED, OUTPUT);
pinMode(yellowLED, OUTPUT);
pinMode(redLED, OUTPUT);
// Subscribe to ev... | 21.928571 | 54 | 0.637134 | true | 419 |
b909ba6597ec847376ebe3048b292bd07c488041 | 2,230 | ino | Arduino | ext-res/msg100_sketch/msg100_sketch.ino | dhocker/MerossIot | d4b7412602070a74429db2a563fdf325f666aa14 | [
"MIT"
] | 375 | 2018-08-30T06:16:58.000Z | 2022-03-22T20:10:48.000Z | ext-res/msg100_sketch/msg100_sketch.ino | dhocker/MerossIot | d4b7412602070a74429db2a563fdf325f666aa14 | [
"MIT"
] | 207 | 2018-09-07T10:57:38.000Z | 2022-03-31T11:00:38.000Z | ext-res/msg100_sketch/msg100_sketch.ino | dhocker/MerossIot | d4b7412602070a74429db2a563fdf325f666aa14 | [
"MIT"
] | 85 | 2018-10-13T19:14:43.000Z | 2022-02-27T15:46:25.000Z | #include "ESP8266WiFi.h"
#include "WiFiClient.h"
#include <Servo.h>
#define SERVO_OPEN 180
#define SERVO_CLOSED 90
#define INPUT_PULSE_PIN 4
#define SERVO_PIN 5
#define MOVE_TIME 15000 // 15 seconds opening time
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most bo... | 23.723404 | 110 | 0.692377 | true | 620 |
afae4186edb366abbb70ad5c631f85068d562fb9 | 1,106 | ino | Arduino | firmware/tests/send_data/send_data.ino | rodriguesfas/ipm | 596382123c3d45bde6410672692d1f59ec2d734a | [
"MIT"
] | null | null | null | firmware/tests/send_data/send_data.ino | rodriguesfas/ipm | 596382123c3d45bde6410672692d1f59ec2d734a | [
"MIT"
] | null | null | null | firmware/tests/send_data/send_data.ino | rodriguesfas/ipm | 596382123c3d45bde6410672692d1f59ec2d734a | [
"MIT"
] | 0 | null | null | /**
Descrição: Esse código, envia dados aleatórios para o
DashBoard, para testar o painel de vizualização.
A ideia principal é simular os valores lidos pelo
sensor de carga e exibir os resutados em um gráfico
e na imagem do corpo humano, simulando uma po... | 24.043478 | 96 | 0.577758 | true | 310 |
e8f9342fa8d4f252a1d54eb697e55f6baa351887 | 5,307 | ino | Arduino | src/miniwatch/miniwatch.ino | takjn/miniwatch | 2a47761ffa3a645c02f3164308a0479a2a4dfa29 | [
"MIT"
] | null | null | null | src/miniwatch/miniwatch.ino | takjn/miniwatch | 2a47761ffa3a645c02f3164308a0479a2a4dfa29 | [
"MIT"
] | null | null | null | src/miniwatch/miniwatch.ino | takjn/miniwatch | 2a47761ffa3a645c02f3164308a0479a2a4dfa29 | [
"MIT"
] | 0 | null | null | #include <avr/sleep.h>
#include <avr/power.h>
#include <Time.h>
#include "U8glib.h"
// U8GLIB constructor
// devices with all constructor calls is here: http://code.google.com/p/u8glib/wiki/device
//U8GLIB_MINI12864 u8g(10, 14 ,12);
//U8GLIB_NHD_C12864 u8g(13, 11, 10, 14, 12); // SPI Com: SCK = 13, MOSI = 11, CS = 10... | 28.379679 | 116 | 0.640286 | true | 1,512 |
4acb1d7a445b257ffc511225ca97eadfe95faac7 | 1,245 | ino | Arduino | code/modules/cells/adc/adc_test_pot/adc_test_pot.ino | joaom98/telemetria-barco | da37d741e9dded2f006a3059e336f077fc9ea500 | [
"Unlicense"
] | 5 | 2019-09-27T22:48:16.000Z | 2020-07-02T19:53:45.000Z | code/modules/cells/adc/adc_test_pot/adc_test_pot.ino | Collab-Barco-Solar/telemetria-DSB-2020 | da37d741e9dded2f006a3059e336f077fc9ea500 | [
"Unlicense"
] | 2 | 2021-05-16T15:58:45.000Z | 2021-06-17T20:51:38.000Z | code/modules/cells/adc/adc_test_pot/adc_test_pot.ino | Collab-Barco-Solar/telemetria-DSB-2020 | da37d741e9dded2f006a3059e336f077fc9ea500 | [
"Unlicense"
] | 1 | 2019-09-28T19:47:58.000Z | 2019-09-28T19:47:58.000Z | #include <Wire.h>
#define ADC_12BIT_MAX 4096
#define BAUD 2000000
#define pin 4
#define p5 17.5938359490609
#define p4 1.21697808640912
#define p3 -0.000168313273959029
#define p2 7.69758075646963e-08
#define p1 -1.21956845031952e-11
double valuefitted;
double potvoltage;
double stoptime;
doub... | 24.9 | 103 | 0.662651 | true | 412 |
3f847f174c5689edd72d280477b220d20f6b6c4f | 5,701 | ino | Arduino | esp32-badge-basic/esp32-badge-basic.ino | Korn1699/ESP32Badge | 3050b9aab2cb26bfcf79515a46faaac2001e8394 | [
"MIT"
] | 3 | 2020-01-12T16:22:37.000Z | 2021-01-13T15:05:15.000Z | esp32-badge-basic/esp32-badge-basic.ino | Korn1699/ESP32Badge | 3050b9aab2cb26bfcf79515a46faaac2001e8394 | [
"MIT"
] | null | null | null | esp32-badge-basic/esp32-badge-basic.ino | Korn1699/ESP32Badge | 3050b9aab2cb26bfcf79515a46faaac2001e8394 | [
"MIT"
] | 9 | 2020-01-06T00:01:13.000Z | 2021-12-31T16:05:20.000Z | /***************************************************
* ESP32 Basic Bro Badge
* - Displays several different basic badges
* 1. Marquee
* 2. Hello, My Name Is....
* 3. Hello, I'm... with periodically rotating messages
* 4. Gangster (or whatever static picture you choose)
*
* Requires:
* - ESP32 Conference Bad... | 21.193309 | 152 | 0.644273 | true | 1,633 |
8f7555fddf8abcf68ac46cfe951975980a89b244 | 2,138 | ino | Arduino | servo1/servo1.ino | bydzen/aio-arduino | cfdf6f9bbeb29866211244646dacd1f67e5ad5e6 | [
"MIT"
] | 1 | 2021-12-11T01:03:56.000Z | 2021-12-11T01:03:56.000Z | servo1/servo1.ino | bydzen/aio-arduino | cfdf6f9bbeb29866211244646dacd1f67e5ad5e6 | [
"MIT"
] | null | null | null | servo1/servo1.ino | bydzen/aio-arduino | cfdf6f9bbeb29866211244646dacd1f67e5ad5e6 | [
"MIT"
] | 0 | null | null | #include <Servo.h>
Servo servo;
int theLED1 = 2;
int theLED2 = 3;
int theLED3 = 4;
int leftRightPotentiometer;
void setup()
{
pinMode(theLED1, OUTPUT);
pinMode(theLED2, OUTPUT);
pinMode(theLED3, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(theLED1, LOW);
digitalWr... | 24.574713 | 68 | 0.544902 | true | 499 |
8a6557b8708f5bba9c378b80fb74eaa4bd8fb9da | 480 | ino | Arduino | src/example/serialTest/serialTest.ino | dreamshader/serialConnection | 6760c2ef375c0ef95fb912e7756b3074e0c1dc08 | [
"Apache-2.0"
] | null | null | null | src/example/serialTest/serialTest.ino | dreamshader/serialConnection | 6760c2ef375c0ef95fb912e7756b3074e0c1dc08 | [
"Apache-2.0"
] | null | null | null | src/example/serialTest/serialTest.ino | dreamshader/serialConnection | 6760c2ef375c0ef95fb912e7756b3074e0c1dc08 | [
"Apache-2.0"
] | 0 | null | null | #include "serialConnection.h"
serialConnection *pXConnection;
char dataBuffer[20];
void setup() {
// put your setup code here, to run once:
if( (pXConnection = new serialConnection( &Serial, 57600 )) != NULL )
{
pXConnection->ser_open();
}
sprintf(dataBuffer, "Hello World!\n");
}
void loop() {
// ... | 18.461538 | 71 | 0.6625 | true | 133 |
e0a7bb4a6da5fa8e63667a2f9e14b7a6afca3825 | 2,062 | ino | Arduino | MPPT_contro_pid.ino | papyreparetout/Simulateur-panneau-PV | 182b5407d2385386b40d7c609fc548a9a1a1411e | [
"MIT"
] | null | null | null | MPPT_contro_pid.ino | papyreparetout/Simulateur-panneau-PV | 182b5407d2385386b40d7c609fc548a9a1a1411e | [
"MIT"
] | null | null | null | MPPT_contro_pid.ino | papyreparetout/Simulateur-panneau-PV | 182b5407d2385386b40d7c609fc548a9a1a1411e | [
"MIT"
] | 0 | null | null | /*
*********************************************************
Sample sketch for control of a power supply with PWM
use to simulate a PV panel in order to test MPPT modules
USE WITH ARDUINO LEONARDO AND MICRO ONLY!!!
****************************************************
*/
#include "PWM_32U4.h" // library fo... | 28.638889 | 123 | 0.64064 | true | 573 |
b93421cf8545e1163eb4c06a347fc78157892ed4 | 6,326 | ino | Arduino | Adafruit_SSD1306_Test/Adafruit_SSD1306_Test.ino | shmebluk/ArduinoProject | 3d7db0b7e64fe9b21943bdc4abb1fa7dce109e7f | [
"Apache-2.0"
] | null | null | null | Adafruit_SSD1306_Test/Adafruit_SSD1306_Test.ino | shmebluk/ArduinoProject | 3d7db0b7e64fe9b21943bdc4abb1fa7dce109e7f | [
"Apache-2.0"
] | null | null | null | Adafruit_SSD1306_Test/Adafruit_SSD1306_Test.ino | shmebluk/ArduinoProject | 3d7db0b7e64fe9b21943bdc4abb1fa7dce109e7f | [
"Apache-2.0"
] | 0 | null | null | /**
* 日期:2017/09/24
* 功能:OLED12864 SSD1306测试
* 作者:单片机菜鸟
* 16X16点阵显示 取模方式 阴码+逐行式+顺向
**/
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// 这里的屏幕是128X64 SSD1306
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
// Declaration... | 34.758242 | 100 | 0.727474 | true | 3,243 |
8adf1db82ea2efffaa528be9d518bd67e1ddf506 | 3,536 | ino | Arduino | arduino/libraries/AutoAnalogAudio/examples/SDAudio/SdAudioRecording/SdAudioRecording.ino | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | null | null | null | arduino/libraries/AutoAnalogAudio/examples/SDAudio/SdAudioRecording/SdAudioRecording.ino | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | null | null | null | arduino/libraries/AutoAnalogAudio/examples/SDAudio/SdAudioRecording/SdAudioRecording.ino | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | 0 | null | null | /*
AutoAnalogAudio streaming via DAC & ADC by TMRh20
Copyright (C) 2016 TMRh20 - tmrh20@gmail.com, github.com/TMRh20
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either versio... | 34.330097 | 116 | 0.600396 | true | 888 |
0197e542bcc3ea7b116454b4369a687ed7fd6b7f | 609 | ino | Arduino | examples/standard arduino/to_string/to_string.ino | maerduq/senml-c-library | 9f11c9fa75ed94527b6599dc922ebaa3676a414d | [
"MIT"
] | 10 | 2018-07-02T06:53:07.000Z | 2022-03-10T14:53:54.000Z | examples/standard arduino/to_string/to_string.ino | maerduq/senml-c-library | 9f11c9fa75ed94527b6599dc922ebaa3676a414d | [
"MIT"
] | 2 | 2019-01-20T16:52:11.000Z | 2020-07-27T09:01:30.000Z | examples/standard arduino/to_string/to_string.ino | maerduq/senml-c-library | 9f11c9fa75ed94527b6599dc922ebaa3676a414d | [
"MIT"
] | 8 | 2019-01-15T21:46:06.000Z | 2020-08-11T13:46:17.000Z | #include <kpn_senml.h>
SenMLPack doc("device_name");
void setup(){
Serial.begin(57600);
senMLSetLogger(&Serial);
delay(1000);
Serial.println("start");
}
void loop(){
int val = digitalRead(1);
SenMLBoolRecord rec(KPN_SENML_TEMPERATURE);
rec.set(val > 0);
doc.add(&rec); ... | 22.555556 | 50 | 0.605911 | true | 155 |
36a8a6489facdb4968b79d1c058c5c445afc88e1 | 1,873 | ino | Arduino | project_RiDa_test_COde.ino | ashraf-minhaj/project-riDa | 87c18dcf08c9360da17ad25d2b2d270cd954407b | [
"MIT"
] | null | null | null | project_RiDa_test_COde.ino | ashraf-minhaj/project-riDa | 87c18dcf08c9360da17ad25d2b2d270cd954407b | [
"MIT"
] | null | null | null | project_RiDa_test_COde.ino | ashraf-minhaj/project-riDa | 87c18dcf08c9360da17ad25d2b2d270cd954407b | [
"MIT"
] | 0 | null | null | /*
* Project rida (river data)
* by Ashraf Minhaj 2018
* ashraf_minhaj@yahoo.com
*/
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
//define the parameters for the IFTTT
#define HOST "maker.ifttt.com"
//float temp;
const char* ssid = "SS-ID";
const char* password = "PASSWORD";
//int led = ... | 19.510417 | 65 | 0.541377 | true | 535 |
b69cbae1f247a3a956ceed695ac4402d2b3d2c78 | 3,841 | ino | Arduino | jenkins/jenkins.ino | Muunsyr/politely-interrupting | d8bd2d1d8efaf6e449a64db123171ee6eb65c641 | [
"MIT"
] | null | null | null | jenkins/jenkins.ino | Muunsyr/politely-interrupting | d8bd2d1d8efaf6e449a64db123171ee6eb65c641 | [
"MIT"
] | null | null | null | jenkins/jenkins.ino | Muunsyr/politely-interrupting | d8bd2d1d8efaf6e449a64db123171ee6eb65c641 | [
"MIT"
] | 0 | null | null | #include <Adafruit_NeoPixel.h>
/* A notification light with a set number of colours and different modes.
Controlled by serial.
*/
/* Globals - improve */
unsigned long blinkTimer;
unsigned long keepAliveTimer;
int led_state;
int command_mode = 1;
int red = 0;
int green = 0;
int blue = 0;
boolean on = true;
boolean... | 23.709877 | 90 | 0.570945 | true | 1,022 |
8019fd1e40aa1fa3ee5cf9f1660e4550519f300d | 371 | ino | Arduino | DisplayTest/DisplayTest.ino | Brunnhaus/MeasuringDisplay | 3b0bef961757a237c045e62d1ef83d9c11ebfee2 | [
"MIT"
] | 1 | 2021-01-19T17:21:35.000Z | 2021-01-19T17:21:35.000Z | DisplayTest/DisplayTest.ino | Brunnhaus/MeasuringDisplay | 3b0bef961757a237c045e62d1ef83d9c11ebfee2 | [
"MIT"
] | null | null | null | DisplayTest/DisplayTest.ino | Brunnhaus/MeasuringDisplay | 3b0bef961757a237c045e62d1ef83d9c11ebfee2 | [
"MIT"
] | 0 | null | null | #include <TM1638.h>
TM1638 x(8, 7, 6);
TM1638 y(8, 7, 5);
TM1638 z(8, 7, 4);
unsigned long a = 12345;
//byte values[] = { 1, 2, 4, 8, 16, 32, 64, 128 };
byte values[] = { 118, 0, 0, 0, 0, 0, 0, 0};
void setup() {
x.setDisplayToString("FIRST ");
y.setDisplayToString("SECOND ");
z.setDisplayToString("THIR... | 14.84 | 50 | 0.555256 | true | 165 |
794f6c7ebe66266a230640a9f9cefb303cb24bbb | 3,981 | ino | Arduino | arduino-demos/arduino_4/arduino_4.ino | gnstic/asm-planB_arduino | 95856c8430b801939be185d88f85f4cac1959ff8 | [
"MIT"
] | null | null | null | arduino-demos/arduino_4/arduino_4.ino | gnstic/asm-planB_arduino | 95856c8430b801939be185d88f85f4cac1959ff8 | [
"MIT"
] | null | null | null | arduino-demos/arduino_4/arduino_4.ino | gnstic/asm-planB_arduino | 95856c8430b801939be185d88f85f4cac1959ff8 | [
"MIT"
] | 0 | null | null | /****************************************************************
* Author Name: Far Zainal
* Date: 10/7/2018
* Sketch Name: RASM_arduino wrist
* Sketch Description:
*
*****************************************************************/
/****************************
** #defin... | 25.037736 | 80 | 0.518965 | true | 1,044 |
1fba28b79b88627584b91877fb9fcaaef6a7cebe | 3,651 | ino | Arduino | examples/ACE128pintest/ACE128pintest.ino | arielnh56/ACE128 | e4f9e4d978b21cffad650fee49135b76eee54b03 | [
"MIT"
] | 36 | 2017-01-17T06:11:19.000Z | 2022-03-08T06:22:29.000Z | examples/ACE128pintest/ACE128pintest.ino | arielnh56/ACE128 | e4f9e4d978b21cffad650fee49135b76eee54b03 | [
"MIT"
] | 5 | 2017-02-13T19:44:29.000Z | 2021-02-19T22:32:54.000Z | examples/ACE128pintest/ACE128pintest.ino | arielnh56/ACE128 | e4f9e4d978b21cffad650fee49135b76eee54b03 | [
"MIT"
] | 9 | 2017-03-11T21:01:20.000Z | 2020-09-24T08:05:11.000Z | /* ACE PIN Serial Tester
IMPORTANT: for this to work you must uncomment "#define ACE128_ARDUINO_PINS" in ACE128.h
this displays the current position in all five forms on the serial monitor
pin = the raw gray-code from the pins. As you rotate this will rise and fall in steps
of 1,2,4,8,16,32,64 or ... | 39.684783 | 113 | 0.634621 | true | 994 |
9109ef3a4ca9ec806901eae582ae26a8d8d56d35 | 1,438 | ino | Arduino | program_sucla_auto/program_sucla_auto.ino | Sojjocola/RobotSulac | 65602938b301dea3990818158a514d40e178ce51 | [
"MIT"
] | null | null | null | program_sucla_auto/program_sucla_auto.ino | Sojjocola/RobotSulac | 65602938b301dea3990818158a514d40e178ce51 | [
"MIT"
] | null | null | null | program_sucla_auto/program_sucla_auto.ino | Sojjocola/RobotSulac | 65602938b301dea3990818158a514d40e178ce51 | [
"MIT"
] | 0 | null | null | #include <Servo.h>
#include <UltraSoundSensor.h>
#include <HeadUltraSoundSensor.h>
#include <MotorRobot.h>
#include <DualMotorRobot.h>
DualMotorRobot dualMotor;
HeadUltraSoundSensor sensor;
void setup() {
dualMotor.attachMotors(200);
sensor.attach(5,6,7);
}
void loop() {
if(sensor.path_is_clear()... | 22.123077 | 68 | 0.50904 | true | 308 |
4157478471b150e35f4a643d148dc66b3431a157 | 1,981 | ino | Arduino | BlinkWithoutDelay.ino | avtran2/BlinkWithoutDelay | f733aca4b52ed38c2abfaaa162477045fda0e60c | [
"MIT"
] | null | null | null | BlinkWithoutDelay.ino | avtran2/BlinkWithoutDelay | f733aca4b52ed38c2abfaaa162477045fda0e60c | [
"MIT"
] | null | null | null | BlinkWithoutDelay.ino | avtran2/BlinkWithoutDelay | f733aca4b52ed38c2abfaaa162477045fda0e60c | [
"MIT"
] | 0 | null | null | /*
BlinkWithoutDelay
*/
// constants won't change. Used here to set a pin number:
const int Red=12;// the number of the LED pin
const int Green=33;// the number of the LED pin
const int Blue=27;// the number of the LED pin
// Variables will change:
int ledState=HIGH;// ledState used to set the LED; set on h... | 29.132353 | 122 | 0.649167 | true | 488 |
400e3824cb0014d623ecd2e915f2439b342d9d27 | 1,640 | ino | Arduino | cake-bomb/src/main.ino | funkfinger/spy-birthday-projects | 89faff6baa3b3f8cda48b0cc969be202a7791c4e | [
"Unlicense"
] | null | null | null | cake-bomb/src/main.ino | funkfinger/spy-birthday-projects | 89faff6baa3b3f8cda48b0cc969be202a7791c4e | [
"Unlicense"
] | null | null | null | cake-bomb/src/main.ino | funkfinger/spy-birthday-projects | 89faff6baa3b3f8cda48b0cc969be202a7791c4e | [
"Unlicense"
] | 0 | null | null | // see comments below for source...
/*
** Example Arduino sketch for SainSmart I2C LCD Screen 16x2
** based on https://bitbucket.org/celem/sainsmart-i2c-lcd/src/3adf8e0d2443/sainlcdtest.ino
** by
** Edward Comer
** LICENSE: GNU General Public License, version 3 (GPL-3.0)
** This example uses F Malpartida's NewLiqui... | 23.098592 | 100 | 0.67561 | true | 536 |
6fee14cd3f1f6cfb7b977203200d9154e4abb77d | 4,616 | ino | Arduino | iPan/iPan.ino | herrerodani/Be-Jamie | d2c5e43698fea5a80ea8194dd28d35b4c7f043d0 | [
"MIT"
] | null | null | null | iPan/iPan.ino | herrerodani/Be-Jamie | d2c5e43698fea5a80ea8194dd28d35b4c7f043d0 | [
"MIT"
] | null | null | null | iPan/iPan.ino | herrerodani/Be-Jamie | d2c5e43698fea5a80ea8194dd28d35b4c7f043d0 | [
"MIT"
] | 0 | null | null | // This #include statement was automatically added by the Particle IDE.
#include "SparkJson/SparkJson.h"
// This #include statement was automatically added by the Particle IDE.
#include "MQTT/MQTT.h"
// This #include statement was automatically added by the Particle IDE.
#include "LiquidCrystal_I2C_Spark/LiquidCrysta... | 29.780645 | 92 | 0.675693 | true | 1,235 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.