hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | 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 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f05686f9261b5851358468b4e5d2b922a6f15a04 | 2,414 | ino | Arduino | Debug.ino | LeandroSQ/arduino-midi-drum | 727d3fbe20e2529e37fbb47956378aa311f85bd9 | [
"MIT"
] | 4 | 2022-02-22T13:12:47.000Z | 2022-03-11T01:56:43.000Z | Debug.ino | LeandroSQ/arduino-midi-drum | 727d3fbe20e2529e37fbb47956378aa311f85bd9 | [
"MIT"
] | null | null | null | Debug.ino | LeandroSQ/arduino-midi-drum | 727d3fbe20e2529e37fbb47956378aa311f85bd9 | [
"MIT"
] | null | null | null |
#ifdef DEBUG
inline void printSensorConfiguration() {
// Print the sensor configuration
Serial.println("Sensor configuration:");
for (byte i = 0; i < SENSOR_COUNT; i++) {
Sensor* sensor = &sensors[i];
Serial.print(getSensorName(sensor));
Serial.print(" ... | 30.556962 | 78 | 0.528169 |
f934e89ca4402a49e5334a02945061a44d77ffab | 2,614 | ino | Arduino | GET.ino | RubanZ/Smart_Meter | 0954961dfd05d6e23b5aef28a905759eba846a83 | [
"MIT"
] | null | null | null | GET.ino | RubanZ/Smart_Meter | 0954961dfd05d6e23b5aef28a905759eba846a83 | [
"MIT"
] | null | null | null | GET.ino | RubanZ/Smart_Meter | 0954961dfd05d6e23b5aef28a905759eba846a83 | [
"MIT"
] | null | null | null | void send_data_POST(String obj){
Serial.println(obj);
httpPOST.begin("http://94.154.14.1/api/data");
httpPOST.addHeader("Content-Type", "application/json");
int httpCodePOST = httpPOST.POST(obj);
String payloadPOST = httpPOST.getString();
Serial.print(httpCodePOST);
Serial.print(" - ");
Serial.printl... | 25.134615 | 169 | 0.540551 |
1078297ddaac11a0fc4592a96294619cabfc57b2 | 1,058 | ino | Arduino | Arduino/_nano_firmware/nanoFirmware/nanoFirmware.ino | Sensorica/Sensor-Network | 872be3aad2f31666a88d8544cabe0066cae2f9c8 | [
"CC0-1.0"
] | 4 | 2016-02-21T22:53:24.000Z | 2020-05-23T19:57:49.000Z | Arduino/_nano_firmware/nanoFirmware/nanoFirmware.ino | Sensorica/Sensor-Network | 872be3aad2f31666a88d8544cabe0066cae2f9c8 | [
"CC0-1.0"
] | 1 | 2016-06-27T17:47:47.000Z | 2016-06-27T17:47:47.000Z | Arduino/_nano_firmware/nanoFirmware/nanoFirmware.ino | Sensorica/Sensor-Network | 872be3aad2f31666a88d8544cabe0066cae2f9c8 | [
"CC0-1.0"
] | 5 | 2016-02-11T17:46:23.000Z | 2020-05-23T19:58:06.000Z | int sensorZ_pin = A0;
int sensorY_pin = A1;
int sensorX_pin = A2;
int sensorZ = 0;
int sensorY = 0;
int sensorX = 0;
int digitalSelectPin = 2;
int digitalSleepPin = 3;
int fft_window = 1000;
int fft_samples[fft_window];
int fft_output[fft_window];
String data;
void setup() {
// declare the ledPin as an OUTPUT:
... | 20.745098 | 101 | 0.699433 |
c1682f4c317020bbf142c9dd852d6d4ee29c8f5e | 9,923 | ino | Arduino | pedal.ino | r3stlslzmn/midipedal | 9bd34b5f2377b93c069c37a2b90b18a6d00637a6 | [
"MIT"
] | 1 | 2017-01-11T01:59:30.000Z | 2017-01-11T01:59:30.000Z | pedal.ino | r3stlslzmn/midipedal | 9bd34b5f2377b93c069c37a2b90b18a6d00637a6 | [
"MIT"
] | null | null | null | pedal.ino | r3stlslzmn/midipedal | 9bd34b5f2377b93c069c37a2b90b18a6d00637a6 | [
"MIT"
] | null | null | null | #include <Keypad.h>
#include <EEPROM.h>
#include <SPI.h>
#define NOTE_OFF (0)
#define NOTE_ON (1)
#define MONO (0)
#define POLY (1)
#define EE_ADDR_OCTAVE (0)
#define EE_ADDR_POLY (1)
#define EE_ADDR_CHANNEL (2)
#define VELOCITY (127)
#define HIGH_OCTAVE (9)
#define DOWN_BUTTON (0x1D)
#define CONFIG_BUTTON ... | 25.97644 | 71 | 0.553462 |
ed22265859963d1276515a8c7efb329fb43e0e46 | 408 | ino | Arduino | ex14/ex14.ino | suhasksv/arduinoid | 1b14d2818746b8da276c6d2791bdfa622cdcbd52 | [
"MIT"
] | 3 | 2019-06-05T12:42:24.000Z | 2020-07-06T09:01:53.000Z | ex14/ex14.ino | suhasksv/arduinoid | 1b14d2818746b8da276c6d2791bdfa622cdcbd52 | [
"MIT"
] | null | null | null | ex14/ex14.ino | suhasksv/arduinoid | 1b14d2818746b8da276c6d2791bdfa622cdcbd52 | [
"MIT"
] | null | null | null | const int datapin = 2;
const int clockpin = 3;
const int latchpin = 4;
void setup() {
pinMode(datapin, OUTPUT);
pinMode(clockpin, OUTPUT);
pinMode(latchpin, OUTPUT);
}
void loop() {
digitalWrite(latchpin, LOW);
shiftOut(datapin, clockpin, LSBFIRST, 255);
digitalWrite(latchpin, HIGH);
delay(1000);
shif... | 19.428571 | 45 | 0.696078 |
90a143741ae268b4870c95addf964c748620f1f7 | 550 | ino | Arduino | Exercise_2_Ans/Exercise_2_Ans.ino | GoshBird/Mei-i-t | ac2d7cee047920e3282b34e611084db6c51abc6e | [
"MIT"
] | null | null | null | Exercise_2_Ans/Exercise_2_Ans.ino | GoshBird/Mei-i-t | ac2d7cee047920e3282b34e611084db6c51abc6e | [
"MIT"
] | null | null | null | Exercise_2_Ans/Exercise_2_Ans.ino | GoshBird/Mei-i-t | ac2d7cee047920e3282b34e611084db6c51abc6e | [
"MIT"
] | null | null | null | //#define 名前 ピン番号 を事前に書くことでピン番号ではなくて名前で管理できるようになります。
#define LED 2
#define Button 8
//int 名前 で変数(整数)を定義できます。ちなみに、他にもfloatやdoubleなどがあります。それぞれ入れれる数字が異なっているので時と場合で使い分けます。
int val = LOW;
void setup() {
Serial.begin(9600);
pinMode(LED,OUTPUT);
pinMode(Button,INPUT);
}
void loop() {
//ボタンが押されたかを"val"という名前でを管理してい... | 20.37037 | 83 | 0.725455 |
020d124eb733e096345536343faa753d2ba41b03 | 815 | ino | Arduino | arduino/ArduinoPusherTest_public_room/RobotExample/RobotExample.ino | spoymenov/arisgames | aad5f5c6cdb3b1e8ade68da012c6e46ac9a6f77c | [
"MIT"
] | 1 | 2018-12-25T15:19:12.000Z | 2018-12-25T15:19:12.000Z | arduino/ArduinoPusherTest_public_room/RobotExample/RobotExample.ino | augustozuniga/arisgames | 1ccf8fcbd9083134972b80e429456dbd6e28aa3d | [
"MIT"
] | null | null | null | arduino/ArduinoPusherTest_public_room/RobotExample/RobotExample.ino | augustozuniga/arisgames | 1ccf8fcbd9083134972b80e429456dbd6e28aa3d | [
"MIT"
] | null | null | null | #include <SPI.h>
#include <Ethernet.h>
#include <PusherClient.h>
byte mac[] = { 0xAB, 0xCD, 0xE2, 0xFF, 0xFE, 0xED };
PusherClient client;
void setup() {
Serial.begin(9600);
Serial.println("Setup...");
if (Ethernet.begin(mac) == 0) {
Serial.println("Init Ethernet failed");
while(1);
}
else
Seria... | 19.878049 | 52 | 0.640491 |
253223b1a13160801d885d19a6062eb8ee61dabf | 1,020 | ino | Arduino | examples/Lab.02.Sensors/BasicDataProcessing/BasicDataProcessing.ino | erikmwerner/slas2022 | c8f6cedb0b1ef85c35f012638b41847bf771453b | [
"MIT"
] | null | null | null | examples/Lab.02.Sensors/BasicDataProcessing/BasicDataProcessing.ino | erikmwerner/slas2022 | c8f6cedb0b1ef85c35f012638b41847bf771453b | [
"MIT"
] | null | null | null | examples/Lab.02.Sensors/BasicDataProcessing/BasicDataProcessing.ino | erikmwerner/slas2022 | c8f6cedb0b1ef85c35f012638b41847bf771453b | [
"MIT"
] | null | null | null | /*
Basic Data Processing
Reads an analog input on pin 0, prints the result to the Serial Monitor.
Graphical representation is available using Serial Plotter (Tools > Serial Plotter menu).
Attach the center node of a voltage divider circuit to pin A0, and the outside nodes to +3.3V and ground.
This exampl... | 36.428571 | 109 | 0.731373 |
875d2a07c284c7fcf86a034e4c3515d68e8046b8 | 1,688 | ino | Arduino | microcontroller/sensors/all/publisher_sensors/publisher_sensors.ino | Jasenka11/notelab-code | 6ad6c276e0f5a0bf65f07331b73bd04f9a8f6223 | [
"MIT"
] | null | null | null | microcontroller/sensors/all/publisher_sensors/publisher_sensors.ino | Jasenka11/notelab-code | 6ad6c276e0f5a0bf65f07331b73bd04f9a8f6223 | [
"MIT"
] | null | null | null | microcontroller/sensors/all/publisher_sensors/publisher_sensors.ino | Jasenka11/notelab-code | 6ad6c276e0f5a0bf65f07331b73bd04f9a8f6223 | [
"MIT"
] | 1 | 2022-01-26T11:09:13.000Z | 2022-01-26T11:09:13.000Z | #include "MqttClient.h"
#include "WifiClient.h"
#include "HCSR04.h"
#include "PIR.h"
#include "DHT.h"
#include <ArduinoJson.h>
char *ssid_wifi = "netw0";
char *pass_wifi = "password1";
const char *mqtt_broker_ip = "192.168.1.3";
const int mqtt_broker_port = 1883;
const char* client_id = "publisher_sensors";
char... | 31.259259 | 69 | 0.738744 |
ab3ce2e63d9116f7e58707f2a9826f2360821032 | 1,011 | ino | Arduino | examples/6_Make_your_own_runable_classes/5_Blinker_using_fullMachineGen/5_Blinker_using_fullMachineGen.ino | bricoleau/easyRun | 5866985d4c9b6045833d7ad162e074ffa4e2d93b | [
"MIT"
] | 1 | 2022-01-16T14:07:14.000Z | 2022-01-16T14:07:14.000Z | examples/6_Make_your_own_runable_classes/5_Blinker_using_fullMachineGen/5_Blinker_using_fullMachineGen.ino | AR17HY/easyRun | 5866985d4c9b6045833d7ad162e074ffa4e2d93b | [
"MIT"
] | null | null | null | examples/6_Make_your_own_runable_classes/5_Blinker_using_fullMachineGen/5_Blinker_using_fullMachineGen.ino | AR17HY/easyRun | 5866985d4c9b6045833d7ad162e074ffa4e2d93b | [
"MIT"
] | 1 | 2022-01-11T13:50:53.000Z | 2022-01-11T13:50:53.000Z | #include "easyRun.h"
class blinker : public fullMachineGen
{
private :
int _pin;
unsigned long _delay_ms;
public :
blinker(int pin, long delay_ms)
{
_pin = pin;
_delay_ms = delay_ms;
}
protected :
void println(const char *msg)
{
Serial.print(milli... | 16.306452 | 51 | 0.526212 |
cedab3d136c5b519bba2f49580690f8efca43efb | 2,335 | ino | Arduino | C++ Library/ESP32 DevkitC/Controlling_DC_Motor_with_L298/Controlling_DC_Motor_with_DriverL298.ino | hammad1201/Hacktoberfest-2021 | b4b86792755c7b86d5bcc94ac8159d8825ed169e | [
"MIT"
] | 27 | 2020-10-19T10:45:34.000Z | 2021-10-16T13:02:59.000Z | C++ Library/ESP32 DevkitC/Controlling_DC_Motor_with_L298/Controlling_DC_Motor_with_DriverL298.ino | hammad1201/Hacktoberfest-2021 | b4b86792755c7b86d5bcc94ac8159d8825ed169e | [
"MIT"
] | 165 | 2020-10-19T08:49:46.000Z | 2021-10-19T05:14:28.000Z | C++ Library/ESP32 DevkitC/Controlling_DC_Motor_with_L298/Controlling_DC_Motor_with_DriverL298.ino | hammad1201/Hacktoberfest-2021 | b4b86792755c7b86d5bcc94ac8159d8825ed169e | [
"MIT"
] | 82 | 2020-10-19T08:16:33.000Z | 2021-10-19T05:31:03.000Z |
#include "Arduino.h"
#include "DCMDriverL298.h"
// Pin Definitions
#define DCMOTORDRIVERL298_PIN_INT1 0
#define DCMOTORDRIVERL298_PIN_ENB 3
#define DCMOTORDRIVERL298_PIN_INT2 2
#define DCMOTORDRIVERL298_PIN_ENA 1
#define DCMOTORDRIVERL298_PIN_INT3 4
#define DCMOTORDRIVERL298_PIN_INT4 5
DCMDriverL298 dcMoto... | 28.82716 | 194 | 0.637687 |
4f6c82de6a14c57cda5a0512fdb4346008eb618d | 3,669 | ino | Arduino | BryanJ_initial.cpp.ino | opensource-lgpl-gpl/team17-asu | 9412d42261517fb352580195f58f18ddd147c983 | [
"MIT"
] | null | null | null | BryanJ_initial.cpp.ino | opensource-lgpl-gpl/team17-asu | 9412d42261517fb352580195f58f18ddd147c983 | [
"MIT"
] | null | null | null | BryanJ_initial.cpp.ino | opensource-lgpl-gpl/team17-asu | 9412d42261517fb352580195f58f18ddd147c983 | [
"MIT"
] | 1 | 2021-02-18T03:34:10.000Z | 2021-02-18T03:34:10.000Z |
////////////////////////////////////////////////////////////////////////
////////////////////Author: Bryan Jiron/////////////////////////////////
////////////////////////////////////////////////////////////////////////
// UPDATES:
// 1.Create Loop to run from 0-14 m/ft to show the
// serial monitor as a video for ... | 28.007634 | 74 | 0.58272 |
4465373482869dba3ab4130fb2a01095a2ee728e | 690 | ino | Arduino | Prueba_tiempo_espera/Prueba_tiempo_espera.ino | miguel5612/Monitor_de_gabinetes_electricos | 6e0124ea54c5cf5b32c40e192668d13748d2525a | [
"MIT"
] | null | null | null | Prueba_tiempo_espera/Prueba_tiempo_espera.ino | miguel5612/Monitor_de_gabinetes_electricos | 6e0124ea54c5cf5b32c40e192668d13748d2525a | [
"MIT"
] | null | null | null | Prueba_tiempo_espera/Prueba_tiempo_espera.ino | miguel5612/Monitor_de_gabinetes_electricos | 6e0124ea54c5cf5b32c40e192668d13748d2525a | [
"MIT"
] | null | null | null |
boolean estadoLed = false; //guarda el estado del led (encendido o apagado)
unsigned long periodo = 30*1000; // tiempo que esta el LED en alto y bajo
unsigned long tiempoAnterior = 0; //guarda tiempo de referencia para comparar
void setup() {
pinMode(13,OUTPUT); //configura la salida
}
void loop() {
Contro... | 28.75 | 81 | 0.724638 |
184db96c4a40cb1722dce3da9842321e6e894195 | 1,511 | ino | Arduino | 3ayina/UI.ino | ademdj19/3yina_project | b08256916ebd9848086a85c4885c48937849d749 | [
"BSD-3-Clause"
] | null | null | null | 3ayina/UI.ino | ademdj19/3yina_project | b08256916ebd9848086a85c4885c48937849d749 | [
"BSD-3-Clause"
] | null | null | null | 3ayina/UI.ino | ademdj19/3yina_project | b08256916ebd9848086a85c4885c48937849d749 | [
"BSD-3-Clause"
] | null | null | null | #include "Arduino.h"
#include "UI.h"
/*--| UI class responsible for displaying scenes respectively |--*/
UI::UI() {
return;
};
void UI::lcd_dht_master() {
/*--| DHT master lcd scene |--*/
lcd.clear();
lcd.setCursor(0, 0);
lcd.println("<DHT1");
lcd.print(" T="+String(desired_temp,1));
lcd.setCursor(15,0);
... | 21.898551 | 67 | 0.600927 |
17a2ef5d966705fc820a7b015185619d69bc0b6c | 3,010 | ino | Arduino | examples/Advanced/WIFI/WiFiTCP/WiFiTCP.ino | aaly/M5StickC-Plus | a509d3e4799bebbb3787c2f32a082767f817f260 | [
"MIT"
] | 138 | 2020-07-16T22:22:30.000Z | 2022-03-25T08:52:34.000Z | examples/Advanced/WIFI/WiFiTCP/WiFiTCP.ino | aaly/M5StickC-Plus | a509d3e4799bebbb3787c2f32a082767f817f260 | [
"MIT"
] | 22 | 2020-09-24T12:40:10.000Z | 2022-03-27T12:23:31.000Z | examples/Advanced/WIFI/WiFiTCP/WiFiTCP.ino | aaly/M5StickC-Plus | a509d3e4799bebbb3787c2f32a082767f817f260 | [
"MIT"
] | 47 | 2020-07-16T22:22:19.000Z | 2022-03-07T10:26:22.000Z | /*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Equipped with M5StickC-Plus sample source code
* 配套 M5StickC-Plus 示例源代码
* Visit the website for more information:https://docs.m5stack.com/en/core/m5stickc_plus
... | 37.625 | 142 | 0.652492 |
27be84788c14195155d04ed2e745231dcdb9e79d | 8,569 | ino | Arduino | led_usb/led_usb.ino | math85360/arduino_neopixels_tests | 9f7d9e607aed48787ec7cc049f18d800a5b27f60 | [
"Apache-2.0"
] | null | null | null | led_usb/led_usb.ino | math85360/arduino_neopixels_tests | 9f7d9e607aed48787ec7cc049f18d800a5b27f60 | [
"Apache-2.0"
] | null | null | null | led_usb/led_usb.ino | math85360/arduino_neopixels_tests | 9f7d9e607aed48787ec7cc049f18d800a5b27f60 | [
"Apache-2.0"
] | null | null | null | //#include <PololuLedStrip.h>
/* This is AVR code for driving the RGB LED strips from Pololu.
It allows complete control over the color of an arbitrary number of LEDs.
This implementation disables interrupts while it does bit-banging with inline assembly.
*/
/* This line specifies the frequency your AVR is run... | 29.047458 | 105 | 0.567161 |
c795fb443c79101975e5b635ad40316f1555b6eb | 329 | ino | Arduino | LCD-first/LCD-first.ino | JulianNicholls/Prev-Arduino | 31b56ec97d8f7e98e0b70a95f1eebaffa2ce9bd9 | [
"MIT"
] | 2 | 2021-03-06T06:09:44.000Z | 2021-08-01T01:46:46.000Z | LCD-first/LCD-first.ino | JulianNicholls/Prev-Arduino | 31b56ec97d8f7e98e0b70a95f1eebaffa2ce9bd9 | [
"MIT"
] | null | null | null | LCD-first/LCD-first.ino | JulianNicholls/Prev-Arduino | 31b56ec97d8f7e98e0b70a95f1eebaffa2ce9bd9 | [
"MIT"
] | null | null | null | #include <Servo.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// put your setup code here, to run once:
lcd.begin(20, 4);
lcd.print("Set Up");
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0, 1);
lcd.print(millis() / 1000);
delay... | 14.304348 | 48 | 0.613982 |
49bcb36680e3cc46d9cb552350226f628154f33e | 3,711 | ino | Arduino | PowerTrial.ino | Sowmiao/LPWESNIOT | c3a014ea8c8218cc2ca7536610146d704f81b936 | [
"Unlicense"
] | null | null | null | PowerTrial.ino | Sowmiao/LPWESNIOT | c3a014ea8c8218cc2ca7536610146d704f81b936 | [
"Unlicense"
] | null | null | null | PowerTrial.ino | Sowmiao/LPWESNIOT | c3a014ea8c8218cc2ca7536610146d704f81b936 | [
"Unlicense"
] | null | null | null | #include <avr/sleep.h>
#include <avr/power.h>
#include <DHT.h>
#define DHTPIN 3
#define DHTTYPE DHT11
DHT dht(DHTPIN,DHTTYPE);
unsigned long lastHT=0;
unsigned long lastSE=0;
void printHT();
int led=13;
int threshold=20;
int volume;
#define LED_PIN (13)
volatile int f_timer=0;
/*********************************... | 17.927536 | 72 | 0.545136 |
a614543c5258d0c465a1a815178394639d9f5428 | 1,175 | ino | Arduino | deprecated/sender/sender.ino | ithallojunior/data_transmission | eaf1ef81c018dc5a42f1756b39e19bfaa7f34ed5 | [
"MIT"
] | null | null | null | deprecated/sender/sender.ino | ithallojunior/data_transmission | eaf1ef81c018dc5a42f1756b39e19bfaa7f34ed5 | [
"MIT"
] | null | null | null | deprecated/sender/sender.ino | ithallojunior/data_transmission | eaf1ef81c018dc5a42f1756b39e19bfaa7f34ed5 | [
"MIT"
] | null | null | null | #define CE_PIN 5 //reset pin
#define CSN_PIN 4 //Since we are using 3 pin configuration we will use same pin for both CE and CSN
#define BYTES 20 //max 255
#include "RF24.h"
RF24 radio(CE_PIN, CSN_PIN);
byte data[BYTES+1]; // +1 beacause of the ack
byte address[11] = "SimpleNode";
int payload = 0;
void setup() {
... | 25.543478 | 99 | 0.640851 |
cc15e53d715501b785881b53081e909788de48e1 | 562 | ino | Arduino | examples/simple/simple.ino | GyverLibs/NecDecoder | 9efe236cc5e978a3ae17206a765109d5d5681dd6 | [
"MIT"
] | 2 | 2021-12-09T02:48:10.000Z | 2021-12-27T14:41:13.000Z | examples/simple/simple.ino | GyverLibs/NecDecoder | 9efe236cc5e978a3ae17206a765109d5d5681dd6 | [
"MIT"
] | 1 | 2022-01-13T20:30:29.000Z | 2022-01-14T22:08:48.000Z | examples/simple/simple.ino | GyverLibs/NecDecoder | 9efe236cc5e978a3ae17206a765109d5d5681dd6 | [
"MIT"
] | 1 | 2022-01-28T23:13:29.000Z | 2022-01-28T23:13:29.000Z | // приём команд с пульта
// приёмник подключать на прерывание по FALLING
#include <NecDecoder.h>
NecDecoder ir;
void setup() {
Serial.begin(9600);
// подключил на D2, прерывание 0
attachInterrupt(0, irIsr, FALLING);
}
// в прерывании вызываем tick()
void irIsr() {
ir.tick();
}
void loop() {
// если пакет ... | 20.071429 | 47 | 0.649466 |
c7359c779430f87eecdbcd81582e0026ef307aaf | 578 | ino | Arduino | Grove - Turbidity Sensor/simplecontrol/simplecontrol.ino | Seeed-Studio/Seeed_Learning_Space | e3682643f440c8d8b44e534369ae4ed9e5a81b14 | [
"MIT"
] | 14 | 2020-02-04T08:19:14.000Z | 2021-12-20T05:56:43.000Z | Grove - Turbidity Sensor/simplecontrol/simplecontrol.ino | Seeed-Studio/Seeed_Learning_Space | e3682643f440c8d8b44e534369ae4ed9e5a81b14 | [
"MIT"
] | null | null | null | Grove - Turbidity Sensor/simplecontrol/simplecontrol.ino | Seeed-Studio/Seeed_Learning_Space | e3682643f440c8d8b44e534369ae4ed9e5a81b14 | [
"MIT"
] | 7 | 2019-11-28T02:16:18.000Z | 2021-12-20T05:56:44.000Z | int ledPin = 13; // Connect LED on pin 13, or use the onboard one
int sensor_in = 2; // Turbidity sensor on Digital Pin 2
void setup(){
pinMode(ledPin, OUTPUT); // Set ledPin as output mode
pinMode(sensor_in, INPUT); //Set Turbidity sensor pin to input mode
}
void loop(){... | 36.125 | 87 | 0.612457 |
960c74f33702f8a3d7dff69fbc76825839db564f | 902 | ino | Arduino | test/test.ino | jacblo/Arduino | be45c5d583ad88f9488f40e2c569164c551dd13e | [
"CC0-1.0"
] | 1 | 2021-09-19T18:44:56.000Z | 2021-09-19T18:44:56.000Z | test/test.ino | jacblo/Arduino | be45c5d583ad88f9488f40e2c569164c551dd13e | [
"CC0-1.0"
] | null | null | null | test/test.ino | jacblo/Arduino | be45c5d583ad88f9488f40e2c569164c551dd13e | [
"CC0-1.0"
] | null | null | null | #include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
byte hi[8] = {
B10101,
B10101,
B10101,
B11101,
B10101,
B10101,
B10101,
};
int moveYSense = A0;
int moveXSense = A1;
int moveY = 0;
int moveX = 0;
int tempertures[] = {0,0,0,0};
String cities[] = {"beit shemmesh","jerusalem","rocheste... | 15.824561 | 75 | 0.578714 |
12b812a05a5e221044600c16b10f5d5af2a58066 | 294 | ino | Arduino | example/Blink/Blink.ino | RoseLeBlood/aSTLino | 99389fa418efd0589815203adad239b91eaad3ea | [
"MIT"
] | null | null | null | example/Blink/Blink.ino | RoseLeBlood/aSTLino | 99389fa418efd0589815203adad239b91eaad3ea | [
"MIT"
] | null | null | null | example/Blink/Blink.ino | RoseLeBlood/aSTLino | 99389fa418efd0589815203adad239b91eaad3ea | [
"MIT"
] | null | null | null | #include <aSTLino.h>
#include <arduino/rgb_strip.hpp>
#include <arduino/stream.hpp>
arduino::digitalOut<13> led;
void setup() {
led.begin();
Serial.begin(9600);
Serial << led.to_string() << endl;
}
void loop() {
led.write(false);
delay(250);
led.write(true);
delay(250);
}
| 14 | 36 | 0.642857 |
567623d661895812ce9f76ed23df573b1d2ba89d | 2,121 | ino | Arduino | midiBrain_LPX/midiBrain_LPX.ino | BeatRossmy/MidiBrainModule | 8bc9693cd826eed7755e2bb22a60386b833f7622 | [
"MIT"
] | null | null | null | midiBrain_LPX/midiBrain_LPX.ino | BeatRossmy/MidiBrainModule | 8bc9693cd826eed7755e2bb22a60386b833f7622 | [
"MIT"
] | null | null | null | midiBrain_LPX/midiBrain_LPX.ino | BeatRossmy/MidiBrainModule | 8bc9693cd826eed7755e2bb22a60386b833f7622 | [
"MIT"
] | null | null | null | #include <EEPROM.h>
#include "MIDI_BRAIN_LPX.h"
elapsedMicros kTimer;
void setup () {
Serial.begin(115200);
initHardware();
delay(600);
usbMIDI.setHandleRealTimeSystem(RealTimeSystem);
// stop all midi messages
for (int n = 0; n < 128; n++) {
MIDI_1.sendNoteOff(n, 0, 1);
MIDI_2.sendNoteOff(n, 0, ... | 24.662791 | 69 | 0.618576 |
e7f3512c84dececc17168fce1775ad8e5061b527 | 10,986 | ino | Arduino | bathroom_light_controller.ino | mika-koivusaari/bathroom_light_controller | 2eec5d5f2e2a9e3062df0a29d74de45768ab5e4e | [
"MIT"
] | null | null | null | bathroom_light_controller.ino | mika-koivusaari/bathroom_light_controller | 2eec5d5f2e2a9e3062df0a29d74de45768ab5e4e | [
"MIT"
] | 1 | 2016-11-19T11:35:17.000Z | 2016-11-19T11:35:17.000Z | bathroom_light_controller.ino | mika-koivusaari/bathroom_light_controller | 2eec5d5f2e2a9e3062df0a29d74de45768ab5e4e | [
"MIT"
] | null | null | null | #include <EEPROM.h>
const int LDRPIN=A0;
const int PWM1PIN=9;
const int PWM2PIN=10;
const int PWM3PIN=11;
const int FORCELIGHTPIN=5;
const String GET = "GET";
const String HELP = "HELP";
const String LOAD = "LOAD";
const String SAVE = "SAVE";
const String SET = "SET";
const String SET_LDRDARK = "SET LDRDARK";
const S... | 30.181319 | 154 | 0.657655 |
8bc2c236951bb633a48af3cc49473aac4fabfe1c | 244 | ino | Arduino | firmware/lm-matrix/x99_main.ino | sergiosergito/matrix | a6866b61b4971c93173225fe880e1b060011e25d | [
"MIT"
] | 1 | 2017-02-21T08:15:54.000Z | 2017-02-21T08:15:54.000Z | firmware/lm-matrix/x99_main.ino | sergiosergito/matrix | a6866b61b4971c93173225fe880e1b060011e25d | [
"MIT"
] | null | null | null | firmware/lm-matrix/x99_main.ino | sergiosergito/matrix | a6866b61b4971c93173225fe880e1b060011e25d | [
"MIT"
] | null | null | null | void setup() {
commSetup();
buttonSetup();
displaySetup();
imagesSetup();
animationSetup();
textSetup();
modeSetup();
eepromSetup();
Serial.println("+ready");
}
void loop() {
commCheck();
buttonCheck();
modeLoop();
}
| 12.2 | 27 | 0.610656 |
c502477aa84fe05b8701eec21942da5a5e3fcf9a | 7,122 | ino | Arduino | TCC_PED/TCC_PED/TCC_PED.ino | faccuser/adevecchi2015s1 | 86fe46f8fbb1367eaf95fcdfdecdcc5808fa0db7 | [
"MIT"
] | null | null | null | TCC_PED/TCC_PED/TCC_PED.ino | faccuser/adevecchi2015s1 | 86fe46f8fbb1367eaf95fcdfdecdcc5808fa0db7 | [
"MIT"
] | null | null | null | TCC_PED/TCC_PED/TCC_PED.ino | faccuser/adevecchi2015s1 | 86fe46f8fbb1367eaf95fcdfdecdcc5808fa0db7 | [
"MIT"
] | null | null | null | /*
* Projeto:
* - Ponto Eletrônico Digital
*
* Descrição:
* - TCC para a Faccamp Facundade Campo Limpo Paulista,
* como requesito parcial para obtenção do título de
* Bacharel em Ciência da Computação.
*
* - Este projeto é um Ponto Eletrônico Digital com interface
* ethernet para persistir os regi... | 25.526882 | 145 | 0.621595 |
af8af9c07bd437906703c3806c9a7fccaacba2aa | 294 | ino | Arduino | Display_test/Display_test.ino | ScheerleJo/Macro_Keyboard | 4f75954029f05c68275e411cb945c86da88d9960 | [
"MIT"
] | null | null | null | Display_test/Display_test.ino | ScheerleJo/Macro_Keyboard | 4f75954029f05c68275e411cb945c86da88d9960 | [
"MIT"
] | 1 | 2022-03-18T23:14:37.000Z | 2022-03-18T23:14:37.000Z | Display_test/Display_test.ino | ScheerleJo/Macro_Keyboard | 4f75954029f05c68275e411cb945c86da88d9960 | [
"MIT"
] | null | null | null | #include <SPI.h>
#include "LCD_Driver.h"
#include "GUI_Paint.h"
#include "image.h"
void setup() {
DIN = pinMode(10, OUTPUT);
CLK = pinMode(8, OUTPUT);
CS = pinMode(9, OUTPUT);
DC = pinMode(11, OUTPUT);
RST = pinMode(12, OUTPUT);
BL = pinMode(13, OUTPUT);
}
void loop() {
}
| 13.363636 | 28 | 0.608844 |
41b5675d07574fad2f214eb3702d2b336e69191d | 2,261 | ino | Arduino | tinkering/motor/motor_unit_test_3/motor_unit_test_3.ino | fkmclane/derailleurs | 087dfab4d5894a868517364d6ba19f2662dc7731 | [
"MIT"
] | null | null | null | tinkering/motor/motor_unit_test_3/motor_unit_test_3.ino | fkmclane/derailleurs | 087dfab4d5894a868517364d6ba19f2662dc7731 | [
"MIT"
] | null | null | null | tinkering/motor/motor_unit_test_3/motor_unit_test_3.ino | fkmclane/derailleurs | 087dfab4d5894a868517364d6ba19f2662dc7731 | [
"MIT"
] | 1 | 2020-02-23T19:11:58.000Z | 2020-02-23T19:11:58.000Z | /*
This is an integrated test to automate the shifting. It is similar
to unit test 2, but instead of being activated by manually pushing
a button, it receives signals to shift from the sensor module.
The button inputs are replaced by two spare input pins that connect
to the other microcontroller running hall_decision... | 17.80315 | 67 | 0.649713 |
ad63770a91b35d5413dfb9d7526eab63dfa5d0f6 | 1,069 | ino | Arduino | mechanics/motorcontrol/BLDC/bldc_ctrl.ino | real-lake050317/Wheelchairproject | 84e94b79f3d4d72b825755d4e4941558f6342b4b | [
"BSD-2-Clause"
] | 2 | 2022-02-05T14:55:09.000Z | 2022-03-29T10:21:21.000Z | mechanics/motorcontrol/BLDC/bldc_ctrl.ino | real-lake050317/Wheelchairproject | 84e94b79f3d4d72b825755d4e4941558f6342b4b | [
"BSD-2-Clause"
] | 4 | 2021-11-23T16:48:18.000Z | 2022-03-20T23:23:18.000Z | mechanics/motorcontrol/BLDC/bldc_ctrl.ino | real-lake050317/Wheelchairproject | 84e94b79f3d4d72b825755d4e4941558f6342b4b | [
"BSD-2-Clause"
] | 1 | 2022-03-18T07:31:52.000Z | 2022-03-18T07:31:52.000Z | #include <Servo.h>
Servo motor1, motor2; //motor1: 왼쪽 모터, motor2: 오른쪽 모터
// 왼쪽모터는 정방향 회전이 전진
// 오른쪽 모터는 역방향 회전이 전진 -> + - 극을 반대로 연결해 방향을 반대로 제어할 수 있음
int speed1 = 0, speed2 = 0;
int pos1 = 0, pos2 = 0;
char receivedChar;
boolean newData = false;
void setup(){
Serial.begin(9600);
motor1.attach(10);
motor... | 13.883117 | 56 | 0.546305 |
e3dfb247e9d57a70c204f2983d0aec84d733a953 | 7,810 | ino | Arduino | arduino/chaser_new/chaser_new.ino | Utsav22G/CrabBots | 72d08ea708d190ac2b437694fe5020293e668e71 | [
"MIT"
] | null | null | null | arduino/chaser_new/chaser_new.ino | Utsav22G/CrabBots | 72d08ea708d190ac2b437694fe5020293e668e71 | [
"MIT"
] | null | null | null | arduino/chaser_new/chaser_new.ino | Utsav22G/CrabBots | 72d08ea708d190ac2b437694fe5020293e668e71 | [
"MIT"
] | null | null | null | #include <Adafruit_NeoPixel.h>
#include <Wire.h>
#include <Adafruit_LIS3DH.h>
#include <Adafruit_Sensor.h>
#include "WS2812_Definitions.h"
// -----------------------
// DEFINE PINS
// -----------------------
#define RED1 A2 // input for red photodiode
#define RED2 A3 // input for blue photodiode
#define BPWM 10
#defi... | 22.124646 | 88 | 0.624968 |
d496003345e35524bd0cfef3612a39de19670948 | 2,214 | ino | Arduino | combinedCodeUno/combinedCodeUno.ino | richiebful/arduinoTag | ed2b6ec1eeb72b07af5c62b52db567ff5238d933 | [
"MIT"
] | 3 | 2015-12-14T07:22:53.000Z | 2019-08-01T14:38:00.000Z | combinedCodeUno/combinedCodeUno.ino | richiebful/arduinoTag | ed2b6ec1eeb72b07af5c62b52db567ff5238d933 | [
"MIT"
] | null | null | null | combinedCodeUno/combinedCodeUno.ino | richiebful/arduinoTag | ed2b6ec1eeb72b07af5c62b52db567ff5238d933 | [
"MIT"
] | null | null | null | unsigned long previousMillis;
unsigned long blinkInterval = 500;
int reloadButtonPin = 53;
int fireButtonPin = 52;
int firePin = 51;
int ammo_vPin = 50;
int laser = 49;
int ledPins[4] = {23,24,25,26};
int sensorPin = 22;
int life_v = 4;
int clip_v = 6;
int last_life_v = 4;
int last_clip_v = 6;
const int clip_max =... | 22.14 | 73 | 0.629178 |
95bab3cf565d4e9c7c35f92db5932bd968b26250 | 201 | ino | Arduino | DC_motors/motor_pot/motor_pot.ino | gren236/study_arduino | 68c3ca415f6c90e2adad75be36219d78114eea20 | [
"MIT"
] | null | null | null | DC_motors/motor_pot/motor_pot.ino | gren236/study_arduino | 68c3ca415f6c90e2adad75be36219d78114eea20 | [
"MIT"
] | null | null | null | DC_motors/motor_pot/motor_pot.ino | gren236/study_arduino | 68c3ca415f6c90e2adad75be36219d78114eea20 | [
"MIT"
] | null | null | null | const int MOTOR = 9;
const int POT = 0;
int val = 0;
void setup() {
pinMode(MOTOR, OUTPUT);
}
void loop() {
val = analogRead(POT);
val = map(val, 0, 1023, 0, 255);
analogWrite(MOTOR, val);
}
| 14.357143 | 34 | 0.60199 |
45f00faa0e8c52990ebc34a594c58ce3ca263a19 | 5,824 | ino | Arduino | ino/client/client.ino | HarvardURC/MATE_ROV | 30f7dc3a1caa6532e5cd44e3029de5353e79d656 | [
"MIT"
] | 1 | 2018-04-09T00:57:10.000Z | 2018-04-09T00:57:10.000Z | ino/client/client.ino | HarvardURC/MATE_ROV | 30f7dc3a1caa6532e5cd44e3029de5353e79d656 | [
"MIT"
] | 27 | 2017-10-03T02:02:32.000Z | 2018-04-09T19:44:41.000Z | ino/client/client.ino | HarvardURC/MATE_ROV | 30f7dc3a1caa6532e5cd44e3029de5353e79d656 | [
"MIT"
] | 1 | 2017-10-27T01:39:31.000Z | 2017-10-27T01:39:31.000Z | #include <Wire.h>
#include <Servo.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
#include <utility/imumaths.h>
#define TICKS_PER_WRITE 200
#define PANSERVO 2
#define TILTSERVO 3
#define T1 4
#define T2 5
#define T3 6
#define T4 7
#define T5 8
#define T6 9
#define FRONT_LEFT 0
#define FRONT_RIGHT 1
#de... | 23.389558 | 85 | 0.560783 |
26b207764e6a85b38c85c917291c54edc01720d6 | 1,104 | ino | Arduino | src/gauge/gauge.ino | jmvalverde2020/Mano-Zeus | acb9ca80a7eaf5d53f598bbd65e003142a15d77f | [
"CC0-1.0"
] | null | null | null | src/gauge/gauge.ino | jmvalverde2020/Mano-Zeus | acb9ca80a7eaf5d53f598bbd65e003142a15d77f | [
"CC0-1.0"
] | null | null | null | src/gauge/gauge.ino | jmvalverde2020/Mano-Zeus | acb9ca80a7eaf5d53f598bbd65e003142a15d77f | [
"CC0-1.0"
] | null | null | null | #include "ServoM.h"
int SERVOPIN = 6;
int BTNPIN = 2;
ServoM serv1 = ServoM(SERVOPIN);
// Change global variable
int value = 0;
int total = 0;
void setup() {
Serial.begin(9600);
pinMode(BTNPIN, INPUT_PULLUP);
}
void loop() {
// Initial values of each variable
int vel = 5;
int lecturas = 6;
bool... | 16.477612 | 56 | 0.584239 |
5adb5c5ee2ae781a50641720f6ec9eea2bd33722 | 2,679 | ino | Arduino | examples/display/display.ino | zshivers/arduino-upc | dc6cb3f96def869a92b2ce8258020fa2ce3701e4 | [
"BSD-3-Clause"
] | null | null | null | examples/display/display.ino | zshivers/arduino-upc | dc6cb3f96def869a92b2ce8258020fa2ce3701e4 | [
"BSD-3-Clause"
] | null | null | null | examples/display/display.ino | zshivers/arduino-upc | dc6cb3f96def869a92b2ce8258020fa2ce3701e4 | [
"BSD-3-Clause"
] | null | null | null | /*
* Show a UPC barcode on a hardware display based on user serial input.
*
* Hardware required:
* - SSD1306 OLED display using SPI pins
*
* Alternatively, you can adapt this code to any display with support
* from Adafruit's GFX library. Your display must be at least 95 pixels
* wide or tall to display a UPC ... | 26.524752 | 78 | 0.682344 |
0aeae8b2a60de249cc92acb1a601d3d90bbe2d4f | 1,668 | ino | Arduino | SimonSays/SimonSays.ino | harlanhaskins/Arduino-Toys | 72aaa17724e8380d4b9c9dfd73f3d2eb293a792a | [
"MIT"
] | 2 | 2018-12-26T11:31:01.000Z | 2020-11-15T23:11:16.000Z | SimonSays/SimonSays.ino | harlanhaskins/Arduino-Toys | 72aaa17724e8380d4b9c9dfd73f3d2eb293a792a | [
"MIT"
] | null | null | null | SimonSays/SimonSays.ino | harlanhaskins/Arduino-Toys | 72aaa17724e8380d4b9c9dfd73f3d2eb293a792a | [
"MIT"
] | null | null | null | #include "ArduinoUtils.h"
DigitalInputPin buttons[3] = {
{2}, {3}, {4}
};
DigitalOutputPin leds[3] = {
{5}, {6}, {7}
};
#define NUM_MOVES 24
void setup() {
randomSeed(analogRead(0));
reset();
}
uint8_t randomMove() {
return random(0, 3);
}
int moves[NUM_MOVES];
int currentMove = 0;
#define forEachMove(s... | 16.038462 | 54 | 0.532974 |
57d5e93c3474d0c85e62ffe718a1544bb168acde | 14,134 | ino | Arduino | Lysring3.ino | kagjerde/Arduino-Macro-Ring | 453ec6d0d6cbde3ae527ceff60aa1dfa5d32ddfe | [
"MIT"
] | null | null | null | Lysring3.ino | kagjerde/Arduino-Macro-Ring | 453ec6d0d6cbde3ae527ceff60aa1dfa5d32ddfe | [
"MIT"
] | null | null | null | Lysring3.ino | kagjerde/Arduino-Macro-Ring | 453ec6d0d6cbde3ae527ceff60aa1dfa5d32ddfe | [
"MIT"
] | null | null | null | #include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIN 8 //for LED strip
#define NUM_LEDS 24
#define BRIGHTNESS 255
// Rotary encoder declarations
static int pinA = 2; // Our first hardware interrupt pin is digital pin 2
static int pinB = 3; ... | 39.814085 | 191 | 0.57436 |
929461986f5d6f36729bd76b0c5d2aead40271c7 | 2,803 | ino | Arduino | togetherwheelmotor.ino | exquire/togetherwheel | abdbaf1a18c23d9ce3401b4be2835918f301c21b | [
"Unlicense"
] | null | null | null | togetherwheelmotor.ino | exquire/togetherwheel | abdbaf1a18c23d9ce3401b4be2835918f301c21b | [
"Unlicense"
] | null | null | null | togetherwheelmotor.ino | exquire/togetherwheel | abdbaf1a18c23d9ce3401b4be2835918f301c21b | [
"Unlicense"
] | null | null | null | #include "DualVNH5019MotorShield.h"
DualVNH5019MotorShield md;
#include <Encoder.h>
Encoder myEnc(2, 3);
// set pin numbers:
const int buttonPin = 5; // the number of the pushbutton pin
const int ledPin = 13; // the number of the LED pin
// variables will change:
int buttonState = 0; // variable for... | 21.728682 | 139 | 0.658937 |
559db299178224365e4ce4d9caacd7de838f7c6e | 5,066 | ino | Arduino | distance_and_temperature/distance_and_temperature.ino | kartoza/arduino | 68960128a1ce15360ccf37498f17640d67fdd39e | [
"MIT"
] | null | null | null | distance_and_temperature/distance_and_temperature.ino | kartoza/arduino | 68960128a1ce15360ccf37498f17640d67fdd39e | [
"MIT"
] | null | null | null | distance_and_temperature/distance_and_temperature.ino | kartoza/arduino | 68960128a1ce15360ccf37498f17640d67fdd39e | [
"MIT"
] | 2 | 2016-06-03T10:28:34.000Z | 2019-05-26T06:14:09.000Z | #include <LiquidCrystal_I2C.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#include "Arduino.h"
class Ultrasonic
{
public:
Ultrasonic(int pin);
void DistanceMeasure(void);
long microsecondsToCentimeters(void);
private:
int _pin; //pin number of Arduino that is connected with SIG pin of Ultr... | 28.301676 | 115 | 0.70154 |
a85a8f3df420e4b6843bf840dead904d16dfe88c | 2,318 | ino | Arduino | Tablet-pdf-music-pedal.ino | leonvandenbeukel/Tablet-pdf-music-pedal | 81b9c440d0535aaacdfddba8ef4676d2aafa10f3 | [
"MIT"
] | null | null | null | Tablet-pdf-music-pedal.ino | leonvandenbeukel/Tablet-pdf-music-pedal | 81b9c440d0535aaacdfddba8ef4676d2aafa10f3 | [
"MIT"
] | null | null | null | Tablet-pdf-music-pedal.ino | leonvandenbeukel/Tablet-pdf-music-pedal | 81b9c440d0535aaacdfddba8ef4676d2aafa10f3 | [
"MIT"
] | 1 | 2019-10-24T23:21:02.000Z | 2019-10-24T23:21:02.000Z | #include <Bounce2.h>
#include "Keyboard.h"
#define BUTTON_PIN_LEFT 14
#define LED_PIN_LEFT 9
#define BUTTON_PIN_RIGHT 15
#define LED_PIN_RIGHT 10
#define LED_POWER 8
// Keys reference: https://github.com/arduino-libraries/Keyboard/blob/master/src/Keyboard.h
#define PREV_PAGE KEY_LEFT_ARROW
#define NEXT_PAGE KEY_... | 23.18 | 91 | 0.738568 |
d9a34f786d9f478a4b51c1744e34e580c5dc43eb | 7,499 | ino | Arduino | 01.Firmware/components/FabGL/examples/VGA/DirectVGA_ElMuro/DirectVGA_ElMuro.ino | POMIN-163/xbw | ebda2fb925ec54e48e806ba1c3cd4e04a7b25368 | [
"Apache-2.0"
] | 5 | 2022-02-14T03:12:57.000Z | 2022-03-06T11:58:31.000Z | 01.Firmware/components/FabGL/examples/VGA/DirectVGA_ElMuro/DirectVGA_ElMuro.ino | POMIN-163/xbw | ebda2fb925ec54e48e806ba1c3cd4e04a7b25368 | [
"Apache-2.0"
] | null | null | null | 01.Firmware/components/FabGL/examples/VGA/DirectVGA_ElMuro/DirectVGA_ElMuro.ino | POMIN-163/xbw | ebda2fb925ec54e48e806ba1c3cd4e04a7b25368 | [
"Apache-2.0"
] | 4 | 2022-02-23T07:00:59.000Z | 2022-03-10T03:58:11.000Z | /*
Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - www.fabgl.com
Copyright (c) 2019-2020 Fabrizio Di Vittorio.
All rights reserved.
This file is part of FabGL Library.
FabGL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published... | 27.269091 | 138 | 0.643953 |
abc03c9044cbde36a743e120ec99a4d02dec46c0 | 8,183 | ino | Arduino | le code/Project/Project.ino | ZouhairKhatouri/Tap-controler | 11ea04d58686c08a55c4990897bd0d932bc2a2c2 | [
"MIT"
] | null | null | null | le code/Project/Project.ino | ZouhairKhatouri/Tap-controler | 11ea04d58686c08a55c4990897bd0d932bc2a2c2 | [
"MIT"
] | null | null | null | le code/Project/Project.ino | ZouhairKhatouri/Tap-controler | 11ea04d58686c08a55c4990897bd0d932bc2a2c2 | [
"MIT"
] | null | null | null | #include <SoftwareSerial.h>
// Global constants
// Step motor:
const int IN1 = 12;
const int IN2 = 11;
const int IN3 = 10;
const int IN4 = 9;
// ESP8266-01:
const int rxESP = 7;
const int txESP = 8;
const int rst = 5;
// HC-05
const int rxBT = 3;
const int txBT = 4;
const int vccBT = 6;
// Led pin
con... | 22.297003 | 115 | 0.530612 |
7b38377f398559acbc08c5056cc10a2c1a336901 | 890 | ino | Arduino | Sketches/LedBlink/LedBlink.ino | SirWellington/arduino | 1d6b301722045902626372421afe4de51e5d1d13 | [
"Apache-2.0"
] | 1 | 2015-11-10T22:29:53.000Z | 2015-11-10T22:29:53.000Z | Sketches/LedBlink/LedBlink.ino | SirWellington/arduino | 1d6b301722045902626372421afe4de51e5d1d13 | [
"Apache-2.0"
] | null | null | null | Sketches/LedBlink/LedBlink.ino | SirWellington/arduino | 1d6b301722045902626372421afe4de51e5d1d13 | [
"Apache-2.0"
] | null | null | null | //Communicates with the led on pin 13
/*
* This Sketch Makes an LED Blink a configurable
* amount of times. The LED is expected to be wired on the breadboard,
* on a PIN # 10, although that can be changed as well.
*/
int LED = 10;
int SYSTEM_LED = 13;
void setup()
{
// put your setup code here, to run once:
... | 15.892857 | 70 | 0.664045 |
b887b061539394207f6ad244b8df56e7057f6093 | 1,555 | ino | Arduino | SN74HC595N/exampleCodeLibrary.ino | arnox86/ProjectWeatherStation | 062b9efdac576acb4fbf096c8dd3517a39f35848 | [
"MIT"
] | null | null | null | SN74HC595N/exampleCodeLibrary.ino | arnox86/ProjectWeatherStation | 062b9efdac576acb4fbf096c8dd3517a39f35848 | [
"MIT"
] | null | null | null | SN74HC595N/exampleCodeLibrary.ino | arnox86/ProjectWeatherStation | 062b9efdac576acb4fbf096c8dd3517a39f35848 | [
"MIT"
] | null | null | null |
/*
MIT License
Copyright (c) 2020 Benedikt Bursian
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, publi... | 26.810345 | 88 | 0.724759 |
52ebcfa81838fe80b211ad8e1fa7421db7922267 | 1,105 | ino | Arduino | DroneTestCodes/AltitudeTests/BMP280_Altitude/BMP280_Altitude.ino | davidoises/DroneSoftware | 3952e2f0cfba99fee82568e76da0f0f1c37dfe47 | [
"MIT"
] | 1 | 2020-08-10T11:38:16.000Z | 2020-08-10T11:38:16.000Z | DroneTestCodes/AltitudeTests/BMP280_Altitude/BMP280_Altitude.ino | davidoises/DroneSoftware | 3952e2f0cfba99fee82568e76da0f0f1c37dfe47 | [
"MIT"
] | null | null | null | DroneTestCodes/AltitudeTests/BMP280_Altitude/BMP280_Altitude.ino | davidoises/DroneSoftware | 3952e2f0cfba99fee82568e76da0f0f1c37dfe47 | [
"MIT"
] | null | null | null | #include <Wire.h>
#include "Adafruit_BMP280.h"
Adafruit_BMP280 bmp; // I2C
//Adafruit_BMP280 bmp(BMP_CS); // hardware SPI
//Adafruit_BMP280 bmp(BMP_CS, BMP_MOSI, BMP_MISO, BMP_SCK);
float initial_pressure = 0;
void setup() {
Serial.begin(500000);
Serial.println(F("BMP280 test"));
if (!bmp.begin(0x76, 0x58)) {... | 26.95122 | 95 | 0.628959 |
ab537fc6018dc720cd9983daac636dc9f086ea59 | 1,903 | ino | Arduino | arduinoSMS/arduinoSMS.ino | SandunK/smsAppUsingGSM | 8a070477c4da70c06e0507fb2473deacc1aaeebc | [
"Apache-2.0"
] | null | null | null | arduinoSMS/arduinoSMS.ino | SandunK/smsAppUsingGSM | 8a070477c4da70c06e0507fb2473deacc1aaeebc | [
"Apache-2.0"
] | null | null | null | arduinoSMS/arduinoSMS.ino | SandunK/smsAppUsingGSM | 8a070477c4da70c06e0507fb2473deacc1aaeebc | [
"Apache-2.0"
] | null | null | null | #include <SoftwareSerial.h>
SoftwareSerial SIM800(3, 2); // TX,RX
String message;
void ShowSerialData()
{
while(SIM800.available()!=0)
Serial.write(SIM800.read());
}
void setup()
{
Serial.begin(9600); // initialize serial communications at 9600 bps
SIM800.begin(9600);
}
void loop(){
String messageGo... | 22.927711 | 149 | 0.624803 |
ef4983843ab923abe96982dea953f33587152e28 | 4,826 | ino | Arduino | ircomm/ircomm.ino | dmcomm/irplot | 23163a5d2fed2445fee4a7b0df59d80260e02489 | [
"MIT"
] | null | null | null | ircomm/ircomm.ino | dmcomm/irplot | 23163a5d2fed2445fee4a7b0df59d80260e02489 | [
"MIT"
] | null | null | null | ircomm/ircomm.ino | dmcomm/irplot | 23163a5d2fed2445fee4a7b0df59d80260e02489 | [
"MIT"
] | null | null | null | /* This file is part of the DMComm project by BladeSabre. License: MIT. */
#include "ircomm.h"
const byte pinIrLed = 11;
const byte pinInputBasic = 16;
const byte pinInputDemod = 9;
const byte pinProbe = 0;
const int32_t replyTimeout = 20000;
const int32_t initialTimeout = 5000000;
const uint16_t logBufferLength = ... | 23.541463 | 74 | 0.51409 |
ab909ecd38e0934284cef56c4100de5b85f4eaaa | 4,226 | ino | Arduino | Circuit_Schematics_&_Arduino/818W_Code_arduino/818W_Code.ino | akdhandy/CMSC818W | c7bf899f4876e6bb34208654a31bafe3f5d7a07b | [
"MIT"
] | null | null | null | Circuit_Schematics_&_Arduino/818W_Code_arduino/818W_Code.ino | akdhandy/CMSC818W | c7bf899f4876e6bb34208654a31bafe3f5d7a07b | [
"MIT"
] | null | null | null | Circuit_Schematics_&_Arduino/818W_Code_arduino/818W_Code.ino | akdhandy/CMSC818W | c7bf899f4876e6bb34208654a31bafe3f5d7a07b | [
"MIT"
] | null | null | null | #include <Wire.h>
#include "Adafruit_SI1145.h"
Adafruit_SI1145 uv = Adafruit_SI1145();
int ledPin_blue = 13; // The LED is connected on pin 13
int ledPin_green = 12; // The LED is connected on pin 13
int ledPin_red = 8; // The LED is connected on pin 13
int ledPin_ir = 7; // The LED is connected on pin... | 20.614634 | 65 | 0.575248 |
0a9c7cf25c807bcc5e33819a7f024d7e93853b50 | 2,995 | ino | Arduino | 김병갑/라즈베리파이/아두이노 연동/웹까지 연동/ArduRasp/ArduRasp.ino | Fishberry/RemoteFishbowl | a8b0d987efc6be135358029f5b45f2d3425d92f1 | [
"MIT"
] | 6 | 2019-01-03T05:47:34.000Z | 2020-11-21T00:57:06.000Z | 김병갑/라즈베리파이/아두이노 연동/웹까지 연동/ArduRasp/ArduRasp.ino | Fishberry/RemoteFishbowl | a8b0d987efc6be135358029f5b45f2d3425d92f1 | [
"MIT"
] | null | null | null | 김병갑/라즈베리파이/아두이노 연동/웹까지 연동/ArduRasp/ArduRasp.ino | Fishberry/RemoteFishbowl | a8b0d987efc6be135358029f5b45f2d3425d92f1 | [
"MIT"
] | 1 | 2019-01-06T09:40:35.000Z | 2019-01-06T09:40:35.000Z | #include <OneWire.h>
#include <Servo.h>
#include <Wire.h>
#include "RTClib.h"
const int DS18S20_Pin = 2;
const int WaterPumpA1 = 6;
const int WaterPumpA2 = 7;
const int WaterPumpB1 = 4;
const int WaterPumpB2 = 5;
const int SERVO = 8;
Servo myServo;
RTC_DS1307 RTC;
String year, month, day, hour, minute, second, time, ... | 17.114286 | 62 | 0.589983 |
8658a8984a2975373f97733c416d6f78fd925fe6 | 3,218 | ino | Arduino | RunStop/RunStopRelay/RunStopRelay.ino | HankelBao/scale-vehicle-control-stack | d71c30a62b81693fc35ea2fda4fe6954f1d9dd78 | [
"MIT"
] | null | null | null | RunStop/RunStopRelay/RunStopRelay.ino | HankelBao/scale-vehicle-control-stack | d71c30a62b81693fc35ea2fda4fe6954f1d9dd78 | [
"MIT"
] | null | null | null | RunStop/RunStopRelay/RunStopRelay.ino | HankelBao/scale-vehicle-control-stack | d71c30a62b81693fc35ea2fda4fe6954f1d9dd78 | [
"MIT"
] | null | null | null | /**
* TODO:
* 1. Emergency stop if/when a client becomes disconnected
* 2. Create LED system that actually indicates connection or meaning
*/
#include "Constants.h"
#include "LED.h"
#include "Switch.h"
#include <ArduinoOTA.h>
#include <ESP8266WiFi.h>
LED statusLED(LED_STATUS_PIN);
Switch powerSwitch(POWER_SWITCH_... | 24.753846 | 71 | 0.672467 |
4d72f8a777abbebc8ece8cf4402ad472ef0c8f60 | 2,580 | ino | Arduino | gate.ino | iruz17/smart-tourism-device | df08a3157feb4e34a7a870df96c4dc02fb652295 | [
"MIT"
] | 1 | 2021-02-15T13:43:25.000Z | 2021-02-15T13:43:25.000Z | gate.ino | threeal/smart-tourism-device | df08a3157feb4e34a7a870df96c4dc02fb652295 | [
"MIT"
] | null | null | null | gate.ino | threeal/smart-tourism-device | df08a3157feb4e34a7a870df96c4dc02fb652295 | [
"MIT"
] | 1 | 2021-02-14T04:16:45.000Z | 2021-02-14T04:16:45.000Z | #include <LiquidCrystal_PCF8574.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <SPI.h>
#include <MFRC522.h>
#define RST_PIN D3
#define SDA_PIN D4
// Change this according to the WiFi SSID and password
String wifi_ssid = "SSID";
String wifi_pass = "password";
// Change this according... | 20.47619 | 69 | 0.604651 |
37f61cc64136be0ef90c60187047b7f9034dc183 | 2,261 | ino | Arduino | A18 Stepper28BYJ-48/Stepper_Servo_V1/Stepper_Servo_V1.ino | frankyhub/Arduin---Beispiele-I | 78c86561b4401266414acdb91a911e55c9037755 | [
"MIT"
] | 1 | 2021-09-24T22:21:46.000Z | 2021-09-24T22:21:46.000Z | Servo-Stepper/Servo-Stepper.ino | frankyhub/BotArm_MK3 | baf5c13ac96c2236def461c02656d35a25416207 | [
"MIT"
] | null | null | null | Servo-Stepper/Servo-Stepper.ino | frankyhub/BotArm_MK3 | baf5c13ac96c2236def461c02656d35a25416207 | [
"MIT"
] | null | null | null | /* Board NANO
* ATmegam328Pm(Old Bootloader
*
* Stepper für MK3
* Serieller Monitor > Joy-Poti
* INT LED HIGH bei Mittelstellung
*
*
* KHF 07.11.2020 Servo eingefügt
* KHF 06.11. 2020 Stillstand optimiert re/li
*
* Stepper
* joystick A0
* IN4, IN2, IN3, IN1
* PIN ... | 18.233871 | 49 | 0.584255 |
d36f81146f9fa10d7079fea61e44186eb3057afd | 6,172 | ino | Arduino | examples/Serial_EMG/Serial_EMG.ino | ferdinandkeil/ADS129X | e4bd32c5feec9d23b34b92f015dbf176bbbeafe5 | [
"MIT"
] | 18 | 2015-10-12T01:08:49.000Z | 2021-11-24T01:31:02.000Z | examples/Serial_EMG/Serial_EMG.ino | rlong19/ADS129X | cefb18b8dd7da5223d15c5497a70221fb1d9e40d | [
"MIT"
] | 2 | 2016-09-14T12:41:01.000Z | 2018-05-08T19:09:51.000Z | examples/Serial_EMG/Serial_EMG.ino | ferdinandkeil/ADS129X | e4bd32c5feec9d23b34b92f015dbf176bbbeafe5 | [
"MIT"
] | 8 | 2016-05-13T05:51:27.000Z | 2022-02-11T04:22:39.000Z | #include <ADS129X.h>
#include <SPI.h>
/* ADS129X pins */
const int PSU_NEG = 1;
const int PSU_POS = 0;
const int ADS_PWDN = 2;
const int ADS_RESET = 3;
const int ADS_START = 4;
const int ADS_DRDY = 5;
const int ADS_CS = 10;
/* LEDs */
const int LED1 = 16;
const int LED2 = 17;
const int LED3 = 18;
/* Button */
cons... | 34.480447 | 98 | 0.667045 |
5d90db05ecb03905666eb549b69d351e7d0f988d | 7,501 | ino | Arduino | src/src/rx5808-pro-diversity.ino | JyeSmith/rx5808-pro-diversity | 7d29ef47afccbe674dac49744b397f5c1c913757 | [
"MIT"
] | 63 | 2018-09-05T11:57:29.000Z | 2022-02-18T06:59:41.000Z | src/src/rx5808-pro-diversity.ino | JyeSmith/rx5808-pro-diversity | 7d29ef47afccbe674dac49744b397f5c1c913757 | [
"MIT"
] | 2 | 2022-01-04T22:28:27.000Z | 2022-03-20T03:46:40.000Z | src/src/rx5808-pro-diversity.ino | JyeSmith/rx5808-pro-diversity | 7d29ef47afccbe674dac49744b397f5c1c913757 | [
"MIT"
] | 5 | 2018-11-06T00:56:32.000Z | 2021-01-24T13:00:48.000Z | /*
SPI driver based on fs_skyrf_58g-main.c Written by Simon Chambers
TVOUT by Myles Metzel
Scanner by Johan Hermen
Inital 2 Button version by Peter (pete1990)
Refactored and GUI reworked by Marko Hoepken
Universal version my Marko Hoepken
Diversity Receiver Mode and GUI improvements by Shea Ivey
... | 27.988806 | 97 | 0.610985 |
19fe953ab834033f8a081429b6ab7747e393c0f7 | 2,780 | ino | Arduino | Blink_LED_MQTT_Adafruit/Blink_LED_MQTT_Adafruit.ino | UBSHARON93/NodeMCU | 65dc5f96b72e2ac5be02e3fb2218e11acd8e6c8b | [
"MIT"
] | null | null | null | Blink_LED_MQTT_Adafruit/Blink_LED_MQTT_Adafruit.ino | UBSHARON93/NodeMCU | 65dc5f96b72e2ac5be02e3fb2218e11acd8e6c8b | [
"MIT"
] | null | null | null | Blink_LED_MQTT_Adafruit/Blink_LED_MQTT_Adafruit.ino | UBSHARON93/NodeMCU | 65dc5f96b72e2ac5be02e3fb2218e11acd8e6c8b | [
"MIT"
] | null | null | null | #include <ESP8266WiFi.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
#define WIFI_SSID "TP-LINK_3EAE"
#define WIFI_PASS "49836318"
#define MQTT_SERV "io.adafruit.com"
#define MQTT_PORT 1883
#define MQTT_NAME "sharonushusbabu"
#define MQTT_PASS "aio_nojn47dujDQMqfl9m78gDoC3Ljcz"
//the gpio pin D1
int ... | 22.063492 | 99 | 0.64964 |
a533feedb9862d3683dff0c632b42e5b484d8896 | 636 | ino | Arduino | eeprom1.ino | JKUATSES/2021-memoryDevices | a86b780f23e0f4c121efafc44acb96d31bab5a4e | [
"BSD-2-Clause"
] | null | null | null | eeprom1.ino | JKUATSES/2021-memoryDevices | a86b780f23e0f4c121efafc44acb96d31bab5a4e | [
"BSD-2-Clause"
] | 4 | 2021-04-13T19:07:14.000Z | 2021-04-13T19:12:20.000Z | eeprom1.ino | JKUATSES/2021-memoryDevices | a86b780f23e0f4c121efafc44acb96d31bab5a4e | [
"BSD-2-Clause"
] | null | null | null | #include <EEPROM.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
void EEPROM_writeDouble(int address, double value)
{
byte* p = (byte*)(void*)&value;
for (int i = 0; i < sizeof(value); i++)
{ ... | 22.714286 | 53 | 0.485849 |
48ae56018330a302100bad3849605d32cbe1b2fa | 9,748 | ino | Arduino | hammy.ino | davekiss/hammy | f137b38c436740f4f92159b02493d5de497364b2 | [
"MIT"
] | null | null | null | hammy.ino | davekiss/hammy | f137b38c436740f4f92159b02493d5de497364b2 | [
"MIT"
] | null | null | null | hammy.ino | davekiss/hammy | f137b38c436740f4f92159b02493d5de497364b2 | [
"MIT"
] | null | null | null | // Make sure to remove wire in pin 10 to
// successfully upload the code to the Arduino.
#include <SoftwareSerial.h>
#include <DFRobotDFPlayerMini.h>
SoftwareSerial mySoftwareSerial(2, 3); // RX, TX
// Alias mp3 library as Player
DFRobotDFPlayerMini Player;
const int blueLedPin1 = 5;
const int blueLedPin2 = 6;
cons... | 29.90184 | 130 | 0.625256 |
e22b6400b50eb3a74497933b61af97a3cac03a5c | 1,736 | ino | Arduino | examples/Simulator/Simulator.ino | yves-ledermann/FlowMeter | ee5e14801131b8129159e80a769c092e4286e616 | [
"MIT"
] | null | null | null | examples/Simulator/Simulator.ino | yves-ledermann/FlowMeter | ee5e14801131b8129159e80a769c092e4286e616 | [
"MIT"
] | null | null | null | examples/Simulator/Simulator.ino | yves-ledermann/FlowMeter | ee5e14801131b8129159e80a769c092e4286e616 | [
"MIT"
] | null | null | null | #include <FlowMeter.h> // https://github.com/sekdiy/FlowMeter
// let's provide our own sensor properties, including calibration points for error correction
FlowSensorProperties MySensor = {60.0f, 4.5f, {1.2, 1.1, 1.05, 1, 1, 1, 1, 0.95, 0.9, 0.8}};
// let's pretend there's a flow sensor connected to pin 3
FlowMeter ... | 39.454545 | 99 | 0.602535 |
1f21ad6985069bab1f723e7fb6d7b1b80ed1f1d0 | 4,056 | ino | Arduino | old codes/_9_AvoidObstacleRobot/_9_AvoidObstacleRobot.ino | k24koba/Lambda | ca45bb8d68251b7871e5edf58253b76f0898d272 | [
"BSD-3-Clause"
] | null | null | null | old codes/_9_AvoidObstacleRobot/_9_AvoidObstacleRobot.ino | k24koba/Lambda | ca45bb8d68251b7871e5edf58253b76f0898d272 | [
"BSD-3-Clause"
] | null | null | null | old codes/_9_AvoidObstacleRobot/_9_AvoidObstacleRobot.ino | k24koba/Lambda | ca45bb8d68251b7871e5edf58253b76f0898d272 | [
"BSD-3-Clause"
] | null | null | null | #include <Servo.h>//ライブラリの読み込み
#define PBS1 0//置き換え
#define PBS2 1
#define Limit 2
#define analogPin 0
int value = 0;
int s1, s2, s3;
Servo servo0;
void setup()
{
pinMode(PBS1, INPUT);
pinMode(PBS2, INPUT);
pinMode(Limit, INPUT);
pinMode(6, OUTPUT);
DDRB = B1111;//ポートBの入出力を設定
servo0.attach(6);
}
void loop... | 22.163934 | 86 | 0.42283 |
d51405f14a7e36b01b378eb4de84800180bbb3b6 | 1,218 | ino | Arduino | Other/DS1307RTC/DS1307RTC.ino | vAlmaraz/arduino-examples | 46191c2a39d3dbb355fbc2178535dd1c36334788 | [
"MIT"
] | 1 | 2016-01-23T12:38:06.000Z | 2016-01-23T12:38:06.000Z | Other/DS1307RTC/DS1307RTC.ino | vAlmaraz/arduino-examples | 46191c2a39d3dbb355fbc2178535dd1c36334788 | [
"MIT"
] | null | null | null | Other/DS1307RTC/DS1307RTC.ino | vAlmaraz/arduino-examples | 46191c2a39d3dbb355fbc2178535dd1c36334788 | [
"MIT"
] | null | null | null | #include <Time.h>
#include <TimeLib.h>
#include <TimeAlarms.h>
void setup() {
Serial.begin(9600);
// set time: HH, mm, ss, dd, MM, YY
setTime(17,03,0,10,2,17);
// create the alarms
// 8:30am every day
Alarm.alarmRepeat(17, 04, 0, alarm1);
// 5:45pm every day
Alarm.alarmRepeat(17, 05, 0, alarm2);
/... | 18.738462 | 52 | 0.642857 |
06feb7ed7dd03bd6c35a980d6df1e76800575678 | 12,806 | ino | Arduino | IK_robot_arm/IK_robot_arm.ino | abhijit-pamarty/IK-3DOF-Robot-arm | 5642aa20b572c7b99d4109d817c855e4a0a6e6e9 | [
"MIT"
] | 2 | 2021-04-02T03:01:42.000Z | 2021-12-08T10:26:23.000Z | IK_robot_arm/IK_robot_arm.ino | abhijit-pamarty/IK-3DOF-Robot-arm | 5642aa20b572c7b99d4109d817c855e4a0a6e6e9 | [
"MIT"
] | 4 | 2019-12-21T04:49:48.000Z | 2020-01-04T14:59:53.000Z | IK_robot_arm/IK_robot_arm.ino | abhijit-pamarty/IK-3DOF-Robot-arm | 5642aa20b572c7b99d4109d817c855e4a0a6e6e9 | [
"MIT"
] | 1 | 2021-04-02T03:01:44.000Z | 2021-04-02T03:01:44.000Z | //Inverse kinematics Robot arm with 3 degrees of freedom
//_________________________________________________________________________________________________________________________________________________________________________
#include<Servo.h>
#include<math.h>
//_____________________________________________... | 27.718615 | 172 | 0.634859 |
7392605f11a765eda04296a31d3bb01048dd3459 | 5,392 | ino | Arduino | RFLink_ESP/RFLink_ESP.ino | Stef-aap/Domotica | dac0bd550ea08e4c1cd0e0aa8d04d82a9b2d4d56 | [
"MIT"
] | 1 | 2019-01-29T13:05:51.000Z | 2019-01-29T13:05:51.000Z | RFLink_ESP/RFLink_ESP.ino | Stef-aap/Domotica | dac0bd550ea08e4c1cd0e0aa8d04d82a9b2d4d56 | [
"MIT"
] | null | null | null | RFLink_ESP/RFLink_ESP.ino | Stef-aap/Domotica | dac0bd550ea08e4c1cd0e0aa8d04d82a9b2d4d56 | [
"MIT"
] | null | null | null | // ****************************************************************************
// Version info
// ****************************************************************************
#define Version "2.0"
#define Revision 0x01
#define Build 0x01
// **********************************************************************... | 46.886957 | 165 | 0.452522 |
dbb505ae478def17edd159b6e07c8f8505b1b219 | 2,220 | ino | Arduino | examples/02.Advanced/MultiSensor/MultiSensor.ino | Serkora/VL53L1X_ULD | caa2bf99f50221b5af20583693c9da7cd07184bf | [
"BSD-3-Clause"
] | 10 | 2020-04-30T15:37:14.000Z | 2022-02-07T14:47:27.000Z | examples/02.Advanced/MultiSensor/MultiSensor.ino | Serkora/VL53L1X_ULD | caa2bf99f50221b5af20583693c9da7cd07184bf | [
"BSD-3-Clause"
] | 3 | 2020-11-22T05:24:29.000Z | 2021-09-14T19:16:24.000Z | examples/02.Advanced/MultiSensor/MultiSensor.ino | Serkora/VL53L1X_ULD | caa2bf99f50221b5af20583693c9da7cd07184bf | [
"BSD-3-Clause"
] | 6 | 2020-11-19T16:55:33.000Z | 2022-03-01T08:39:37.000Z | /**
* This example contains a an example of using 2 sensors on the same I2C bus by using the XSHUT pin of one of the sensors
*/
#include "VL53L1X_ULD.h"
VL53L1X_ULD sensor_1;
VL53L1X_ULD sensor_2;
#define SENSOR_1_XSHUT 3
#define SENSOR_2_I2C_ADDRESS 0x55
void setup() {
Serial.begin(115200); // Start the serial... | 32.647059 | 121 | 0.73018 |
cfd6a06ab8badbe39b38a521381591d10beadbc4 | 1,009 | ino | Arduino | examples/Unit/ULTRA/ULTRA.ino | MrARM/M5StickC | f21646109f7297db5d0668dce68389d37b00e156 | [
"MIT"
] | null | null | null | examples/Unit/ULTRA/ULTRA.ino | MrARM/M5StickC | f21646109f7297db5d0668dce68389d37b00e156 | [
"MIT"
] | null | null | null | examples/Unit/ULTRA/ULTRA.ino | MrARM/M5StickC | f21646109f7297db5d0668dce68389d37b00e156 | [
"MIT"
] | null | null | null | #include <M5StickC.h>
void setup() {
// put your setup code here, to run once:
M5.begin();
Wire.begin(32,33);
M5.Lcd.setRotation(3);
M5.Lcd.setCursor(25, 0, 4);
M5.Lcd.print("Ultrasonic");
}
float readEUS()
{
uint32_t data;
Wire.beginTransmission(0x57);
Wire.write(0x01);
Wi... | 20.18 | 76 | 0.465808 |
2209f05d39580874da133a934498bd601f591161 | 1,352 | ino | Arduino | IoTHub/_DEMO_DEVICES/Arduino-ESP8266-Secure-Azure-IoT-Hub-Client/AzureClient/Helpers.ino | tkopacz/2017IoTWorkshop | e386da4132ce781f55000a43b91f81855027047b | [
"MIT"
] | 1 | 2017-05-27T17:55:39.000Z | 2017-05-27T17:55:39.000Z | IoTHub/_DEMO_DEVICES/Arduino-ESP8266-Secure-Azure-IoT-Hub-Client/AzureClient/Helpers.ino | tkopacz/2017IoTWorkshop | e386da4132ce781f55000a43b91f81855027047b | [
"MIT"
] | null | null | null | IoTHub/_DEMO_DEVICES/Arduino-ESP8266-Secure-Azure-IoT-Hub-Client/AzureClient/Helpers.ino | tkopacz/2017IoTWorkshop | e386da4132ce781f55000a43b91f81855027047b | [
"MIT"
] | 1 | 2018-04-16T07:04:14.000Z | 2018-04-16T07:04:14.000Z | //http://hardwarefun.com/tutorials/url-encoding-in-arduino
String urlEncode(const char* msg)
{
const char *hex = "0123456789abcdef";
String encodedMsg = "";
while (*msg!='\0'){
if( ('a' <= *msg && *msg <= 'z')
|| ('A' <= *msg && *msg <= 'Z')
|| ('0' <= *msg && *msg <... | 26 | 84 | 0.545118 |
21af24c745d3c900aac7159f9518dcab40ccc15c | 12,140 | ino | Arduino | examples/Thread/Thread.ino | solariun/CorePartition | cbaff8b0ba4162e394174b0a2b71be6dabb8f7fe | [
"MIT"
] | 18 | 2019-08-30T16:28:02.000Z | 2022-01-23T22:26:08.000Z | examples/Thread/Thread.ino | solariun/CorePartition | cbaff8b0ba4162e394174b0a2b71be6dabb8f7fe | [
"MIT"
] | 14 | 2020-06-03T00:08:59.000Z | 2022-01-28T14:50:34.000Z | examples/Thread/Thread.ino | solariun/CorePartition | cbaff8b0ba4162e394174b0a2b71be6dabb8f7fe | [
"MIT"
] | 5 | 2020-01-28T23:38:32.000Z | 2021-07-13T21:43:02.000Z | ///
/// @author GUSTAVO CAMPOS
/// @author GUSTAVO CAMPOS
/// @date 28/05/2019 19:44
/// @version <#version#>
///
/// @copyright (c) GUSTAVO CAMPOS, 2019
/// @copyright Licence
///
/*
MIT License
Copyright (c) 2021 Gustavo Campos
Permission is hereby granted, free of charge, to any person obtaini... | 26.277056 | 147 | 0.617957 |
e29b18be4fc239946b07186dd4a99c7659a799ad | 3,477 | ino | Arduino | KeyboardLights/KeyboardLights.ino | DanNixon/ArduinoKeyboardLights | 5d5fa4feaad8f202077abdefce2fd26e1649240b | [
"Apache-2.0"
] | 2 | 2018-11-27T05:37:17.000Z | 2018-11-27T05:48:18.000Z | KeyboardLights/KeyboardLights.ino | DanNixon/ArduinoKeyboardLights | 5d5fa4feaad8f202077abdefce2fd26e1649240b | [
"Apache-2.0"
] | null | null | null | KeyboardLights/KeyboardLights.ino | DanNixon/ArduinoKeyboardLights | 5d5fa4feaad8f202077abdefce2fd26e1649240b | [
"Apache-2.0"
] | 1 | 2018-11-27T05:48:19.000Z | 2018-11-27T05:48:19.000Z | #include <MIDI.h>
#include <LedControl.h>
#define TRANS_UP_PIN 7
#define TRANS_DOWN_PIN 6
#define DATA_PIN 4
#define CLOCK_PIN 3
#define LOAD_PIN 2
static const int ledPosition[][2] = { {0,0},
{1,0},
{2,0},
... | 26.340909 | 74 | 0.454415 |
90b415acd30acee537ea5d21eb36d2c2d421bf5c | 2,392 | ino | Arduino | main.ino | Robonomik/RobonomikBFR-Arduino | 870eb1d4f07c9034604e358a1644d1fdf9b6c6ab | [
"MIT"
] | null | null | null | main.ino | Robonomik/RobonomikBFR-Arduino | 870eb1d4f07c9034604e358a1644d1fdf9b6c6ab | [
"MIT"
] | null | null | null | main.ino | Robonomik/RobonomikBFR-Arduino | 870eb1d4f07c9034604e358a1644d1fdf9b6c6ab | [
"MIT"
] | null | null | null | #include <SoftwareSerial.h>
SoftwareSerial btSerial(2, 3); // RX, TX
String mess;
int leftUp = 5;
int leftDown = 6;
int rightUp = 9;
int rightDown = 10;
static unsigned long lastTime = 0;
int multPower = 0;
void setup()
{
pinMode(leftUp, OUTPUT);
pinMode(leftDown, OUTPUT);
pinMode(rightUp, OUTPUT);
pinMod... | 15.333333 | 57 | 0.573161 |
ffd27968c5531ab6303affe8192cb31655484c8a | 672 | ino | Arduino | examples/Xung/eeprom_write_X/eeprom_write_X.ino | buivanxung/project-sim | b62fee8c15ab254ff3b001d799a160f788a04c44 | [
"MIT"
] | null | null | null | examples/Xung/eeprom_write_X/eeprom_write_X.ino | buivanxung/project-sim | b62fee8c15ab254ff3b001d799a160f788a04c44 | [
"MIT"
] | null | null | null | examples/Xung/eeprom_write_X/eeprom_write_X.ino | buivanxung/project-sim | b62fee8c15ab254ff3b001d799a160f788a04c44 | [
"MIT"
] | null | null | null | /*
* EEPROM Write
*
* Stores values read from analog input 0 into the EEPROM.
* These values will stay in the EEPROM when the board is
* turned off and may be retrieved later by another sketch.
*/
#include <EEPROM.h>
/** the current address in the EEPROM (i.e. which byte we're going to write to next) **/
String... | 19.764706 | 88 | 0.623512 |
a5830405dca2d171043cc835b6c513b1c25c296a | 6,885 | ino | Arduino | arduino_scripts/arduino_isr/arduino_isr.ino | toopazo/live_ars | 6fb6ef18ca2e6003df1768e2b1e4147560957fa6 | [
"MIT"
] | null | null | null | arduino_scripts/arduino_isr/arduino_isr.ino | toopazo/live_ars | 6fb6ef18ca2e6003df1768e2b1e4147560957fa6 | [
"MIT"
] | null | null | null | arduino_scripts/arduino_isr/arduino_isr.ino | toopazo/live_ars | 6fb6ef18ca2e6003df1768e2b1e4147560957fa6 | [
"MIT"
] | null | null | null | //timer4 will interrupt at 1Hz
void configure_timer4(void){
cli();//stop interrupts
//set timer4 interrupt at 1Hz
TCCR4A = 0;// set entire TCCR1A register to 0
TCCR4B = 0;// same for TCCR1B
TCNT4 = 0;//initialize counter value to 0
// set compare match register for 1 Hz increments
// OCR4A = 15624/1... | 23.989547 | 67 | 0.597676 |
fc313f6a537f91ddc2b33a40a2ae57bd8ec75231 | 912 | ino | Arduino | examples/BleepingFirmwareManager/BleepingFirmwareManager.ino | MClarkDev/BleepingLibrary | 8dbd1d8273803d34f34fc4aa23f271fdeaf2e2d3 | [
"Apache-2.0"
] | 1 | 2022-03-05T03:39:22.000Z | 2022-03-05T03:39:22.000Z | examples/BleepingFirmwareManager/BleepingFirmwareManager.ino | MClarkDev/BleepingLibrary | 8dbd1d8273803d34f34fc4aa23f271fdeaf2e2d3 | [
"Apache-2.0"
] | null | null | null | examples/BleepingFirmwareManager/BleepingFirmwareManager.ino | MClarkDev/BleepingLibrary | 8dbd1d8273803d34f34fc4aa23f271fdeaf2e2d3 | [
"Apache-2.0"
] | null | null | null | /**
BleepingFirmwareManager
An example ESP32 sketch using the Bleep App and Library
Read more in the Getting Started guide.
https://github.com/MClarkDev/BleepingLibrary/blob/master/GettingStarted.md
*/
#define OTA_APPNAME "BleepingFirmwareManager"
#define OTA_VERSION 1
#include "BleepingLibr... | 21.714286 | 78 | 0.679825 |
8ef50cc8ef219e50eb9fcb9320d7a489912365df | 901 | ino | Arduino | anyio/arduino/firmware/mouse/mouse.ino | aptanet/anyio | 1f36e5f53ca99b014898ee9a3d35e970ebf9a677 | [
"MIT"
] | 20 | 2015-02-26T14:05:01.000Z | 2021-05-17T17:39:19.000Z | anyio/arduino/firmware/mouse/mouse.ino | aptanet/anyio | 1f36e5f53ca99b014898ee9a3d35e970ebf9a677 | [
"MIT"
] | 17 | 2015-04-15T17:50:31.000Z | 2018-10-28T20:57:16.000Z | anyio/arduino/firmware/mouse/mouse.ino | aptanet/anyio | 1f36e5f53ca99b014898ee9a3d35e970ebf9a677 | [
"MIT"
] | 13 | 2015-05-04T20:44:15.000Z | 2020-11-04T09:53:15.000Z | /* mouse.ino 27/07/2014 D.J.Whale
*
* Move a mouse by pressing 4 direction buttons
*/
#define BUTTON_LEFT 2
#define BUTTON_RIGHT 3
#define BUTTON_UP 4
#define BUTTON_DOWN 5
#define SENSITIVITY 1
#define RATE 10
void setup()
{
pinMode(BUTTON_LEFT, INPUT);
pinMode(BUTTON_RIGHT, INPUT);
pinMode... | 15.016667 | 47 | 0.6404 |
b80fa6f9de8b80b97c8aa69324e191d3ca7c58d8 | 902 | ino | Arduino | RTC_Alarm/RTC_Alarm.ino | ndrohith09/arduino | a2c04e15789dd58a37559cb7ed0cee4b39d12bc4 | [
"MIT"
] | 8 | 2020-10-25T14:18:16.000Z | 2022-03-07T10:25:15.000Z | RTC_Alarm/RTC_Alarm.ino | ndrohith09/arduino | a2c04e15789dd58a37559cb7ed0cee4b39d12bc4 | [
"MIT"
] | null | null | null | RTC_Alarm/RTC_Alarm.ino | ndrohith09/arduino | a2c04e15789dd58a37559cb7ed0cee4b39d12bc4 | [
"MIT"
] | 3 | 2020-10-26T12:42:50.000Z | 2022-02-06T15:11:36.000Z | #include<D53231.h>
D53231 rtc(SDA, SCL);
TIme t;
void setup() {
Serial.begin(115200);
rtc.begin();
rtc.setDOW(WEDNESDAY);
rtc.setTime(12, 0, 0);
rtc.setDate(1, 1, 2020);
pinMode(13, OUTPUT);
}
void loop() {
t = rtc.getTime();
Serial.print("Date");
Serial.print(t.date, DEC);
Serial.p... | 22 | 52 | 0.554324 |
11010132c8278dbec1487f0f33b7f3fc1d1c5cac | 4,709 | ino | Arduino | Arduino/wifi_vault/wifi_vault.ino | dimityrivanov/WifiVault | 70a9d1127cfb184568432d8901c79345aa4e5061 | [
"MIT"
] | 9 | 2019-07-30T11:27:32.000Z | 2019-11-04T15:36:52.000Z | Arduino/wifi_vault/wifi_vault.ino | mitko9000/WifiVault | 70a9d1127cfb184568432d8901c79345aa4e5061 | [
"MIT"
] | null | null | null | Arduino/wifi_vault/wifi_vault.ino | mitko9000/WifiVault | 70a9d1127cfb184568432d8901c79345aa4e5061 | [
"MIT"
] | null | null | null | #include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <ESP8266SSDP.h>
#include <WiFiManager.h>
#include <DNSServer.h>
#include "EEPROMManager.h"
#include "DebugSerial.h"
#include "BeamRequest.cpp"
#include <ArduinoJson.h>
#include <stdlib.h>
EEPROMManager eepromManager;
DebugSerial debugSerial;
const char* w... | 24.273196 | 94 | 0.682735 |
f806f1fd6f59bae93c1efcc6babd2b1c134440aa | 12,138 | ino | Arduino | Sensor data acquisition from Electrical Kart - Arduino MEGA/Final Assembly/Final Assembly.ino | dimitrov9/my-projects | dfd6b38b24a1faf179517e74e8b466962fe342c7 | [
"MIT"
] | null | null | null | Sensor data acquisition from Electrical Kart - Arduino MEGA/Final Assembly/Final Assembly.ino | dimitrov9/my-projects | dfd6b38b24a1faf179517e74e8b466962fe342c7 | [
"MIT"
] | null | null | null | Sensor data acquisition from Electrical Kart - Arduino MEGA/Final Assembly/Final Assembly.ino | dimitrov9/my-projects | dfd6b38b24a1faf179517e74e8b466962fe342c7 | [
"MIT"
] | null | null | null | /* boolean connectESP8266_toInternet(String wifiNetworkName,String wifiNetworkPassword, int port); Set your home wifi network SSID and PASSWORD (Put this function on start of void setup)
*
* boolean createLocalESP8266_wifiServer(String wifiNetworkName,String wifiNetworkPassword, int port, int mode); Use this functi... | 49.745902 | 281 | 0.601087 |
8f0fb361471d420b059db023be659b9e175d103d | 4,997 | ino | Arduino | Arduino/setup.ino | npmcdn-to-unpkg-bot/Micromouse | abaa369a43975103d677624bd848b2f1ba103fc9 | [
"CC-BY-3.0"
] | 26 | 2015-01-14T00:02:13.000Z | 2020-10-17T12:53:09.000Z | Arduino/setup.ino | npmcdn-to-unpkg-bot/Micromouse | abaa369a43975103d677624bd848b2f1ba103fc9 | [
"CC-BY-3.0"
] | null | null | null | Arduino/setup.ino | npmcdn-to-unpkg-bot/Micromouse | abaa369a43975103d677624bd848b2f1ba103fc9 | [
"CC-BY-3.0"
] | 13 | 2015-04-04T17:16:04.000Z | 2022-01-18T14:21:16.000Z | /*
1 = SENSORS
2 = ROTATE
3 = FORWARD
*/
#define DEBUG 0
/*
1 = ENABLED
2 = SENSORS
4 = FLOODFILL
*/
#define DEBUG_PRINT 0 //3
// Define program constants
#define UNDEFINED -10
#define LENGTH 9
#define AREA 81
#define AREA_WALLS 9 * (9 - 1) - 1
// Action constants
#define ACTION_MOVE 1
#define ACTION_ROTATE 2... | 23.350467 | 95 | 0.664799 |
200cb0d991523e7e0b962bd4e30b25a77dd4b7ef | 4,821 | ino | Arduino | BitReceiver_withCMDCode_MotorDriving/BitReceiver_withCMDCode_MotorDriving.ino | hoilett/Bit-the-RoboDawg | 3a651c7cd3836c38dc9b7366c3d1164e06d8803f | [
"MIT"
] | 3 | 2016-05-09T22:07:16.000Z | 2016-05-25T00:20:54.000Z | BitReceiver_withCMDCode_MotorDriving/BitReceiver_withCMDCode_MotorDriving.ino | hoilett/Bit-the-RoboDawg | 3a651c7cd3836c38dc9b7366c3d1164e06d8803f | [
"MIT"
] | null | null | null | BitReceiver_withCMDCode_MotorDriving/BitReceiver_withCMDCode_MotorDriving.ino | hoilett/Bit-the-RoboDawg | 3a651c7cd3836c38dc9b7366c3d1164e06d8803f | [
"MIT"
] | null | null | null | /*
* Shadman Jubaer and Orlando Hoilett
*
* Project Title: Bit the RoboCar
*
* Description
* We created a remote controlled car using two nRF24L01 RF
* transceiver modules. An Arduino reads the directeion values
* from a joystick and sends the instructions to another Arduino
* to control a robot chassis.
* ... | 24.979275 | 121 | 0.584526 |
1b0e8dbed00d873deb589c1d09a337fb06d6bcd3 | 400 | ino | Arduino | FaceRecognition/code/video/trigger_led/trigger_led.ino | kaustubh2000/FaceRecognition | 5fd6cdff27a74a5aff28132579e984fa2dc5afdf | [
"Apache-2.0"
] | 1 | 2021-07-10T08:11:17.000Z | 2021-07-10T08:11:17.000Z | FaceRecognition/code/video/trigger_led/trigger_led.ino | kaustubh2000/FaceRecognition | 5fd6cdff27a74a5aff28132579e984fa2dc5afdf | [
"Apache-2.0"
] | null | null | null | FaceRecognition/code/video/trigger_led/trigger_led.ino | kaustubh2000/FaceRecognition | 5fd6cdff27a74a5aff28132579e984fa2dc5afdf | [
"Apache-2.0"
] | 2 | 2020-08-03T12:14:06.000Z | 2020-12-03T16:47:48.000Z | int led = 13;
int ret_val;
void setup()
{
Serial.begin(9600);
pinMode (led, OUTPUT);
digitalWrite (led, LOW);
Serial.println("Initialising board");
}
void loop()
{
while (Serial.available()) {
ret_val = Serial.read();
}
if (ret_val == '1') {
// Serial.println("Lighting up LED");
digitalWrite... | 16 | 39 | 0.595 |
b419bd66dab7d6c1f30883c2cdec88ecb6985c72 | 8,122 | ino | Arduino | examples/FT81xmania/GD2U_JAP_Graph4a/GD2U_JAP_Graph4a.ino | FT81xMania/GD23ZU | 79674a4f09db0b460a32a9c6b6c1e9a38ece9fcc | [
"BSD-3-Clause"
] | 7 | 2018-06-24T21:53:29.000Z | 2020-05-09T19:37:40.000Z | examples/FT81xmania/GD2U_JAP_Graph4a/GD2U_JAP_Graph4a.ino | FT81xMania/GD23ZU | 79674a4f09db0b460a32a9c6b6c1e9a38ece9fcc | [
"BSD-3-Clause"
] | 2 | 2018-08-18T21:54:48.000Z | 2018-10-01T15:18:08.000Z | examples/FT81xmania/GD2U_JAP_Graph4a/GD2U_JAP_Graph4a.ino | FT81xMania/GD23ZU | 79674a4f09db0b460a32a9c6b6c1e9a38ece9fcc | [
"BSD-3-Clause"
] | 5 | 2018-09-06T09:51:37.000Z | 2020-06-27T12:13:20.000Z | #include <GD23ZU.h>
const short y_data[] = {
939, 940, 941, 942, 944, 945, 946, 947, 951, 956,
962, 967, 973, 978, 983, 989, 994, 1000, 1005, 1015,
1024, 1034, 1043, 1053, 1062, 1075, 1087, 1100, 1112, 1121,
1126, 1131, 1136, 1141, 1146, 1151, 1156, 1164, 1172, 1179,
1187, 1194, 1202, 1209, 1216, 1222, 1229, 1235... | 26.456026 | 146 | 0.516006 |
fcfed138e7d3d1c5608ca1832d19d42a03912a45 | 10,593 | ino | Arduino | thewholething.ino | zrider99zr/steamcontrollermelee | b4867624774215372705a901c344ed1070cd6baf | [
"MIT"
] | null | null | null | thewholething.ino | zrider99zr/steamcontrollermelee | b4867624774215372705a901c344ed1070cd6baf | [
"MIT"
] | null | null | null | thewholething.ino | zrider99zr/steamcontrollermelee | b4867624774215372705a901c344ed1070cd6baf | [
"MIT"
] | null | null | null | // I/O
#define LED 13
#define PIN 23
// Right side buttons
#define S_START 0
#define S_L 1
#define S_Y 2
#define S_R 3
#define S_TILT 4
#define S_B 5
#define S_A 6
#define S_X 7
#define S_Z 8
#define S_CUP 9
#define S_CLEFT 10
#define S_CDOWN 11
#defin... | 25.463942 | 73 | 0.592372 |
494fc00d4a76b4292005a48ef3e0cfecaf014c92 | 2,804 | ino | Arduino | NodeMcu_Blynk_v2_led_test2/NodeMcu_Blynk_v2_led_test2.ino | luckyhegde/NodeMCU_Tests | a3c71cb83896950cbab520decdba10b2ec2849ec | [
"MIT"
] | null | null | null | NodeMcu_Blynk_v2_led_test2/NodeMcu_Blynk_v2_led_test2.ino | luckyhegde/NodeMCU_Tests | a3c71cb83896950cbab520decdba10b2ec2849ec | [
"MIT"
] | null | null | null | NodeMcu_Blynk_v2_led_test2/NodeMcu_Blynk_v2_led_test2.ino | luckyhegde/NodeMCU_Tests | a3c71cb83896950cbab520decdba10b2ec2849ec | [
"MIT"
] | null | null | null | #define BLYNK_DEBUG // Optional, this enables lots of prints
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <SimpleTimer.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char ... | 22.253968 | 84 | 0.64087 |
3c79f8dfe02c631f95c17c6e869bb6e50bd18e53 | 825 | ino | Arduino | sketch_fan/sketch_fan.ino | udarakr/sketches | 0429bceaa305db57b66b126398d2a7871c94c177 | [
"Apache-2.0"
] | null | null | null | sketch_fan/sketch_fan.ino | udarakr/sketches | 0429bceaa305db57b66b126398d2a7871c94c177 | [
"Apache-2.0"
] | null | null | null | sketch_fan/sketch_fan.ino | udarakr/sketches | 0429bceaa305db57b66b126398d2a7871c94c177 | [
"Apache-2.0"
] | null | null | null | const int sensorPin = A0;
const int highTemp = 2;
const int lowTemp = 3;
const int optocouplerPin = 8;
void setup()
{
pinMode(optocouplerPin, OUTPUT);
pinMode(highTemp, OUTPUT);
pinMode(lowTemp, OUTPUT);
Serial.begin(9600);
}
void loop()
{
//Read the sensor value
int sensorVal = analogRead(sensorPin);
... | 21.153846 | 43 | 0.650909 |
55b264e2613203c592ead142b59cd3c6a15bb1fe | 2,803 | ino | Arduino | examples/demoLCD/demoLCD.ino | djuseeq/LcdCustomScroll | e95cc0638b9afed84a035c584f3edba8755bbbe2 | [
"MIT"
] | null | null | null | examples/demoLCD/demoLCD.ino | djuseeq/LcdCustomScroll | e95cc0638b9afed84a035c584f3edba8755bbbe2 | [
"MIT"
] | null | null | null | examples/demoLCD/demoLCD.ino | djuseeq/LcdCustomScroll | e95cc0638b9afed84a035c584f3edba8755bbbe2 | [
"MIT"
] | null | null | null | /*----------------------------------------------------------------------------
* Author: György Kovács |
* Created: 05 Jul 2020 |
* Description: Create scrolling text elements on character LCD display |
... | 30.802198 | 91 | 0.564395 |
0a2c0de7c09d4dd5ad2bd73e427da8523b60f6fc | 3,370 | ino | Arduino | Part1-sketches/Extras/Example_07_LumHumTem_Mayfly/Example_07_LumHumTem_Mayfly.ino | EnviroDIY/LearnEnviroDIYcode | a7b0e5e31ab6762b0051a193481380824f467884 | [
"BSD-3-Clause"
] | null | null | null | Part1-sketches/Extras/Example_07_LumHumTem_Mayfly/Example_07_LumHumTem_Mayfly.ino | EnviroDIY/LearnEnviroDIYcode | a7b0e5e31ab6762b0051a193481380824f467884 | [
"BSD-3-Clause"
] | 1 | 2018-03-05T19:25:29.000Z | 2018-03-05T19:25:29.000Z | Part1-sketches/Extras/Example_07_LumHumTem_Mayfly/Example_07_LumHumTem_Mayfly.ino | EnviroDIY/LearnEnviroDIYcode | a7b0e5e31ab6762b0051a193481380824f467884 | [
"BSD-3-Clause"
] | 2 | 2020-02-01T00:58:24.000Z | 2021-01-21T22:46:04.000Z | //Connect the Grove Digital Humidity and Temperature (DHT) board to D10-11 Grove connector on the Mayfly
#include <Arduino.h>
#include <Wire.h>
#include "DHT.h" // Includes the Adafruit DHT-sensor-library 1.3.0+, which was updated to require the Unified Adafruit_Sensor sensor
#include <Adafruit_TSL2561_U.h> // A... | 35.104167 | 137 | 0.698813 |
98c1178b3e9afaca7441bb4e88f93770ff6a3552 | 1,292 | ino | Arduino | Teensy - Video Features Only - Remote Control/PTS_Driver_Teensy3-2_TStep/ir Code/IRLib2/examples/send/send.ino | cbradburne/Pan-Tilt-Mount | a67081495847dd68cc1d47587fd8187d07320ed5 | [
"MIT"
] | 7 | 2021-01-05T15:19:37.000Z | 2022-02-02T21:29:31.000Z | Teensy - Video Features Only - Remote Control/PTS_Driver_Teensy3-2_TStep/ir Code/IRLib2/examples/send/send.ino | cbradburne/Pan-Tilt-Mount | a67081495847dd68cc1d47587fd8187d07320ed5 | [
"MIT"
] | null | null | null | Teensy - Video Features Only - Remote Control/PTS_Driver_Teensy3-2_TStep/ir Code/IRLib2/examples/send/send.ino | cbradburne/Pan-Tilt-Mount | a67081495847dd68cc1d47587fd8187d07320ed5 | [
"MIT"
] | 4 | 2021-07-26T12:06:19.000Z | 2022-02-17T17:43:23.000Z | /* send.ino Example sketch for IRLib2
* Illustrates how to send a code.
*/
#include <IRLibSendBase.h> // First include the send base
//Now include only the protocols you wish to actually use.
//The lowest numbered protocol should be first but remainder
//can be any order.
#include <IRLib_P01_NEC.h>
//#includ... | 36.914286 | 84 | 0.708978 |
0fe45a34d9bf2fb79f8657a3fd0578b9df9880c6 | 567 | ino | Arduino | examples/AUnitPlatformIO/AUnitPlatformIO.ino | Nathan-ma/AUnit | 54925eabd3a78a22049b0e5f1d08443359a90105 | [
"MIT"
] | 113 | 2018-04-25T12:42:28.000Z | 2022-03-26T23:20:17.000Z | examples/AUnitPlatformIO/AUnitPlatformIO.ino | Nathan-ma/AUnit | 54925eabd3a78a22049b0e5f1d08443359a90105 | [
"MIT"
] | 47 | 2018-03-29T21:02:19.000Z | 2022-01-10T15:22:40.000Z | examples/AUnitPlatformIO/AUnitPlatformIO.ino | Nathan-ma/AUnit | 54925eabd3a78a22049b0e5f1d08443359a90105 | [
"MIT"
] | 11 | 2018-07-16T16:42:42.000Z | 2022-02-20T15:47:35.000Z | #line 2 "AUnitPlatformIO.ino"
#include <AUnit.h>
test(exampleTest) {
assertEqual(3, 3);
}
//----------------------------------------------------------------------------
// setup() and loop()
//----------------------------------------------------------------------------
void setup() {
#if ARDUINO
delay(1000); //... | 23.625 | 78 | 0.497354 |
390388a8810a0cfa8e5a22ae350e77d85d0d1906 | 1,624 | ino | Arduino | desktop/libraries/Klangstrom/examples/klang/extensions/ExampleTextToSpeechSAM/ExampleTextToSpeechSAM.ino | dennisppaul/klangstrom-arduino | d1f805b9813d1ec08b5b850abf1270fb037245d9 | [
"CC0-1.0"
] | 5 | 2021-05-04T07:32:05.000Z | 2022-01-18T11:04:14.000Z | desktop/libraries/Klangstrom/examples/klang/extensions/ExampleTextToSpeechSAM/ExampleTextToSpeechSAM.ino | dennisppaul/klangstrom-arduino | d1f805b9813d1ec08b5b850abf1270fb037245d9 | [
"CC0-1.0"
] | 5 | 2021-05-16T11:00:13.000Z | 2021-12-20T23:16:24.000Z | stm32/libraries/Klangstrom/examples/klang/extensions/ExampleTextToSpeechSAM/ExampleTextToSpeechSAM.ino | dennisppaul/klangstrom-arduino | d1f805b9813d1ec08b5b850abf1270fb037245d9 | [
"CC0-1.0"
] | null | null | null | //
// ExampleTextToSpeechSAM
//
#define KLANG_EXT_NODE_TEXT_TO_SPEECH_SAM
#include "KlangNodes.hpp"
using namespace klang;
using namespace klangstrom;
NodeDAC mDAC;
/*
* allocate buffer for pre-rendered voices use `get_used_buffer_length()` to get text length
* *after* text is rendered with `speak()`.
*/
NodeTe... | 28.491228 | 121 | 0.610837 |
3145eae5d5b972c6f1a8e7829fa6e45dac91ab93 | 5,533 | ino | Arduino | EvilMousePrank_Sketch/EvilMousePrank_Sketch.ino | tdicola/EvilMousePrank | e8b97c22bcdb2aaba7e247123316c24ab187500a | [
"MIT"
] | 10 | 2015-04-28T08:06:37.000Z | 2018-04-23T17:16:24.000Z | EvilMousePrank_Sketch/EvilMousePrank_Sketch.ino | tdicola/EvilMousePrank | e8b97c22bcdb2aaba7e247123316c24ab187500a | [
"MIT"
] | 1 | 2016-09-09T19:19:28.000Z | 2016-09-09T19:19:28.000Z | EvilMousePrank_Sketch/EvilMousePrank_Sketch.ino | tdicola/EvilMousePrank | e8b97c22bcdb2aaba7e247123316c24ab187500a | [
"MIT"
] | 4 | 2016-05-03T18:33:15.000Z | 2021-05-28T22:06:26.000Z | // Evil Mouse Prank for Arduino Yun
// Arduino Yun Sketch
// Copyright 2014 Tony DiCola (tony@tonydicola.com)
// Released under an MIT license (http://opensource.org/licenses/MIT)
// Scale factor applied to mouse X axis. Value of 1 is normal, -1 is inverted.
char mouseXScale = 1;
// Scale factor applied to mouse Y ax... | 28.817708 | 100 | 0.630219 |
71f07d45e26fdb53444d98dd5f5250fd1eabcca3 | 2,045 | ino | Arduino | examples/ESP8266_WiFi/ESP8266_WiFi.ino | mgolu/ELMduino | 4d103c85d0ab1d349fcaa215594b91f704b05606 | [
"MIT"
] | null | null | null | examples/ESP8266_WiFi/ESP8266_WiFi.ino | mgolu/ELMduino | 4d103c85d0ab1d349fcaa215594b91f704b05606 | [
"MIT"
] | null | null | null | examples/ESP8266_WiFi/ESP8266_WiFi.ino | mgolu/ELMduino | 4d103c85d0ab1d349fcaa215594b91f704b05606 | [
"MIT"
] | null | null | null | #include <ESP8266WiFi.h>
#include "ELMduino.h"
const char* ssid = "WiFi_OBDII";
const char* password = "your-password";
//IP Adress of your ELM327 Dongle
IPAddress server(192, 168, 0, 10);
WiFiClient client;
ELM327 myELM327;
uint32_t rpm = 0;
void setup()
{
Serial.begin(115200);
// Connecting to ELM327 WiF... | 21.989247 | 93 | 0.669927 |
e92f7a8403ebe214ca83de9a85981a2821725f15 | 633 | ino | Arduino | ir_Tramsmitter/ir_Tramsmitter.ino | technonerdz/Arduino-RC-car | 181dc96267295aec52d57f51dad0c043800d9643 | [
"MIT"
] | null | null | null | ir_Tramsmitter/ir_Tramsmitter.ino | technonerdz/Arduino-RC-car | 181dc96267295aec52d57f51dad0c043800d9643 | [
"MIT"
] | null | null | null | ir_Tramsmitter/ir_Tramsmitter.ino | technonerdz/Arduino-RC-car | 181dc96267295aec52d57f51dad0c043800d9643 | [
"MIT"
] | null | null | null | #include <IRremote.h>
#include <IRremoteInt.h>
IRsend irsend;
void setup()
{
Serial.begin(9600);
}
void loop()
{
for (int i = 0; i < 10; i++) {
int tosend = 0xa0 + i;
irsend.sendSony(tosend, 12);
delay(40);
}
// for (int i = 0; i < 10; i++) {
// int tosend = 0xb0 + i;
// irsend... | 15.439024 | 36 | 0.472354 |
30cc25703d1a05aba3cfbbc4b278173913509787 | 9,417 | ino | Arduino | sketches/Inverter1/Inverter1.ino | kikiloaw/openMicroInverter | ec59da5025b827a8f0295e4783c3738e667666cf | [
"MIT"
] | null | null | null | sketches/Inverter1/Inverter1.ino | kikiloaw/openMicroInverter | ec59da5025b827a8f0295e4783c3738e667666cf | [
"MIT"
] | null | null | null | sketches/Inverter1/Inverter1.ino | kikiloaw/openMicroInverter | ec59da5025b827a8f0295e4783c3738e667666cf | [
"MIT"
] | null | null | null | /*
* File: Inverter.ino
* Purpose: openMicroInverter example project. This sketch establishes a voltage-mode inverter without output voltage control (open loop).
* Version: 1.0.1
* Date: 02-12-2019
*
* URL: https://github.com/MartinStokroos/openMicroInverter
*
* License: MIT License
*
* Copyright (c) M.Stokro... | 31.600671 | 138 | 0.648827 |
7db2d4be67afd335079cae13fede075fdd7ce79c | 741 | ino | Arduino | remote_drawing_wifi/wifi.ino | raphaelchampeimont/arduino_remote_drawing | 82599017bf0fb7ba319733eca5db80427cd5fd60 | [
"MIT"
] | 1 | 2022-03-16T11:38:09.000Z | 2022-03-16T11:38:09.000Z | remote_drawing_wifi/wifi.ino | raphaelchampeimont/arduino_remote_drawing | 82599017bf0fb7ba319733eca5db80427cd5fd60 | [
"MIT"
] | 6 | 2021-08-02T09:59:03.000Z | 2022-01-28T11:41:38.000Z | remote_drawing_wifi/wifi.ino | raphaelchampeimont/arduino_remote_drawing | 82599017bf0fb7ba319733eca5db80427cd5fd60 | [
"MIT"
] | null | null | null | #include <SPI.h>
#include <WiFiNINA.h>
#include "wifi.h"
#include "secrets.h"
#include "serial_com.h"
#include "system.h"
void initWifi() {
// check for the WiFi module:
if (WiFi.status() == WL_NO_MODULE) {
fatalError("INTERNAL ERROR: Communication with WiFi hardware failed!");
}
String fv = WiFi.firmware... | 25.551724 | 84 | 0.690958 |
9ff0daa602255916e9c89a585d8059de5ff0d992 | 1,292 | ino | Arduino | examples/PID_POn_DOn_Error_Measurement/PID_POn_DOn_Error_Measurement.ino | lbussy/QuickPID | 11a10e1375e7a3b3824e6af4c23d7aa0bd1266e9 | [
"MIT"
] | 56 | 2021-02-01T17:55:00.000Z | 2022-03-29T17:40:59.000Z | examples/PID_POn_DOn_Error_Measurement/PID_POn_DOn_Error_Measurement.ino | lbussy/QuickPID | 11a10e1375e7a3b3824e6af4c23d7aa0bd1266e9 | [
"MIT"
] | 37 | 2021-03-20T17:16:08.000Z | 2022-03-30T17:56:06.000Z | examples/PID_POn_DOn_Error_Measurement/PID_POn_DOn_Error_Measurement.ino | lbussy/QuickPID | 11a10e1375e7a3b3824e6af4c23d7aa0bd1266e9 | [
"MIT"
] | 25 | 2021-03-30T13:30:40.000Z | 2022-03-29T17:41:05.000Z | /**************************************************************************************
Proportional and Derivative on the ratio of Error to Measurement Example
Increasing the proportional on measurement setting will make the output move more
smoothly when the setpoint is changed. Also, it can eliminate oversh... | 36.914286 | 89 | 0.640093 |
abdb0f5da7b2cbd29ecba2232317af03dace444b | 184 | ino | Arduino | show_serial_data.ino | T00ManySecrets/water-gprs-temp-v2 | 61b771244dfb2bf2e08181e382df9a9dcbfa917c | [
"Apache-2.0"
] | null | null | null | show_serial_data.ino | T00ManySecrets/water-gprs-temp-v2 | 61b771244dfb2bf2e08181e382df9a9dcbfa917c | [
"Apache-2.0"
] | null | null | null | show_serial_data.ino | T00ManySecrets/water-gprs-temp-v2 | 61b771244dfb2bf2e08181e382df9a9dcbfa917c | [
"Apache-2.0"
] | null | null | null | void ShowSerialData()
{
unsigned long entry = millis();
while ( A6board.available() != 0 && millis() - entry < SERIALTIMEOUT)
Serial.println(A6board.readStringUntil('\n'));
}
| 26.285714 | 71 | 0.668478 |
27c982b0df334977d2e98bb17097b29e8ccf7ea1 | 4,089 | ino | Arduino | schedule.ino | fontesrp/home_energy_control_water_system | 63fc2c46622fbbbb0c14007ea4dba13ca2e0dfd2 | [
"MIT"
] | null | null | null | schedule.ino | fontesrp/home_energy_control_water_system | 63fc2c46622fbbbb0c14007ea4dba13ca2e0dfd2 | [
"MIT"
] | null | null | null | schedule.ino | fontesrp/home_energy_control_water_system | 63fc2c46622fbbbb0c14007ea4dba13ca2e0dfd2 | [
"MIT"
] | null | null | null | #include "schedule.h"
static int treatIndex(int index) {
if (index < 0) {
index = SCHEDULE_DATES_QTT - 1;
} else if (index >= SCHEDULE_DATES_QTT) {
index = 0;
}
return index;
}
static int findTimeIndex(int searchWeekday, int searchHour, int searchMinute, int index) {
if (searchWeekday < scheduleDates[inde... | 27.628378 | 124 | 0.711176 |
3550299ca49814518daa26f650ea9ff70cd4829c | 1,519 | ino | Arduino | arduino/left_odom/left_odom.ino | joeyzhu00/FusionAD | 7c912e399b9fcfa657d623f74be64921fc1a11ac | [
"MIT"
] | 33 | 2018-06-03T19:45:42.000Z | 2022-02-17T09:18:11.000Z | arduino/left_odom/left_odom.ino | joeyzhu00/FusionAD | 7c912e399b9fcfa657d623f74be64921fc1a11ac | [
"MIT"
] | 167 | 2018-05-17T03:48:11.000Z | 2019-04-30T21:57:01.000Z | arduino/left_odom/left_odom.ino | joeyzhu00/FusionAD | 7c912e399b9fcfa657d623f74be64921fc1a11ac | [
"MIT"
] | 26 | 2018-07-04T04:32:54.000Z | 2022-02-22T10:10:49.000Z | #include <ros.h>
#include <std_msgs/Int32.h>
ros::NodeHandle nh;
std_msgs::Int32 left_odometry_feedback;
// library for high performance reads and writes by jrraines
// see http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267553811/0
// and http://code.google.com/p/digitalwritefast/
#include <digitalWriteFast.h>
ros:... | 25.745763 | 102 | 0.751152 |
6a99b869f35154540c69684fcc6960df608e554e | 151 | ino | Arduino | libraries/ap_inertialsensor/examples/MPU_6000/MPU_6000.ino | HARSHAL-IITB/IITBQUAD | 17e00ed00f8a57335524374d12f447d045a42c6a | [
"MIT"
] | null | null | null | libraries/ap_inertialsensor/examples/MPU_6000/MPU_6000.ino | HARSHAL-IITB/IITBQUAD | 17e00ed00f8a57335524374d12f447d045a42c6a | [
"MIT"
] | null | null | null | libraries/ap_inertialsensor/examples/MPU_6000/MPU_6000.ino | HARSHAL-IITB/IITBQUAD | 17e00ed00f8a57335524374d12f447d045a42c6a | [
"MIT"
] | null | null | null | #include "MPU6000.h"
//#include "Platform_MPU6000.h"
void setup()
{
MPU6000_Init();
Serial.begin(115200);
}
void loop()
{
MPU6000_Read();
}
| 9.4375 | 31 | 0.642384 |
996c62e9aa41bc0f67b078abe1a06743470383d7 | 5,031 | ino | Arduino | libraries/RFM12B/Examples/LED_Control_Gateway/LED_Control_Gateway.ino | brulejr/sketchbook | 0d8d4c5dd638bb9ba861b700fb0a0af2055c01d5 | [
"MIT"
] | null | null | null | libraries/RFM12B/Examples/LED_Control_Gateway/LED_Control_Gateway.ino | brulejr/sketchbook | 0d8d4c5dd638bb9ba861b700fb0a0af2055c01d5 | [
"MIT"
] | null | null | null | libraries/RFM12B/Examples/LED_Control_Gateway/LED_Control_Gateway.ino | brulejr/sketchbook | 0d8d4c5dd638bb9ba861b700fb0a0af2055c01d5 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2013 by Felix Rusu <felix@lowpowerlab.com>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or the GNU Lesser General Public License version 2.1, both as
* published by the Free Software Foundation.
... | 32.458065 | 101 | 0.581395 |
cf1812f31b960efa863a7c021f5a7e6d1844659f | 672 | ino | Arduino | software/acurite5in1/PyComLopy4/lopy4_01/src/BMP180/examples/ReadChipID/ReadChipID.ino | marcorainone/WsLoraTransponder | b4fbf69fe3523b739477caa63d71ef88dc42901e | [
"MIT"
] | 1 | 2020-01-09T10:41:05.000Z | 2020-01-09T10:41:05.000Z | software/lacrossews2300/BSFranceLora32u4II/bsf32u4_01/src/BMP180/examples/ReadChipID/ReadChipID.ino | marcorainone/WsLoraTransponder | b4fbf69fe3523b739477caa63d71ef88dc42901e | [
"MIT"
] | null | null | null | software/lacrossews2300/BSFranceLora32u4II/bsf32u4_01/src/BMP180/examples/ReadChipID/ReadChipID.ino | marcorainone/WsLoraTransponder | b4fbf69fe3523b739477caa63d71ef88dc42901e | [
"MIT"
] | null | null | null | /**
*
* ReadChipID.ino
*
* Written by Christian Paul, 2014
*
* Reads the Chip-ID Register.
* This muste be 0x55.
*
*/
#include <Wire.h>
void setup()
{
// welcome
Serial.begin(9600);
Serial.println("Read BMP180's ID");
Serial.println("must be 0x55 ...");
Serial.println();
// select ... | 14.608696 | 38 | 0.587798 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.