commit
stringlengths
40
40
old_file
stringlengths
2
205
new_file
stringlengths
2
205
old_contents
stringlengths
0
32.9k
new_contents
stringlengths
1
38.9k
subject
stringlengths
3
9.4k
message
stringlengths
6
9.84k
lang
stringlengths
3
13
license
stringclasses
13 values
repos
stringlengths
6
115k
b2d7333706b56ae505737451d922df81e92340eb
examples/mqtt_arbitrary_data/mqtt_arbitrary_data.ino
examples/mqtt_arbitrary_data/mqtt_arbitrary_data.ino
/*************************************************** Adafruit MQTT Library Arbitrary Data Example Must use ESP8266 Arduino from: https://github.com/esp8266/Arduino Works great with Adafruit's Huzzah ESP board & Feather ----> https://www.adafruit.com/product/2471 ----> https://www.adafruit.com/products/2...
/*************************************************** Adafruit MQTT Library Arbitrary Data Example Must use ESP8266 Arduino from: https://github.com/esp8266/Arduino Works great with Adafruit's Huzzah ESP board & Feather ----> https://www.adafruit.com/product/2471 ----> https://www.adafruit.com/products/2...
Clean up
Clean up
Arduino
mit
adafruit/Adafruit_MQTT_Library
e9dd4478647821bfbea730881f1bfe39f9868fea
examples/BoardsAndShields/Arduino_WiFi/Arduino_WiFi.ino
examples/BoardsAndShields/Arduino_WiFi/Arduino_WiFi.ino
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
Update Arduino_WiFi.ino
Update Arduino_WiFi.ino
Arduino
mit
ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library
05d1d4f13cb31fb9b1202ab45aa113f87ad09135
binary_clock.ino
binary_clock.ino
#include <Wire.h> #include "TM1637.h" #include "LedControlMS.h" // Кнопки настроек #define SETTINGS_MODE A0 // Выбор режима #define SETTINGS_UP A1 // Вверх #define SETTINGS_DOWN A2 // Вниз // Адрес модуля ds3231 на шине I2C #define DS3231_I2C_ADDRESS 0x68 // Объект для работы со светодиодной матрицей /* * Подк...
#include <Wire.h> #include "LedControlMS.h" // Кнопки настроек #define SETTINGS_MODE A0 // Выбор режима #define SETTINGS_UP A1 // Вверх #define SETTINGS_DOWN A2 // Вниз // Адрес модуля ds3231 на шине I2C #define DS3231_I2C_ADDRESS 0x68 // Объект для работы со светодиодной матрицей /* * Подключение * DIN - 12 ...
remove TM1637 lib include
remove TM1637 lib include
Arduino
mit
AlexanderPopov/binary-clock
0c804490097e1669c32a48976fa2f5fc882abdf4
firmware/examples/ADXL362_SimpleRead/ADXL362_SimpleRead.ino
firmware/examples/ADXL362_SimpleRead/ADXL362_SimpleRead.ino
/* ADXL362_SimpleRead.ino - Simple XYZ axis reading example for Analog Devices ADXL362 - Micropower 3-axis accelerometer go to http://www.analog.com/ADXL362 for datasheet License: CC BY-SA 3.0: Creative Commons Share-alike 3.0. Feel free to use and abuse this code however you'd like. If you find it useful p...
/* ADXL362_SimpleRead.ino - Simple XYZ axis reading example for Analog Devices ADXL362 - Micropower 3-axis accelerometer go to http://www.analog.com/ADXL362 for datasheet License: CC BY-SA 3.0: Creative Commons Share-alike 3.0. Feel free to use and abuse this code however you'd like. If you find it useful p...
Update ADXL362_SimpleRead.ino
Update ADXL362_SimpleRead.ino
Arduino
cc0-1.0
gregoryfenton/adxl362
850d83067d7d66baf0c22367808958d0881822c6
examples/Boards_GSM/TinyGSM_MKR1400/TinyGSM_MKR1400.ino
examples/Boards_GSM/TinyGSM_MKR1400/TinyGSM_MKR1400.ino
/************************************************************* Download latest Blynk library here: https://github.com/blynkkk/blynk-library/releases/latest Blynk is a platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. You can easily build graphic interfaces...
/************************************************************* Download latest Blynk library here: https://github.com/blynkkk/blynk-library/releases/latest Blynk is a platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. You can easily build graphic interfaces...
Initialize MKR 1400 modem properly
Initialize MKR 1400 modem properly
Arduino
mit
blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library
7deb25a47741e8fb66b74ae31ea584a59d6c4797
Claw/Claw_controller/Claw_stagnation_recognition.ino
Claw/Claw_controller/Claw_stagnation_recognition.ino
bool ClawStagnation(int &teller, int buttonState, int &vorigeStatus) { bool grabdingStaatStil; if (buttonState = vorigeStatus ) { teller ++; } if (teller >= 30) { grabdingStaatStil = true; } vorigeStatus = buttonState; return grabdingStaatStil; }
bool ClawStagnation(int &teller, int buttonState, int &vorigeStatus) { bool grabdingStaatStil; if (buttonState == vorigeStatus ) { teller ++; } if (teller >= 30) { grabdingStaatStil = true; } vorigeStatus = buttonState; return grabdingStaatStil; }
Update Claw_stagnation_recognition.ino
Update Claw_stagnation_recognition.ino
Arduino
mit
IrisEdelsmid/arduinoFun
0bcf464382b31b1918a299e4c1b4416262426afd
examples/03-Intermediate/WDRC_SingleBand/WDRC_SingleBand.ino
examples/03-Intermediate/WDRC_SingleBand/WDRC_SingleBand.ino
#include <Tympan_Library.h> #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> // GUItool: begin automatically generated code AudioInputI2S_F32 i2sAudioIn1; //xy=136,112 AudioFilterIIR_F32 iir1; //xy=233,172 AudioEffectCompWDRC_F32 compWDRC1; ...
#include <Tympan_Library.h> #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> // GUItool: begin automatically generated code AudioInputI2S_F32 i2sAudioIn1; //xy=136,112 AudioFilterBiquad_F32 iir1; //xy=233,172 AudioEffectCompWDRC_F32 compWDRC1; ...
Update WDRC_SingleBand.ino
Update WDRC_SingleBand.ino WDRC_SingleBand: changed AudioFilterIIR_F32 to AudioFilterBiquad_F32
Arduino
mit
Tympan/Tympan_Library,Tympan/Tympan_Library,Tympan/Tympan_Library
feac74804a4c59e9c76368deba16d363ceb4e71a
AP_routines.ino
AP_routines.ino
//part of aquacontrol //captive portal //ideas and code stolen from: //https://github.com/esp8266/Arduino/blob/master/libraries/DNSServer/examples/CaptivePortal/CaptivePortal.ino //https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/AdvancedWebServer/AdvancedWebServer.ino //http://www.jo...
//part of aquacontrol //captive portal //ideas and code stolen from: //https://github.com/esp8266/Arduino/blob/master/libraries/DNSServer/examples/CaptivePortal/CaptivePortal.ino //https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/AdvancedWebServer/AdvancedWebServer.ino //http://www.jo...
Change OLED messages when in access point mode.
Change OLED messages when in access point mode. Show accespoint name and IP adress in OLED when in access point mode.
Arduino
mit
CelliesProjects/aquacontrol
f7797ee33cf8f15b6b702260547c73a3c66e356b
examples/test/test.ino
examples/test/test.ino
/*************************************************** This is a example sketch demonstrating bitmap drawing capabilities of the SSD1351 library for the 1.5" 16-bit Color OLED with SSD1351 driver chip Pick one up today in the adafruit shop! ------> http://www.adafruit.com/products/1431 These displays use...
/*************************************************** This is a example sketch demonstrating graphic drawing capabilities of the SSD1351 library for the 1.5" and 1.27" 16-bit Color OLEDs with SSD1351 driver chip Pick one up today in the adafruit shop! ------> http://www.adafruit.com/products/1431 ------> ...
Fix comments
Fix comments Header comment got loused up in the last commit
Arduino
bsd-3-clause
osmithy/Adafruit_SSD1351,osmithy/Adafruit_SSD1351,shiitakeo/Adafruit-SSD1351-library,shiitakeo/Adafruit-SSD1351-library
4a85c58f881c27e9526b6a36262702b88b4726f0
CalibrateATtiny85OSCCAL.ino
CalibrateATtiny85OSCCAL.ino
/* CalibrateATtiny85OSCCAL: Tweak the OSCCAL register to calibrate the internal oscillator of the ATtiny85. Copyright Jason Pepas (Pepas Labs, LLC) Released under the terms of the MIT License. see https://learn.sparkfun.com/tutorials/serial-communication in particular: https://dlnmh9ip6v2uc.cloudfront.net/assets/1...
/* CalibrateATtiny85OSCCAL: Tweak the OSCCAL register to calibrate the internal oscillator of the ATtiny85. Copyright Jason Pepas (Pepas Labs, LLC) Released under the terms of the MIT License. see https://learn.sparkfun.com/tutorials/serial-communication in particular: https://dlnmh9ip6v2uc.cloudfront.net/assets/1...
remove function which prints 1000 chars. add 50 'U' chars to every OSCCAL printout.
remove function which prints 1000 chars. add 50 'U' chars to every OSCCAL printout.
Arduino
mit
pepaslabs/CalibrateATtiny85OSCCAL
8a59b256c57e972235174b364e3410742aa38293
CS26410.ino
CS26410.ino
#include <SharpIR.h> #include <NewPing.h> #include <Servo.h> #define LDRLeft A0 #define LDRCenter A1 #define LDRRight A2 #define LDRTop A4 #define SharpIr A3 #define SerialRx 0 #define SerialTx 1 #define IrRx 2 #define IrTx 3 #define PB1 4 #define Dright 5 #define Dleft 6 #define LEDRed 7 #define Ping1 8 #define Ping...
//included librarys #include <SharpIR.h> #include <NewPing.h> #include <Servo.h> //analog pin definitions #define LDRLeft A0 #define LDRCenter A1 #define LDRRight A2 #define LDRTop A4 #define SharpIr A3 //digital pin definitions #define SerialRx 0 #define SerialTx ...
add suppot for robot control app
add suppot for robot control app
Arduino
mit
naturesyouth/CS26410
327930f3fbc79630f398a3be74a6e030772d2f1c
examples/Multiple/ArrayOfLedArrays/ArrayOfLedArrays.ino
examples/Multiple/ArrayOfLedArrays/ArrayOfLedArrays.ino
// ArrayOfLedArrays - see https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples for more info on // using multiple controllers. In this example, we're going to set up four NEOPIXEL strips on three // different pins, each strip getting its own CRGB array to be played with, only this time they're going //...
// ArrayOfLedArrays - see https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples for more info on // using multiple controllers. In this example, we're going to set up three NEOPIXEL strips on three // different pins, each strip getting its own CRGB array to be played with, only this time they're going /...
Update ArrayOfLedArrays.ino
Update ArrayOfLedArrays.ino Typo in comment, said four strips on three pins
Arduino
mit
FastLED/FastLED,remspoor/FastLED,tullo-x86/FastLED,kcouck/FastLED,tullo-x86/FastLED,PaulStoffregen/FastLED,remspoor/FastLED,PaulStoffregen/FastLED,eshkrab/FastLED-esp32,PaulStoffregen/FastLED,FastLED/FastLED,FastLED/FastLED,eshkrab/FastLED-esp32,kcouck/FastLED,FastLED/FastLED
efb7a68f183da47ef694ecd78c49b0b2536ef9b6
interrupts/timer_interrupt_dual_comp_registers.ino
interrupts/timer_interrupt_dual_comp_registers.ino
#include <Arduino.h> /* Combining compare interrupts COMPA and COMPB on Timer1 James H. Bannock Norges teknisk-naturvitenskapelige universitet (NTNU) This example makes the LED blink with a frequency of 0.5 Hz Notes: - to use both COMPA and COMPB the CTC (Clear Timer on Compare match) mode must not be used, e...
#include <Arduino.h> /* Combining compare interrupts COMPA and COMPB on Timer1 James H. Bannock Norges teknisk-naturvitenskapelige universitet (NTNU) This example makes the LED blink with a frequency of 0.5 Hz Notes: - to use both COMPA and COMPB the CTC (Clear Timer on Compare match) mode must not be used, e...
Update timer_interrupt_dual_comp_registers.ino
Update timer_interrupt_dual_comp_registers.ino
Arduino
mit
jdmgroup/robotchemistry
588475e1617ada11b5f183bbf3f8aae97c76077f
Pan_Tilt_laser/Pan_Tilt_laser.ino
Pan_Tilt_laser/Pan_Tilt_laser.ino
/**************************************************************************/ /*! @file Pan_Tilt_laser.ino @author Stuart Feichtinger @license BSD (see license.txt) Main program running an automatic laser-turret cat toy using a pan-tilt rig (https://www.adafruit.com/products/1967) and laser d...
/**************************************************************************/ /*! @file Pan_Tilt_laser.ino @author Stuart Feichtinger @license BSD (see license.txt) Main program running an automatic laser-turret cat toy using a pan-tilt rig (https://www.adafruit.com/products/1967) and laser d...
Revert "Clean up"
Revert "Clean up" This reverts commit 1cc41362a7edf90dbaecc19a8334832e626d1877.
Arduino
mit
stuthedew/Arduino-Laser-Cat-Turret
a6ed3923e02ec63c70685a04cee4d7813f6e9219
examples/bluemix/mqtt_bluemix_test/mqtt_bluemix_test.ino
examples/bluemix/mqtt_bluemix_test/mqtt_bluemix_test.ino
// #define DEBUG_MODE // #define DEBUG_LEVEL_VERBOSE #include <ESP8266WiFi.h> #include <ArduinoJson.h> #include <MqttWrapper.h> #include <PubSubClient.h> #include <WiFiHelper.h> #include "mqtt_configuration.h" const char* ssid = "CMMC.32"; const char* pass = "guestnetwork"; MqttWrapper *mqtt; WiFiHelper *wi...
// #define DEBUG_MODE // #define DEBUG_LEVEL_VERBOSE #include <ESP8266WiFi.h> #include <ArduinoJson.h> #include <MqttWrapper.h> #include <PubSubClient.h> #include <WiFiHelper.h> #include "mqtt_configuration.h" const char* ssid = "CMMC.47"; const char* pass = "guestnetwork"; MqttWrapper *mqtt; WiFiHelper *wi...
Add start text.
Add start text.
Arduino
mit
cmmakerclub/MQTT-Connector,cmmakerclub/MQTT-Connector,cmmakerclub/CMMC_Connector,cmmakerclub/MQTT-Connector,cmmakerclub/CMMC_Connector,cmmakerclub/MQTT-Connector
f1d8ff0dabda0366a1cdf825ba16a5f0fad4b1ff
PulseSensorAmped_Arduino_1dot4/Timer_Interrupt_Notes.ino
PulseSensorAmped_Arduino_1dot4/Timer_Interrupt_Notes.ino
/* These notes put together by Joel Murphy for Pulse Sensor Amped, 2015 The code that this section is attached to uses a timer interrupt to sample the Pulse Sensor with consistent and regular timing. The code is setup to read Pulse Sensor signal at 500Hz (every 2mS). The reasoning for this can be found here:...
/* These notes put together by Joel Murphy for Pulse Sensor Amped, 2015 The code that this section is attached to uses a timer interrupt to sample the Pulse Sensor with consistent and regular timing. The code is setup to read Pulse Sensor signal at 500Hz (every 2mS). The reasoning for this can be found here:...
Update Timer_Interrupt_Notes.ino
Update Timer_Interrupt_Notes.ino
Arduino
mit
WorldFamousElectronics/PulseSensor_Amped_Arduino
9dc8212dead9193222de49aa12dfdf0ef8b78f9f
examples/IoT/ThingSpeak/CosaThingSpeakTalkBack/CosaThingSpeakTalkBack.ino
examples/IoT/ThingSpeak/CosaThingSpeakTalkBack/CosaThingSpeakTalkBack.ino
/** * @file CosaThingSpeakTalkBack.ino * @version 1.0 * * @section License * Copyright (C) 2014, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
/** * @file CosaThingSpeakTalkBack.ino * @version 1.0 * * @section License * Copyright (C) 2014, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
Fix ThingSpeak TalkBack sketch for Arduino Mega.
Fix ThingSpeak TalkBack sketch for Arduino Mega. 1. PING is a reserved symbol.
Arduino
lgpl-2.1
dansut/Cosa,dansut/Cosa,rrobinet/Cosa,kc9jud/Cosa,mikaelpatel/Cosa,kc9jud/Cosa,jeditekunum/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,rrobinet/Cosa,kc9jud/Cosa,kc9jud/Cosa,dansut/Cosa,rrobinet/Cosa,rrobinet/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,dansut/Cosa
65c3717d9a6f262a66ebbcb79c47ffd1ebebcb0a
examples/LLShitFullTest/LLShitFullTest.ino
examples/LLShitFullTest/LLShitFullTest.ino
#include "Arduino.h" #include <SD.h> #include <SPI.h> #include <Ethernet.h> #include <SpawwnCore.h> #include <SpawwnStd.h> #include <SpawwnNet.h> #include <LLShitCore.h> #include <LLShitFull.h> namespace TESTMETRICS { enum{ START_IDLE, BASE_LOGGER_BEGIN, BASE_LOGGER_INSTANCE_MADE, FULL_LOGGER_BEGIN, ...
#include "Arduino.h" #include <SD.h> #include <SPI.h> #include <Ethernet.h> #include <SpawwnCore.h> #include <SpawwnStd.h> #include <SpawwnNet.h> #include <LLShitCore.h> #include <LLShitFull.h> #define SDCARD_PIN 4 #define SDCARD_SUPPORT_PIN 10 namespace TESTMETRICS { enum{ START_IDLE, BASE_LOGGER_BEGIN, ...
Update Test
Update Test
Arduino
mit
soundspawn/LLShit
f21a2ba925650a2ce90352caa783bc0e95d5e3fe
examples/serial/serial.ino
examples/serial/serial.ino
// Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /* * Serial Port over BLE * Create UART service compatible with Nordic's *nRF Toolbox* and Adafruit's *Bluefruit LE* iOS/Android apps. * * BLESerial class impl...
// Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /* * Serial Port over BLE * Create UART service compatible with Nordic's *nRF Toolbox* and Adafruit's *Bluefruit LE* iOS/Android apps. * * BLESerial class impl...
Correct BLE serial example (#140)
Correct BLE serial example (#140)
Arduino
mit
sandeepmistry/arduino-BLEPeripheral,sandeepmistry/arduino-BLEPeripheral,sandeepmistry/arduino-BLEPeripheral
d5dcab068179b5e077a158e6fbb8532d9dce418f
examples/_2000_ESPert_workshop/_2000_ESPert_workshop.ino
examples/_2000_ESPert_workshop/_2000_ESPert_workshop.ino
// #include <Arduino.h> #include <ESPert.h> ESPert espert; const char* mqtt_server = "mqtt.espert.io"; unsigned long loopTime = 0; int currentSwitch = true; String outTopic = "ESPert/" + String(espert.info.getChipId()) + "/Status"; String inTopic = "ESPert/" + String(espert.info.getChipId()) + "/Command"; int cur...
// #include <Arduino.h> #include <ESPert.h> ESPert espert; const char* mqtt_server = "mqtt.espert.io"; unsigned long loopTime = 0; int currentSwitch = true; String outTopic = "ESPert/" + String(espert.info.getChipId()) + "/Status"; String inTopic = "ESPert/" + String(espert.info.getChipId()) + "/Command"; int cur...
Update _2000_ESPert_workshop.ino
Update _2000_ESPert_workshop.ino Remove fixed board type in workshop example.
Arduino
mit
JimmySoftware/ESPert,JimmySoftware/ESPert,JimmySoftware/ESPert
06ec5a799d4fbd972376f4aa0f17ddd36d1c7346
examples/MMA8451demo/MMA8451demo.ino
examples/MMA8451demo/MMA8451demo.ino
/**************************************************************************/ /*! @file Adafruit_MMA8451.h @author K. Townsend (Adafruit Industries) @license BSD (see license.txt) This is an example for the Adafruit MMA8451 Accel breakout board ----> https://www.adafruit.com/products/2019 ...
/**************************************************************************/ /*! @file Adafruit_MMA8451.h @author K. Townsend (Adafruit Industries) @license BSD (see license.txt) This is an example for the Adafruit MMA8451 Accel breakout board ----> https://www.adafruit.com/products/2019 ...
remove unneeded register, change to 2g range default
remove unneeded register, change to 2g range default
Arduino
bsd-3-clause
leethomason/Adafruit_MMA8451_Library
5c3b8bf545a79cd54ea1f8dfaad5d1abfa8bf70a
examples/SimpleCycle/SimpleCycle.ino
examples/SimpleCycle/SimpleCycle.ino
/* * Example of using the ChainableRGB library for controlling a Grove RGB. * This code puts a red dot (led) moving along a strip of blue dots. */ #include <ChainableLED.h> #define NUM_LEDS 5 ChainableLED leds(7, 8, NUM_LEDS); void setup() { } byte pos = 0; void loop() { for (byte i=0; i<NUM_LEDS; i++) ...
/* * Example of using the ChainableRGB library for controlling a Grove RGB. * This code puts a red dot (led) moving along a strip of blue dots. */ #include <ChainableLED.h> #define NUM_LEDS 5 ChainableLED leds(7, 8, NUM_LEDS); void setup() { leds.init(); } byte pos = 0; void loop() { for (byte i=0; i<NU...
Create init function
Create init function
Arduino
mit
pjpmarques/ChainableLED
aae1cb805596ef72d9206b4c24828b7ba70cec77
microcontrollers/arduino-esp32/lora32-morse-beacon/lora32-morse-beacon.ino
microcontrollers/arduino-esp32/lora32-morse-beacon/lora32-morse-beacon.ino
#include <SPI.h> #include <LoRa.h> #include <Wire.h> #include <Adafruit_GFX.h> #include "Fixed8x16.h" #include "Adafruit_SSD1306.h" // // Board pins. // #if 0 #define LED 23 // IO23 -- LED for TTGO Lora32 board #else #define LED 25 // IO25 -- LED for Heltec Lora32 board #endif // // LoRa pins. // #d...
/* * Morse CW beacon for LoRa ESP32 board with OLED display. * * Copyright (c) 2018 Serge Vakulenko * * Permission to use, copy, modify, and/or distribute this * software for any purpose with or without fee is hereby granted, * provided that the above copyright notice and this permission * notice appear in all ...
Add copyright.
Add copyright.
Arduino
apache-2.0
sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-opensource,sergev/vak-o...
07d9790fb9c99c2075c5fd2d48bad18ab678c0fd
examples/FirebaseNeoPixel_ESP8266/FirebaseNeoPixel_ESP8266.ino
examples/FirebaseNeoPixel_ESP8266/FirebaseNeoPixel_ESP8266.ino
// // Copyright 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
// // Copyright 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
fix begin call and rebase
examples/FirebaseNeoPixel: fix begin call and rebase
Arduino
apache-2.0
aliafshar/firebase-arduino,gguuss/firebase-arduino,aliafshar/firebase-arduino,FirebaseExtended/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino
9a8de73d58bb6c369d69240c5a8a3e9188eaa116
playground/Led4Digit7Segment/SingleShift/SingleShift.ino
playground/Led4Digit7Segment/SingleShift/SingleShift.ino
/* SingleShift Drive a 4-Digit 7-Segment display with a 74HC595 shift register and 4 NPN BJTs. For info and circuit diagrams see https://github.com/tardate/LittleArduinoProjects/tree/master/playground/Led4Digit7Segment/SingleShift */ // use timer for scheduling the display update #include <FlexiTimer2.h> //...
/* SingleShift Drive a 4-Digit 7-Segment display with a 74HC595 shift register and 4 NPN BJTs. For info and circuit diagrams see https://github.com/tardate/LittleArduinoProjects/tree/master/playground/Led4Digit7Segment/SingleShift */ // use timer for scheduling the display update #include <FlexiTimer2.h> //...
refactor code to take numeric processing out of the ISR
[4Digit7Segment/SingleShift] refactor code to take numeric processing out of the ISR
Arduino
mit
tardate/LittleArduinoProjects,tardate/LittleArduinoProjects,tardate/LittleArduinoProjects,tardate/LittleArduinoProjects,tardate/LittleArduinoProjects,tardate/LittleArduinoProjects,tardate/LittleArduinoProjects,tardate/LittleArduinoProjects
de5dbf199b9cf4cedd7fe227f64934a3b4f60d62
home/moz4r/mouthcontrol_hardware.ino
home/moz4r/mouthcontrol_hardware.ino
// HARDWARE MOUTHCONTROL // // dedicated arduino // Read voltage value from speaker and move jaw // First POC version, need to be calibrated and fixed : // If you want test it please read Analog values when you have NO SOUND and enter MIN , min is the value when robot speak // I use AREF 1 volt and sound come from una...
// HARDWARE MOUTHCONTROL // // dedicated arduino // Read voltage value from speaker and move jaw // First POC version, need to be calibrated and fixed : // If you want test it please read Analog values when you have NO SOUND and enter MIN , min is the value when robot speak // I use AREF 1 volt and sound come from una...
Update mouthcontrol_hardware.ino (#40)
Update mouthcontrol_hardware.ino (#40)
Arduino
apache-2.0
MyRobotLab/pyrobotlab,MyRobotLab/pyrobotlab,MyRobotLab/pyrobotlab,MyRobotLab/pyrobotlab,MyRobotLab/pyrobotlab
7b2c3c10d0449c5dfaac9dc0e46fdf984b54e22a
examples/_Stepper/TestStepRampCom/TestStepRampCom.ino
examples/_Stepper/TestStepRampCom/TestStepRampCom.ino
// Testsketch für Stepper-Rampe mit automatischer Befehlsfolge // Steuerung der Stepper-Methoden per serieller Schnittstelle und per Abfolgen im EEPROM /* Steuerung der Methodenaufrufe per serieller Schnittstelle * dst nnn -> doSteps( +/-nnnL ) * wra nnn -> write( +/-angleL ) * wrs nnn -> writeSteps ...
// Testsketch für Stepper-Rampe mit automatischer Befehlsfolge // Steuerung der Stepper-Methoden per serieller Schnittstelle und per Abfolgen im EEPROM /* Steuerung der Methodenaufrufe per serieller Schnittstelle * dst nnn -> doSteps( +/-nnnL ) * wra nnn -> write( +/-angleL ) * wrs nnn -> writeSteps ...
Update TestStepRampCom.ino
Update TestStepRampCom.ino
Arduino
lgpl-2.1
MicroBahner/MobaTools,MicroBahner/MobaTools
0762590721d720c4609dd3ea451f088987572282
arduino-neopixel.ino
arduino-neopixel.ino
#include <Adafruit_NeoPixel.h> // Arduino Nano v2.x, v3.x #define TOTAL_PIXELS 99 // common settings ::::::::: #define MAX_VAL 64 // 0 to 255 for brightness 多くのLEDを制御した場合に、色が安定しない問題を解決するために設けた制限 #define DELAY_TIME 10 // Parameter 1 = number of pixels in strip // Parameter 2 = pin number (most are valid) // Paramete...
#include <Adafruit_NeoPixel.h> // Arduino Nano v2.x, v3.x #define TOTAL_PIXELS 99 // common settings ::::::::: #define MAX_VAL 64 // 0 to 255 for brightness 多くのLEDを制御した場合に、色が安定しない問題を解決するために設けた制限 #define DELAY_TIME 10 // Parameter 1 = number of pixels in strip // Parameter 2 = pin number (most are valid) // Paramete...
divide circle by instrument color and effect color
divide circle by instrument color and effect color
Arduino
mit
karappo/ptw-wheel
efa24088edd4ea9f71e64db413d5fd2d9b1e2cff
arduinoApp/gardenSketch/gardenSketch.ino
arduinoApp/gardenSketch/gardenSketch.ino
/* Arduino based self regulating kitchen garden */ #include <DHT.h> #include <Sensirion.h> // soil related setup #define dataPin 3 #define clockPin 4 Sensirion soilSensor = Sensirion(dataPin, clockPin); float soilTemperature; float soilMoisture; float dewpoint; // air temperature related setup #define DHTPIN 2 ...
/* Arduino based self regulating kitchen garden */ #include <DHT.h> #include <Sensirion.h> // soil related setup #define dataPin 3 #define clockPin 4 Sensirion soilSensor = Sensirion(dataPin, clockPin); float soilTemperature; float soilMoisture; float dewpoint; // air temperature related setup #define DHTPIN 2 ...
Add relay control for first relay
Add relay control for first relay This is the one driving the fan
Arduino
apache-2.0
eikooc/KitchenGarden,eikooc/KitchenGarden,eikooc/KitchenGarden,eikooc/KitchenGarden
77185f0152d132ddaf11e2d76a097dfb3226e147
particle/evcharging.ino
particle/evcharging.ino
// ---------------------------------------------------------- // Firmware for Particle Electron connected to EV charger // ---------------------------------------------------------- int button = D6; char PIN[8] = {B3, B2, B1, B0, D3, D2, D1, D0}; int carRead[8]; double channelMaxCharge[8]; int channelSupplyCharge[8]; ...
// ---------------------------------------------------------- // Firmware for Particle Electron connected to EV charger // ---------------------------------------------------------- int button = D6; char PIN[8] = {B3, B2, B1, B0, D3, D2, D1, D0}; int carRead[8]; double previousCharge[8] = {0, 0, 0, 0, 0, 0, 0, 0}; dou...
Update evcharging.ino
Update evcharging.ino
Arduino
mit
anamklone/ENGR1050,anamklone/ENGR1050,anamklone/ENGR1050
3bd1ea93f1b0f01a0174b6e642cc06387fb20d2b
PlantSensor/PlantSensor.ino
PlantSensor/PlantSensor.ino
// Copyright the project authors as listed in the AUTHORS file. // All rights reserved. Use of this source code is governed by the // license that can be found in the LICENSE file. #include <Arduino.h> #include <ESP8266WiFi.h> #include <WiFiClientSecure.h> #include <PubSubClient.h> #include <Wire.h> #include <Sodaq_SH...
// Copyright the project authors as listed in the AUTHORS file. // All rights reserved. Use of this source code is governed by the // license that can be found in the LICENSE file. #include <Arduino.h> #include <ESP8266WiFi.h> #include <WiFiClientSecure.h> #include <PubSubClient.h> #include <Wire.h> #include <Sodaq_SH...
add metrics end point
src: add metrics end point
Arduino
mit
mhdawson/arduino-esp8266,mhdawson/arduino-esp8266
260a1cf250c1080f3f51e009e7c6b073e194fcb3
led_pixels/led_pixels.ino
led_pixels/led_pixels.ino
#include "SPI.h" #include "Adafruit_WS2801.h" #include "frames.h" #include "LEDFader.h" /** Designed to work with the Adafruit RGB Pixels. 12mm Bullet shape ----> https://www.adafruit.com/products/322 12mm Flat shape ----> https://www.adafruit.com/products/738 36mm Square shape ----> https://www.adafruit....
#include "SPI.h" #include "Adafruit_WS2801.h" #include "frames.h" #include "LEDFader.h" /** Designed to work with the Adafruit RGB Pixels. 12mm Bullet shape ----> https://www.adafruit.com/products/322 12mm Flat shape ----> https://www.adafruit.com/products/738 36mm Square shape ----> https://www.adafruit....
Add different fade outs
Add different fade outs
Arduino
unlicense
gperks/Valentine-Arduino,gperks/Valentine-Arduino
5ac11042f68cad46fd84cff8c22c742f2d1f8d58
m_led/m_led.ino
m_led/m_led.ino
#include "LedStripRS.h" LedStripRS<A0> trs; static BaseLedStripRS* strips[]= { &trs }; static const int num_strips=sizeof(strips)/sizeof(strips[0]); void send_color_all(uint32_t color) { for(int i=0;i<num_strips;i++) { strips[i]->send_color(color); } } #define RAINBOW_SLOWNESS 25 PROGMEM static const uint3...
#include "LedStripRS.h" LedStripRS<A0,15> trs; static BaseLedStripRS* strips[]= { &trs }; static const int num_strips=sizeof(strips)/sizeof(strips[0]); void send_color_all(uint32_t color) { for(int i=0;i<num_strips;i++) { strips[i]->send_color(color); } } #define RAINBOW_SLOWNESS 25 PROGMEM static const ui...
add 15
add 15
Arduino
mit
Steve132/rs_led
2aa1b0dfd19dc9b28251f63af5ca9acfb1081875
examples/FirebasePush_ESP8266/FirebasePush_ESP8266.ino
examples/FirebasePush_ESP8266/FirebasePush_ESP8266.ino
// // Copyright 2015 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
// // Copyright 2015 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
add comment
add comment
Arduino
apache-2.0
FirebaseExtended/firebase-arduino,ed7coyne/firebase-arduino,aliafshar/firebase-arduino,proppy/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino
eeec869ba930f6f722606a7f47635852b8dcab11
examples/ArduinoUnoNano-basic/ArduinoUnoNano-basic.ino
examples/ArduinoUnoNano-basic/ArduinoUnoNano-basic.ino
/* * Author: JP Meijers * Date: 2016-02-07 * Previous filename: TTN-Mapper-TTNEnschede-V1 * * This program is meant to be used with an Arduino UNO or NANO, conencted to an RNxx3 radio module. * It will most likely also work on other compatible Arduino or Arduino compatible boards, like The Things Uno, but might ...
/* * Author: JP Meijers * Date: 2016-02-07 * Previous filename: TTN-Mapper-TTNEnschede-V1 * * This program is meant to be used with an Arduino UNO or NANO, conencted to an RNxx3 radio module. * It will most likely also work on other compatible Arduino or Arduino compatible boards, like The Things Uno, but might ...
Clear serial after module init and added comm test.
Clear serial after module init and added comm test.
Arduino
apache-2.0
jpmeijers/RN2483-Arduino-Library
bbe03e13ff530db00503f2f121c5948bc1b60cf0
examples/02-Utility/StereoAudioToSD_Fast/StereoAudioToSD_Fast.ino
examples/02-Utility/StereoAudioToSD_Fast/StereoAudioToSD_Fast.ino
/* * StereoAudioToSD * * Digitizes two channels and records to SD card. * * >>> START recording by having potentiometer turned above half-way * >>> STOP recording by having potentiometer turned below half-way * * Assumes use of Teensy 3.6 and Tympan Rev A or C * * Uses super-fast SD library that is ...
/* * StereoAudioToSD * * Digitizes two channels and records to SD card. * * >>> START recording by having potentiometer turned above half-way * >>> STOP recording by having potentiometer turned below half-way * * Assumes Tympan Rev C or D. Program in Arduino IDE as a Teensy 3.6. * * Uses super-fast...
update SD write with autoMic and RevC/D
Examples: update SD write with autoMic and RevC/D
Arduino
mit
Tympan/Tympan_Library,Tympan/Tympan_Library,Tympan/Tympan_Library
b3ba9c75462340e0ba3fcd59f4f06675827e1483
build/shared/examples/07.Sensors/ADXL3xx/ADXL3xx.ino
build/shared/examples/07.Sensors/ADXL3xx/ADXL3xx.ino
/* ADXL3xx Reads an Analog Devices ADXL3xx accelerometer and communicates the acceleration to the computer. The pins used are designed to be easily compatible with the breakout boards from Sparkfun, available from: http://www.sparkfun.com/commerce/categories.php?c=80 http://www.arduino.cc/en/Tutoria...
/* ADXL3xx Reads an Analog Devices ADXL3xx accelerometer and communicates the acceleration to the computer. The pins used are designed to be easily compatible with the breakout boards from Sparkfun, available from: http://www.sparkfun.com/commerce/categories.php?c=80 http://www.arduino.cc/en/Tutoria...
Replace A2 with A0 ADXL3xx.ino to support all platforms
Replace A2 with A0 ADXL3xx.ino to support all platforms
Arduino
lgpl-2.1
battosai30/Energia,battosai30/Energia,croberts15/Energia,vigneshmanix/Energia,battosai30/Energia,vigneshmanix/Energia,vigneshmanix/Energia,battosai30/Energia,croberts15/Energia,croberts15/Energia,croberts15/Energia,croberts15/Energia,croberts15/Energia,vigneshmanix/Energia,vigneshmanix/Energia,vigneshmanix/Energia,batt...
e180b7037dcf303fb3ff27dc60fadcee5d7f3a09
build/shared/examples/04.Communication/SerialEvent/SerialEvent.ino
build/shared/examples/04.Communication/SerialEvent/SerialEvent.ino
/* Serial Event example When new serial data arrives, this sketch adds it to a String. When a newline is received, the loop prints the string and clears it. A good test for this is to try it with a GPS receiver that sends out NMEA 0183 sentences. Created 9 May 2011 by Tom Igoe This example code is in the ...
/* Serial Event example When new serial data arrives, this sketch adds it to a String. When a newline is received, the loop prints the string and clears it. A good test for this is to try it with a GPS receiver that sends out NMEA 0183 sentences. NOTE: The serialEvent() feature is not available on the Leona...
Add a note about ATmega32U4 incompatibility to SerialEvent example
Add a note about ATmega32U4 incompatibility to SerialEvent example serialEvent() does not work on the ATmega32U4 boards. Reference: https://github.com/arduino/Arduino/issues/1031
Arduino
lgpl-2.1
me-no-dev/Arduino-1,me-no-dev/Arduino-1,stickbreaker/Arduino,stickbreaker/Arduino,stickbreaker/Arduino,majenkotech/Arduino,me-no-dev/Arduino-1,majenkotech/Arduino,majenkotech/Arduino,stickbreaker/Arduino,stickbreaker/Arduino,me-no-dev/Arduino-1,me-no-dev/Arduino-1,majenkotech/Arduino,me-no-dev/Arduino-1,majenkotech/Ard...
df418d07acce017352e9c64cbbb8d47bb8fb8b62
sketches/foobar/foobar.ino
sketches/foobar/foobar.ino
int BAUD = 9600; char MESSAGE[] = "{\"foo\":0,\"bar\":1}"; void setup() { Serial.begin(BAUD); } void loop() { if (Serial.available() > 0) { Serial.read(); Serial.println(MESSAGE); } }
int BAUD = 9600; char MESSAGE[] = "{\"foo\":0,\"bar\":1}"; void setup() { Serial.begin(BAUD); pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); if (Serial.available() > 0) { Serial.read(); Serial.println(MESSAGE); } digitalWrite(13, LOW); }
write LED
write LED
Arduino
mit
trevstanhope/arduino.rs
5b4c3d6b274eebf4335cbf877f9d23fd64a31519
Firmware/IMU.ino
Firmware/IMU.ino
MPU6050 mpu; uint8_t mpuIntStatus; uint16_t packetSize; uint16_t fifoCount; uint8_t fifoBuffer[64]; Quaternion q; VectorFloat gravity; float ypr[3]; void mpu_initialisation() { Wire.begin(); TWBR = 24; mpu.initialize(); mpu.dmpInitialize(); mpu.setXAccelOffset(-1343); mpu.setYAccelOffset(-1155); mpu.s...
MPU6050 mpu; uint8_t mpuIntStatus; uint16_t packetSize; uint16_t fifoCount; uint8_t fifoBuffer[64]; Quaternion q; VectorFloat gravity; float ypr[3]; void mpu_initialisation() { Wire.begin(); TWBR = 24; mpu.initialize(); mpu.dmpInitialize(); mpu.setXAccelOffset(-1343); mpu.setYAccelOffset(-...
Update IMU.ino
Update IMU.ino
Arduino
mit
bybel/R2-Quadcopter
34757967870b562492309e2714aa94a92ce033a9
Seeed_QTouch/examples/getTouchNumber/getTouchNumber.ino
Seeed_QTouch/examples/getTouchNumber/getTouchNumber.ino
// demo of Qtouch - getTouchNumber // this demo will use touchNum function // this function can return the touched state of the device // when there's no touched, return -1 // or return the touch number #include <Wire.h> #include "Seeed_QTouch.h" void setup() { Serial.begin(9600); } void loop() { int tn = Q...
// demo of Qtouch - getTouchNumber // this demo will use touchNum function // this function can return the touched state of the device // when there's no touched, return -1 // or return the touch number #include <Wire.h> #include "Seeed_QTouch.h" void setup() { Wire.begin(); Serial.begin(9600); } void loop(...
Update getTouchNumber.ino
Update getTouchNumber.ino
Arduino
mit
kingsongchen/Xadow_Edison_Demos,Seeed-Studio/Xadow_Edison_Demos,Seeed-Studio/Xadow_Edison_Demos,kingsongchen/Xadow_Edison_Demos
05e143b78893a50381b0a58d42d64cf5ef49a00d
examples/2.Digital/InterruptOnChange_430/InterruptOnChange_430.ino
examples/2.Digital/InterruptOnChange_430/InterruptOnChange_430.ino
// // InterruptOnChange_430 // // © Robert Wessels 2013 // // The MSP430 GPIOs intterupt system can be configured to detect a FALLING or RISING edge. // It however can not be configured to detect both of them at the same time, also called CHANGE in Arduino. // This Sketch demonstrates how to "emulate" this by flip...
// // InterruptOnChange_430 // // © Robert Wessels 2013 // // The MSP430 GPIOs intterupt system can be configured to detect a FALLING or RISING edge. // It however can not be configured to detect both of them at the same time, also called CHANGE in Arduino. // This Sketch demonstrates how to "emulate" this by flip...
Fix for #234
Fix for #234 Fix for #234
Arduino
lgpl-2.1
dvdvideo1234/Energia,radiolok/Energia,sanyaade-iot/Energia,dvdvideo1234/Energia,radiolok/Energia,DavidUser/Energia,bobintornado/Energia,NoPinky/Energia,martianmartin/Energia,NoPinky/Energia,vigneshmanix/Energia,cevatbostancioglu/Energia,danielohh/Energia,bobintornado/Energia,bobintornado/Energia,battosai30/Energia,qton...
1ea214d2c7a2398fcb2e6e678e9ba625afa70e20
FastLED/Receive_test.ino
FastLED/Receive_test.ino
// This #include statement was automatically added by the Particle IDE. #include <FastLED.h> FASTLED_USING_NAMESPACE; int receivedHue = 0; int receivedSaturation = 0; int receivedValue = 0; String receivedID; CHSV baseColor; void setup() { Particle.subscribe("Beacon Update", ColorUpdate, MY_DEVICES); } void loo...
// This #include statement was automatically added by the Particle IDE. #include <FastLED.h> FASTLED_USING_NAMESPACE; int receivedHue = 0; int receivedSaturation = 0; int receivedValue = 0; int baseLightsLit = 0; //This value is the number of light lit in the base CHSV baseColor; String selfName = "Bonnie"; //The n...
Update Receive_test.ino
Update Receive_test.ino
Arduino
apache-2.0
Blaze420McYoloSwag/LiteHaus
2d9928dd93346cf933286d715517ea7ff9e3d411
dragino/dragino_lcd20x4.ino
dragino/dragino_lcd20x4.ino
#Este sketch adquiere datos de temperatura y humedad desde un sensor DHT22 o DHT11 por el pin A0 y datos de #temperatura desde un sensor DS18B20 conectado al pin A1 de un Dragino V2 MS14-S con M32 IoT Module #estos datos son publicados a un broker MQTT al topico test/temp #el display LCD 20*4 Characters - White back ut...
#Este sketch adquiere datos de temperatura y humedad desde un sensor DHT22 o DHT11 por el pin A0 y datos de #temperatura desde un sensor DS18B20 conectado al pin A1 de un Dragino V2 MS14-S con M32 IoT Module #estos datos son publicados a un broker MQTT al topico test/temp #el display LCD 20*4 Characters - White back ut...
Update dragino_lcd20x4.ino
Update dragino_lcd20x4.ino
Arduino
mit
pumanzor/iot-redlibre,pumanzor/iot-redlibre
1902bc2b9771e09dd2c933ee8dbf548513390f57
rc_steer_servo_controller/rc_steer_servo_controller.ino
rc_steer_servo_controller/rc_steer_servo_controller.ino
#include "rc_steer_servo_controller.h" /* Subscriber and Publisher declarations*/ ros::Subscriber<std_msgs::Float64> frontSteerServoCommandSubscriber("/front_steer_controller/command", frontSteerServoCommandCallback); ros::Subscriber<std_msgs::Float64> rearSteerServoCommandSubscriber("/rear_steer_controller/comma...
#include "rc_steer_servo_controller.h" /* Subscriber and Publisher declarations*/ ros::Subscriber<std_msgs::Float64> frontSteerServoCommandSubscriber("/front_steer_controller/command", frontSteerServoCommandCallback); ros::Subscriber<std_msgs::Float64> rearSteerServoCommandSubscriber("/rear_steer_controller/comma...
Delete trailing whitespaces
Delete trailing whitespaces
Arduino
bsd-3-clause
gKouros/my_arduino_sketches,gKouros/my_arduino_sketches,gKouros/my_arduino_sketches
05763bf42bc1c684e02bc48f02ab0c9a8c5c232e
blink_strip/blink_strip.ino
blink_strip/blink_strip.ino
static int LED_COUNT = 32; void setup() { DDRB = 0xFF; DDRD = 0xFF; } //// For teensy prototypes //void send_single_byte(uint8_t c) //{ // // D5 is clock, D4 is data // for(uint8_t i = 0; i < 8; i++) { // PORTD = (((c >> (7 - i)) & 0x01) << 4); // PORTD = (((c >> (7 - i)) & 0x01) << 4) | 0x20; // } //} ...
static int LED_COUNT = 32; void setup() { Serial.begin(115200); DDRB = 0xFF; DDRD = 0xFF; } //// For teensy prototypes //void send_single_byte(uint8_t c) //{ // // D5 is clock, D4 is data // for(uint8_t i = 0; i < 8; i++) { // PORTD = (((c >> (7 - i)) & 0x01) << 4); // PORTD = (((c >> (7 - i)) & 0x01...
Add serial override mode to example sketch
Add serial override mode to example sketch
Arduino
apache-2.0
Blinkinlabs/BlinkyTape,Blinkinlabs/BlinkyTape,Blinkinlabs/BlinkyTape
292465c1065e5ac9c47026519f653b77601bf850
stairs/main.ino
stairs/main.ino
// Use the FastLED library. #include <FastLED.h> // Serial DEBUG mode on/off #undef DEBUG_POTS // Analog input pins. // // .-------. // | O O | // | O O O | // '-------' // // The device has five potentiometer inputs. The top left is a switch with 10 // different values, while the other four have a variable input b...
// Use the FastLED library. #include <FastLED.h> // Serial DEBUG mode on/off #undef DEBUG_POTS // Analog input pins. // // .-------. // | O O | // | O O O | // '-------' // // The device has five potentiometer inputs. The top left is a switch with 10 // different values, while the other four have a variable input b...
Implement rainbow train and reorder modes
Implement rainbow train and reorder modes
Arduino
mit
ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight
3c856d876285a863c4830232c42b93c90fa9c982
arduino/src/rs485_master/rs485_master.ino
arduino/src/rs485_master/rs485_master.ino
#include "RS485_protocol.h" const byte ENABLE_PIN = 4; const byte LED_PIN = 13; int counter = 0; // callback routines void fWrite (const byte content) { Serial1.write (content); } int fAvailable () { return Serial1.available (); } int fRead () { return Serial1.read (); } ...
#include "RS485_protocol.h" const byte ENABLE_PIN = 4; const byte LED_PIN = 13; int counter = 0; // callback routines void fWrite (const byte content) { Serial1.write (content); } int fAvailable () { return Serial1.available (); } int fRead () { return Serial1.read (); } ...
fix master
fix master
Arduino
mit
benninge/wearable_suit,benninge/wearable_suit,benninge/wearable_suit
2729d38cd95d2235e8caa8819439450056c57a62
libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino
libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino
/* Digital Pot Control This example controls an Analog Devices AD5206 digital potentiometer. The AD5206 has 6 potentiometer channels. Each channel's pins are labeled A - connect this to voltage W - this is the pot's wiper, which changes when you set it B - connect this to ground. The AD5206 is SPI-compat...
/* Digital Pot Control This example controls an Analog Devices AD5206 digital potentiometer. The AD5206 has 6 potentiometer channels. Each channel's pins are labeled A - connect this to voltage W - this is the pot's wiper, which changes when you set it B - connect this to ground. The AD5206 is SPI-compat...
Add necessary delays to SPI DigitalPotControl example
Add necessary delays to SPI DigitalPotControl example According to https://github.com/arduino/Arduino/issues/6395, these delays are required for the SPI communication with the digital potentiometer to work.
Arduino
lgpl-2.1
01org/corelibs-arduino101,01org/corelibs-arduino101,01org/corelibs-arduino101
819a774d8d2256ad87decb618e27b23b35efd854
client/client.ino
client/client.ino
#include <SoftwareSerial.h> #include <IRremote.h> #include "utils.h" // Trying to elucidate the way communication works first // current design enforces a simplest design on the receiver side // no scheduling, purely acknowledge everything it has received with a random delay #define IDLE 0 #define PENDING 1 #define CO...
#include <SoftwareSerial.h> #include <IRremote.h> #include "utils.h" // Trying to elucidate the way communication works first // current design enforces a simplest design on the receiver side // no scheduling, purely acknowledge everything it has received with a random delay #define IDLE 0 #define PENDING 1 #define CO...
read device id + implement led logis (status & signal)
read device id + implement led logis (status & signal)
Arduino
bsd-2-clause
nebgnahz/HOBS,nebgnahz/HOBS,nebgnahz/HOBS
575ccdf4937b49ececcb779b88599633a380c2a0
NetworkItArduino/Firmware/networkit_template/networkit_template.ino
NetworkItArduino/Firmware/networkit_template/networkit_template.ino
#include "libraries/ArduinoJson.h" #include "libraries/Message.h" int ledPin = 2; int buttonPin = 4; bool pressed = false; int messageCount = 0; void setup() { networkit_setup(); //please leave here //Your code here pinMode(ledPin, OUTPUT); pinMode(buttonPin, INPUT_PULLUP); } void loop() { netw...
#include "libraries/ArduinoJson.h" #include "libraries/Message.h" int ledPin = 2; int buttonPin = 5; bool pressed = false; int messageCount = 0; void setup() { networkit_setup(); //please leave here //Your code here pinMode(ledPin, OUTPUT); pinMode(buttonPin, INPUT_PULLUP); } void loop() { netw...
Fix issue startup issue with button code
Fix issue startup issue with button code
Arduino
mit
kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt
36fa5b5845761b035d37505b64056d117a2db4db
ArduinoSensorBoard/ArduinoSensorBoard.ino
ArduinoSensorBoard/ArduinoSensorBoard.ino
#include <SPI.h> #include "nRF24L01.h" #include "RF24.h" #include "DHT.h" #include "printf.h" #define DHTPIN 2 #define DHTTYPE DHT11 RF24 radio(8,9); DHT dht(DHTPIN, DHTTYPE); byte incomingByte = 0; const uint64_t pipes[2] = { 0xF0F0F0F001LL, 0xF0F0F0F002LL }; const byte shortAddr = 0x02; int switchsPins[] = { ...
#include <SPI.h> #include "nRF24L01.h" #include "RF24.h" #include "DHT.h" #include <EEPROM.h> //#include "printf.h" #define DHTPIN 2 #define DHTTYPE DHT11 RF24 radio(8,9); DHT dht(DHTPIN, DHTTYPE); byte incomingByte = 0; const uint64_t pipes[2] = { 0xF0F0F0F001LL, 0xF0F0F0F002LL }; const byte shortAddr = 0x02;...
Add buffering
Add buffering Use EEPROM as buffer for data
Arduino
apache-2.0
Ertinfagor/RCHome,Ertinfagor/RCHome,Ertinfagor/RCHome
4770de58db4900229d45b8b4e96a0fb966f58ef4
software/firmware/hardware_test/hardware_test/hardware_test.ino
software/firmware/hardware_test/hardware_test/hardware_test.ino
#include <AccelStepper.h> // Pin definitions // Left motor driver #define motorLPin1 2 // IN1 on the ULN2003 driver 1 #define motorLPin2 3 // IN2 on the ULN2003 driver 1 #define motorLPin3 4 // IN3 on the ULN2003 driver 1 #define motorLPin4 5 // IN4 on the ULN2003 driver 1 // Right motor driver #...
#include <AccelStepper.h> // Pin definitions // Left motor driver #define motorLPin1 2 // IN1 on the ULN2003 driver 1 #define motorLPin2 3 // IN2 on the ULN2003 driver 1 #define motorLPin3 4 // IN3 on the ULN2003 driver 1 #define motorLPin4 5 // IN4 on the ULN2003 driver 1 // Right motor driver #...
Update firmware with peripheral support
Update firmware with peripheral support
Arduino
mit
snhack/LogoBot,snhack/LogoBot,snhack/LogoBot,snhack/LogoBot,snhack/LogoBot
925d225d0c968df981289f97603a8a23a8437c73
sketch_smartlock/sketch_smartlock.ino
sketch_smartlock/sketch_smartlock.ino
#include <ArduinoJson.h> #include <LGPRS.h> #include <LGPRSClient.h> #include <LGPS.h> #include <MQTTClient.h> #define JSON_BUF_SIZE 192 #define PIN_MOTOR 0 #define PIN_LOCK_STATUS 5 #define PIN_LOCK_STEP 6 #define PIN_BUZZER 7 typedef enum { STATUS_INVALID, STATUS_INIT_GPRS, STATUS_INIT_YUNBA, STATUS_IDLE, ...
#include <ArduinoJson.h> #include <LGPRS.h> #include <LGPRSClient.h> #include <LGPS.h> #include <MQTTClient.h> #define JSON_BUF_SIZE 192 #define PIN_MOTOR 0 #define PIN_LOCK_STATUS 5 #define PIN_LOCK_STEP 6 #define PIN_BUZZER 7 typedef enum { STATUS_INVALID, STATUS_INIT_GPRS, STATUS_INIT_YUNBA, STATUS_IDLE, ...
fix unlock check
fix unlock check
Arduino
mit
yunbademo/yunba-smartlock,yunbademo/yunba-smartlock
e90d47ef4f21031e13a8a8d6248277af0665bab8
examples/rwccert-otaa-halconfig-us915/rwccert-otaa-halconfig-us915.ino
examples/rwccert-otaa-halconfig-us915/rwccert-otaa-halconfig-us915.ino
/******************************************************************************* * Copyright (c) 2019 Terry Moore, MCCI * * Permission is hereby granted, free of charge, to anyone * obtaining a copy of this document and accompanying files, * to do whatever they want with them without any restriction, * including,...
/* Module: rwccert-otaa-halconfig.ino Function: Test program for developing and checking LMIC compliance test support. Copyright and License: Please see accompanying LICENSE file. Author: Terry Moore, MCCI Corporation March 2019 */ #include <Arduino.h> #include <arduino_lmic.h> #include <arduino_lm...
Simplify header includes, commentary
Simplify header includes, commentary
Arduino
mit
mcci-catena/arduino-lmic,mcci-catena/arduino-lmic,mcci-catena/arduino-lmic
bdb4948508ebe12f842a75f8b11d077e8130be33
examples/SW01_Humidity_Measurement/SW01_Humidity_Measurement.ino
examples/SW01_Humidity_Measurement/SW01_Humidity_Measurement.ino
/************************************************************* This is an examples for the SW01 Digital Temperature, Pressure and Humidity Sensor You can buy one on our store! -----> https://xinabox.cc/SW01/ This example request a humidity meausrement to be made by the SW01 and display the data over the Seri...
/************************************************************* This is an examples for the SW01 Digital Temperature, Pressure and Humidity Sensor You can buy one on our store! -----> https://xinabox.cc/SW01/ This example request a humidity meausrement to be made by the SW01 and display the data over the Seri...
Update SW01_Humidity_Measurement.ino
Update SW01_Humidity_Measurement.ino
Arduino
mit
xinabox/xSW01
7d138efc1a4fcab9f1dc4b5dc1b357e40a419fff
examples/adafruitio_secure_esp8266/adafruitio_secure_esp8266.ino
examples/adafruitio_secure_esp8266/adafruitio_secure_esp8266.ino
/*************************************************** Adafruit MQTT Library ESP8266 Adafruit IO SSL/TLS example Must use the latest version of ESP8266 Arduino from: https://github.com/esp8266/Arduino Works great with Adafruit's Huzzah ESP board & Feather ----> https://www.adafruit.com/product/2471 ----> ...
/*************************************************** Adafruit MQTT Library ESP8266 Adafruit IO SSL/TLS example Must use the latest version of ESP8266 Arduino from: https://github.com/esp8266/Arduino Works great with Adafruit's Huzzah ESP board & Feather ----> https://www.adafruit.com/product/2471 ----> ...
add delay to secure example publish loop
add delay to secure example publish loop
Arduino
mit
adafruit/Adafruit_MQTT_Library
ed15e6619f7c2be68209238a4401ee9aa2d1dd3c
build/shared/examples/examples.ino
build/shared/examples/examples.ino
/* OVERVIEW Thank you for using the Papilio DesignLab IDE! This is the one place to go for all of your Papilio needs. Use this system to Draw and Debug circuits for your FPGA without learning VHDL! Use the included schematic library to draw circuits with basic building blocks such as logic gates, shifters, multiplexe...
/* OVERVIEW Thank you for using the Papilio DesignLab IDE! This is the one place to go for all of your Papilio needs. Use this system to Draw and Debug circuits for your FPGA without learning VHDL! Use the included schematic library to draw circuits with basic building blocks such as logic gates, shifters, multiplexe...
update TOC
update TOC
Arduino
lgpl-2.1
rcook/DesignLab,rcook/DesignLab,rcook/DesignLab,rcook/DesignLab,rcook/DesignLab,rcook/DesignLab,rcook/DesignLab
3fc42153d3151d41bbf89dcaa197827a6f1dca33
V1_0.ino
V1_0.ino
#include <avr/io.h> #include <avr/interrupt.h> #include <util/crc16.h> #include <SPI.h> #include <RFM22.h> #include <TinyGPS.h> #define ASCII 7 // ASCII 7 or 8 #define STOPBITS 2 // Either 1 or 2 #define TXDELAY 0 // Delay between sentence TX's #define RTTY_BAUD 50 // Baud rate for use with R...
#include <avr/io.h> #include <avr/interrupt.h> #include <util/crc16.h> #include <SPI.h> #include <RFM22.h> #include <TinyGPS.h> #define ASCII 7 // ASCII 7 or 8 #define STOPBITS 2 // Either 1 or 2 #define TXDELAY 0 // Delay between sentence TX's #define RTTY_BAUD 50 ...
Apply "indent -kr -i2 -nut" to format whitespace roughly to the arduino standard
Apply "indent -kr -i2 -nut" to format whitespace roughly to the arduino standard
Arduino
bsd-2-clause
bertrik/picoballoon
8bd92ac2f075618175a96119d4c463a5a0dd8d27
examples/SW01_Temperature_Measurement/SW01_Temperature_Measurement.ino
examples/SW01_Temperature_Measurement/SW01_Temperature_Measurement.ino
/************************************************************* This is an examples for the SW01 Digital Temperature, Pressure and Humidity Sensor You can buy one on our store! -----> https://xinabox.cc/SW01/ This example request a temperature meausrement to be made by the SW01 and display the data over the S...
/************************************************************* This is an examples for the SW01 Digital Temperature, Pressure and Humidity Sensor You can buy one on our store! -----> https://xinabox.cc/SW01/ This example request a temperature meausrement to be made by the SW01 and display the data over the S...
Update SW01_Temperature_Measurement.ino
Update SW01_Temperature_Measurement.ino
Arduino
mit
xinabox/xSW01
b1695117a1f56c3ac8b3490aba2c81fb3a41bcd4
battlestation/arduino/arduino.ino
battlestation/arduino/arduino.ino
/* This file is part of the Siege Battlestation Indicator. Siege Battlestation Indicator is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) ...
/* This file is part of the Siege Battlestation Indicator. Siege Battlestation Indicator is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) ...
Use strtok_r like a good human
Use strtok_r like a good human
Arduino
bsd-2-clause
WalterCReel3/siege,WalterCReel3/siege,WalterCReel3/siege,WalterCReel3/siege
7fb0e909225bb2d5842fd5f8e178d393f334c948
app/firmware/entry/entry.ino
app/firmware/entry/entry.ino
char remainData; const int M_SIZE=20; const int M_VALUE=614; int iii=0; int mdata[M_SIZE]; void setup(){ Serial.begin(9600); Serial.flush(); initPorts(); } void initPorts () { for (int pinNumber = 0; pinNumber < 14; pinNumber++) { pinMode(pinNumber, OUTPUT); digitalWrite(pinNumber, LOW); } } void ...
char remainData; const int M_SIZE=20; const int M_VALUE=614; int iii=0; int mdata[M_SIZE]; void setup(){ Serial.begin(9600); Serial.flush(); initPorts(); } void initPorts () { for (int pinNumber = 0; pinNumber < 14; pinNumber++) { pinMode(pinNumber, OUTPUT); digitalWrite(pinNumber, LOW); } } void ...
delete isPortWriteable
delete isPortWriteable
Arduino
mit
songhagwon/entry-hw,kjsii123/entry-hw,SungminSeung/entry-hw,entrylabs/entry-hw,entrylabs/entry-hw,songhagwon/entry-hw,entrylabs/entry-hw,songhagwon/entry-hw,entrylabs/entry-hw,SungminSeung/entry-hw,kjsii123/entry-hw,entrylabs/entry-hw,kjsii123/entry-hw,songhagwon/entry-hw,SungminSeung/entry-hw,entrylabs/entry-hw,Sungmi...
6d0baeac86f6f18fda186630cb77285f75403be9
examples/02-Utility/OutputToneWithSteppedAmplitude/OutputToneWithSteppedAmplitude.ino
examples/02-Utility/OutputToneWithSteppedAmplitude/OutputToneWithSteppedAmplitude.ino
/* Output Tone With Stepped Amplitude Chip Audette, OpenAudio 2018 Plays a single tone followed by silence. Repeats the tone+silence at increasing amplitude. The last tone should definitely distort. The 2nd-to-last tone should be on the edge of distorting. MIT License, Use at your own risk. */ #include ...
/* Output Tone With Stepped Amplitude Chip Audette, OpenAudio 2018 Plays a single tone followed by silence. Repeats the tone+silence at increasing amplitude. The last tone should definitely distort. The 2nd-to-last tone should be on the edge of distorting. WARNING: DO NOT LISTEN TO THIS WITH HEADPHONES ON...
Add warning message to OutputToneWithSteppedAmplitude example
Add warning message to OutputToneWithSteppedAmplitude example
Arduino
mit
Tympan/Tympan_Library,Tympan/Tympan_Library,Tympan/Tympan_Library
1a70f7e66c164b4b450ea510f2a8f24d2683c225
teensy_octo.ino
teensy_octo.ino
/** * Teensy Octo v1.0 * * Custom-built USB peripheral with eight buttons, two PWM RGB LEDs and a Piezo buzzer. * Based on the Teensy 2 microcontroller - http://www.pjrc.com/teensy * * Created as a birthday present to Waher (http://waher.net/about-waher-net) * * @author David <david@sqroot.eu> 2013 * * Use...
/** * Teensy Octo v1.0 * * This is the C / Arduino firmware for the Teensy Octo, * a custom-built USB peripheral with eight buttons, two * PWM RGB LEDs and a Piezo buzzer. * * The microcontroller in use is Teensy 2.0 - http://www.pjrc.com/teensy * * Created as a birthday present to Waher (http://waher.net/ab...
Document code
Document code
Arduino
mit
anroots/teensy-moonica
f3096253b443c88e41cacdfc18c1434f173d9817
client_arduino/arduino_client.ino
client_arduino/arduino_client.ino
#include <Arduino.h> #include <ESP8266WiFi.h> #include <SoftwareSerial.h> #include <time.h> #include <WiFiClientSecure.h> #include PRIKMETER_CONFIG_INCLUDE #include "telegram_reader.h" #define SERIAL_RX_PIN D5 #define LED_PIN D4 #define P1_BUFFER_SIZE_BYTES 64 #define READ_TIMEOUT_MILLIS 5000 #ifndef SERVER_PORT #d...
#include <Arduino.h> #include <ESP8266WiFi.h> #include <SoftwareSerial.h> #include <time.h> #include <WiFiClientSecure.h> #include PRIKMETER_CONFIG_INCLUDE #include "telegram_reader.h" #define SERIAL_RX_PIN D5 #define LED_PIN D4 #define P1_BUFFER_SIZE_BYTES 64 #define READ_TIMEOUT_MILLIS 5000 #ifndef SERVER_PORT #d...
Use actual Morse code for error blinking
Use actual Morse code for error blinking
Arduino
bsd-3-clause
ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter
cd219d40febcc0e851b9e56cb3af580bd21ab086
arduino/libraries/TensorFlow/examples/DetectFaces/DetectFaces.ino
arduino/libraries/TensorFlow/examples/DetectFaces/DetectFaces.ino
/* * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
make LED blink when face is detected
make LED blink when face is detected Change-Id: I9611d82df1b856a72bf1133b401c54ac8dba0a7f GitOrigin-RevId: a15551939514ed531d16eb3eb0f8a99a21e33c4b
Arduino
apache-2.0
google-coral/coralmicro,google-coral/coralmicro,google-coral/coralmicro,google-coral/coralmicro,google-coral/coralmicro
229df2b7403d1a94f68757e417c9c02949ec2ce8
bot_base.ino
bot_base.ino
/* bot_base.ino ~ Copyright 2015 ~ Paul Beaudet * MIT licence ~ See licence for details * Compiled with Arduino IDE 1.6.5 * The goal of this project is to provide remote control and some autonomous * program modes for a 2 wheeled robot driven by the 2x12 Sabertooth motor controller * !! no ramping assumes your mot...
/* bot_base.ino ~ Copyright 2015 ~ Paul Beaudet * MIT licence ~ See licence for details * Compiled with Arduino IDE 1.6.5 * The goal of this project is to provide remote control and some autonomous * program modes for a 2 wheeled robot driven by the 2x12 Sabertooth motor controller * NOTICE!! no ramping, assumes y...
fix consitancy issues with white space
fix consitancy issues with white space
Arduino
mit
PaulBeaudet/bot_base,PaulBeaudet/bot_base
0940e29491a6437d4ef490f7dce881102ed1af81
firmware.ino
firmware.ino
#include <SwitecX25.h> //-----------------------RGB Variables-----------------------------------// int LED_RED = 11; int LED_BLUE = 10; int LED_GREEN = 9; int rgbValue = 0; int light; //-----------------------Motor Variables--------------------------------// // standard X25.168 range 315 degrees at 1/10 degree ste...
#include <SwitecX25.h> //-----------------------RGB Variables-----------------------------------// int LED_RED = 11; int LED_BLUE = 10; int LED_GREEN = 9; int rgbValue = 0; int light; //-----------------------Motor Variables--------------------------------// // standard X25.168 range 315 degrees at 1/10 degree ste...
Resolve some compiler warnings when using the Makefile.
Resolve some compiler warnings when using the Makefile.
Arduino
bsd-3-clause
openxc-retro-gauge/retro-gauge-firmware,openxc-retro-gauge/retro-gauge-firmware
9be407003327ff8f265945f7ad02641c8cfaae93
Arduino/MAX31850/non_blocking_multiple.ino
Arduino/MAX31850/non_blocking_multiple.ino
// // Sample of using Async reading of Dallas Temperature Sensors with two sensors // #include <OneWire.h> #include <DallasTemperature.h> // Data wire is plugged into port 2 on the Arduino #define ONE_WIRE_BUS 2 #define TEMPERATURE_PRECISION 9 // Setup a oneWire instance to communicate with any OneWire devices (not ...
// // Sample of using Async reading of Dallas Temperature Sensors with two sensors // #include <OneWire.h> #include <DallasTemperature.h> // Data wire is plugged into port 2 on the Arduino #define ONE_WIRE_BUS 2 #define TEMPERATURE_PRECISION 9 // Setup a oneWire instance to communicate with any OneWire devices (not ...
Update non_blocking_multiple.ino
Update non_blocking_multiple.ino
Arduino
cc0-1.0
Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network
b1e9b2a8086fafe164ed6a78d7927fd2d5f3211c
computer_box/computer_box.ino
computer_box/computer_box.ino
#include <stdlib.h> #include <OneWire.h> #include <DHT.h> #define DHTPIN 3 // DHT Temp & Humidity Pin #define DHTTYPE DHT22 // DHT 22 (AM2302) int ac_probe = 0; int dc_probe = 1; int led_pin = 13; int led_value = LOW; int fan_pin = 4; int ds18_01_pin = 2; const int num_ds18 = 3; // Number of DS18B20 Sensors ui...
#include <stdlib.h> #include <OneWire.h> #include <DHT.h> #define DHTTYPE DHT22 // DHT 22 (AM2302) const int dht_pin = 3; // DHT Temp & Humidity Pin const int ac_probe = 0; const int dc_probe = 1; const int fan_pin = 4; const int ds18_01_pin = 2; const int num_ds18 = 3; // Number of DS18B20 Sensors int led_valu...
define to const; organize
define to const; organize
Arduino
mit
panoptes/POCS,panoptes/POCS,AstroHuntsman/POCS,panoptes/POCS,AstroHuntsman/POCS,panoptes/POCS,AstroHuntsman/POCS,AstroHuntsman/POCS,panoptes/PACE
b0163ac5fe6e61d593d868620d43f8517033106b
arduino/casa_inteligente/casa_inteligente.ino
arduino/casa_inteligente/casa_inteligente.ino
#define TEMPO_NOVA_TENTATIVA 5000 // Carrega biblioteca para economia de energia #include <Narcoleptic.h> // Configurações da shield ethernet #include <SPI.h> #include <Ethernet.h> //IPAddress ip(10, 60, 20, 15); //IPAddress server("m13.cloudmqtt.com"); char server[] = "m13.cloudmqtt.com"; EthernetClient ethClient; ...
#define TEMPO_NOVA_TENTATIVA 5000 // Carrega biblioteca para economia de energia #include <Narcoleptic.h> // Configurações da shield ethernet #include <SPI.h> #include <Ethernet.h> //IPAddress ip(10, 60, 20, 15); //IPAddress server("m13.cloudmqtt.com"); char server[] = "m13.cloudmqtt.com"; EthernetClient ethClient; ...
implementa método para tratar callback da mudança de status do ar
implementa método para tratar callback da mudança de status do ar
Arduino
mit
brunosavyofs/casa_inteligente
2b3081dca6f6df62e3baf622fed64a1769fa48c1
bolt-arduino.ino
bolt-arduino.ino
#include "button.h" #include "led.h" #include "screen.h" #include "game.h" #include "clock.h" #include "const.h" #include "controller.h" #include "flasher.h" #include "logger.h" void setup() { Serial.begin(115200); //Attach interrupt for 64 button shield attachInterrupt(digitalPinToInterrupt(P_BUTTON_INTERRUPT...
#include "button.h" #include "led.h" #include "screen.h" #include "game.h" #include "clock.h" #include "const.h" #include "controller.h" #include "flasher.h" #include "logger.h" void setup() { Serial.begin(115200); //Attach interrupt for 64 button shield attachInterrupt(digitalPinToInterrupt(P_BUTTON_INTERRUPT...
Move procedure to setup
Move procedure to setup
Arduino
mit
SUPERETDUPER/bolt-arduino
80c30121a1c5a46185428833763aceb7a6e232e1
Deploy/rootfolder/sketches/SimpleProtocol/SimpleProtocol.ino
Deploy/rootfolder/sketches/SimpleProtocol/SimpleProtocol.ino
/* Copyright 2013 Luciano Zu project Ardulink http://www.ardulink.org/ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
/* Copyright 2013 Luciano Zu project Ardulink http://www.ardulink.org/ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
use ascii 10 instead of 255 as separator
use ascii 10 instead of 255 as separator
Arduino
apache-2.0
Ardulink/Ardulink-2,Ardulink/Ardulink-2,Ardulink/Ardulink-2
021aaaac1c00e6774c5d507ae95766d4409ec57e
PulseSensorAmped_Arduino_1dot4/PulseSensorAmped_Arduino_1dot4.ino
PulseSensorAmped_Arduino_1dot4/PulseSensorAmped_Arduino_1dot4.ino
/* Pulse Sensor Amped 1.4 by Joel Murphy and Yury Gitman http://www.pulsesensor.com ---------------------- Notes ---------------------- ---------------------- This code: 1) Blinks an LED to User's Live Heartbeat PIN 13 2) Fades an LED to User's Live HeartBeat 3) Determines BPM 4) Prints All of the Above to...
/* Pulse Sensor Amped 1.4 by Joel Murphy and Yury Gitman http://www.pulsesensor.com ---------------------- Notes ---------------------- ---------------------- This code: 1) Blinks an LED to User's Live Heartbeat PIN 13 2) Fades an LED to User's Live HeartBeat 3) Determines BPM 4) Prints All of the Above to...
Update PulseSensorAmped_Arduino_1dot4.ino
Update PulseSensorAmped_Arduino_1dot4.ino
Arduino
mit
WorldFamousElectronics/PulseSensor_Amped_Arduino
83822026335a38a0d4c359b9bc21f4267eb12f59
remote-control-by-phone/RemoteControl.ino
remote-control-by-phone/RemoteControl.ino
/* RemoteControl Demonstrates remotely controlling the Arduino Yun by mobile phone. Uses the Nexmo and Google Spreadsheet APIs via the Temboo Arduino Yun SDK. This sketch phones a user when dramatic changes in light level are sensed. The user can choose to turn on a LED or ignore the Yun's call. The valu...
/* RemoteControl Demonstrates remotely controlling the Arduino Yun by mobile phone. Uses the Nexmo and Google Spreadsheet APIs via the Temboo Arduino Yun SDK. This sketch phones a user when dramatic changes in light level are sensed. The user can choose to turn on a LED or ignore the Yun's call. The valu...
Update RemoteControl.ino
Update RemoteControl.ino
Arduino
apache-2.0
temboo/arduino-examples
1ba026e66c9c7331dc131067043d4c9e3c4cdc41
AnimatedGIFs.ino
AnimatedGIFs.ino
/* * Animated GIFs Display Code for SmartMatrix and 32x32 RGB LED Panels * * Uses SmartMatrix Library for Teensy 3.1 written by Louis Beaudoin at pixelmatix.com * * Written by: Craig A. Lindley * * Copyright (c) 2014 Craig A. Lindley * Refactoring by Louis Beaudoin (Pixelmatix) * * Permission is hereby grante...
/* * Animated GIFs Display Code for SmartMatrix and 32x32 RGB LED Panels * * Uses SmartMatrix Library for Teensy 3.1 written by Louis Beaudoin at pixelmatix.com * * Written by: Craig A. Lindley * * Copyright (c) 2014 Craig A. Lindley * Refactoring by Louis Beaudoin (Pixelmatix) * * Permission is hereby grante...
add "configuration" instructions at top to make it clearer
add "configuration" instructions at top to make it clearer
Arduino
mit
pixelmatix/AnimatedGIFs,pixelmatix/AnimatedGIFs
671c4d43a017637424b2709abae88b7ce2c79cb4
Arduino/libraries/UA_Sensors/examples/BridgeSensorGSM/BridgeSensorGSM.ino
Arduino/libraries/UA_Sensors/examples/BridgeSensorGSM/BridgeSensorGSM.ino
/* Bridge Sensor with GSM, SDCard, and RTC Sketch used by UA Sensors platform. Notes: - Sketch handles specific case with current test sensor where SD Card does not write - Need to test if this version works on test sensor Created 14 6 2014 Modified 30 6 2014 */ #include <LowPower.h> #include <mat...
/* Bridge Sensor with GSM, SDCard, and RTC Sketch used by UA Sensors platform. Notes: - Sketch handles specific case with current test sensor where SD Card does not write - Need to test if this version works on test sensor Created 14 6 2014 Modified 30 6 2014 */ #include <LowPower.h> #include <mat...
Remove hack since it didn't work...
Remove hack since it didn't work...
Arduino
unlicense
UAA-EQLNES/EQLNES-Sensors
b5d42f8b50a6a2eb9a87dcd6ac95ccce4978f0b6
tft_weatherstation/tft_weatherstation_v5/tft_weatherstation_v5.ino
tft_weatherstation/tft_weatherstation_v5/tft_weatherstation_v5.ino
#include <Adafruit_GFX.h> // Core graphics library #include <Adafruit_TFTLCD.h> // Hardware-specific library #include "TSL2561.h" #include <SFE_BMP180.h> #include <Wire.h> #include "DHT.h" #include <MCUFRIEND_kbv.h> #define LCD_CS A3 // Chip Select goes to Analog 3 #define LCD_CD A2 // Command/Data goes to Analog 2...
#include <Adafruit_GFX.h> // Core graphics library #include <Adafruit_TFTLCD.h> // Hardware-specific library #include "TSL2561.h" #include <SFE_BMP180.h> #include <Wire.h> #include "DHT.h" #include <MCUFRIEND_kbv.h> #define LCD_CS A3 // Chip Select goes to Analog 3 #define LCD_CD A2 // Command/Data goes to...
Update tft_weatherstation_v5.ino
Update tft_weatherstation_v5.ino
Arduino
unlicense
bRanger82/ArduinoTemperature,bRanger82/ArduinoTemperature
82123055168cd2e79b8e02682b7da89c86a0519e
Code/OricKeyboardReader.ino
Code/OricKeyboardReader.ino
// Arduino Micro Oric Keyboard Reader. #include <HID.h> #include <Keyboard.h> #define PIN_INPUT_COL1 2 #define PIN_INPUT_COL2 3 #define PIN_INPUT_COL3 4 #define PIN_INPUT_COL4 5 #define PIN_INPUT_COL5 6 #define PIN_OUTPUT_C6 7 #define PIN_OUTPUT_B7 8 #define PIN_OUTPUT_A8 9 #define PIN_IN...
// Arduino Micro Oric Keyboard Reader. #include <HID.h> #include <Keyboard.h> #define PIN_INPUT_COL1 2 #define PIN_INPUT_COL2 3 #define PIN_INPUT_COL3 4 #define PIN_INPUT_COL4 5 #define PIN_INPUT_COL5 6 #define PIN_OUTPUT_C6 7 #define PIN_OUTPUT_B7 8 #define PIN_OUTPUT_A8 9 #define PIN_IN...
Tidy up code
Tidy up code
Arduino
mit
LeifBloomquist/OricKeyboardReader
cedb2092c3718cc9c2f009f86a4746510422ea9a
files/template_home/template_home_2014/template_home_2014.ino
files/template_home/template_home_2014/template_home_2014.ino
/* SenseBox Citizen Sensingplatform <<<<<<< HEAD:files/template.ino Version: 1.2 Date: 2015-01-06 Homepage: http://sensebox.uni-muenster.de/bestellen/fuer-buerger/ Author: Jan Wirwahn Note: Version with additional sensors for GIS-GK@ifgi */ ======= Version: 1.1 Date: 2015-01-14 Homepage: http://www.sensebox.de Author: ...
/* SenseBox Citizen Sensingplatform Version: 1.1 Date: 2015-01-14 Homepage: http://www.sensebox.de Author: Jan Wirwahn Note: Sketch for SB-Home Edition 2014 */ #include <Wire.h> #include <SPI.h> #include <EthernetV2_0.h> #include <DHT.h> #include <Barometer.h> #include <avr/wdt.h> //IDs are being generated by the OSM...
fix merge messages
fix merge messages
Arduino
mit
chk1/OpenSenseMap-API,mpfeil/OpenSenseMap-API,sensebox/OpenSenseMap-API,mpfeil/OpenSenseMap-API,sensebox/OpenSenseMap-API
b58805a8a0c5c51ffb0469a374b0eac59af45fa7
src/Full_decoder/Full_decoder.ino
src/Full_decoder/Full_decoder.ino
#include <Servo.h> /* If serial output is desired uncommment the #undef line. For production, i.e. without computer connected this line should be commented out. */ #define DEBUG_OUTPUT #undef DEBUG_OUTPUT #ifdef DEBUG_OUTPUT #define USE_SERIAL #define DEBUG(x) Serial.print(x) #define DEBUGLN(x) Serial.println(x) #el...
#include <Servo.h> /* If serial output is desired uncommment the #undef line. For production, i.e. without computer connected this line should be commented out. */ #define DEBUG_OUTPUT #undef DEBUG_OUTPUT #ifdef DEBUG_OUTPUT #define USE_SERIAL #define DEBUG(x) Serial.print(x) #define DEBUGLN(x) Serial.println(x) #el...
Fix power pin options
Fix power pin options
Arduino
mit
dirkjankrijnders/universal_decoder,dirkjankrijnders/universal_decoder
314a602c9b72a834265886c0ca5bb0320418a857
Arduino/LightPlayer/LightPlayer.ino
Arduino/LightPlayer/LightPlayer.ino
#include <SPI.h> #include <SdFat.h> #include <FAB_LED.h> #define DEBUG // ports used: // digital 4 - SD card chip select // digital 6 - strip of 200 APA106 LEDs // digital 11 - SPI (SD card DI) // digital 12 - SPI (SD card DO) // digital 13 - SPI (SD card CLK) // analog 0 - RF remote button D // analog 1 - RF remote ...
#include <SPI.h> #include <SdFat.h> #include <FAB_LED.h> #define DEBUG // ports used: // digital 4 - SD card chip select // digital 6 - strip of 200 APA106 LEDs // digital 11 - SPI (SD card DI) // digital 12 - SPI (SD card DO) // digital 13 - SPI (SD card CLK) // analog 0 - RF remote button D // analog 1 - RF remote ...
Remove global variable for SPI speed
Remove global variable for SPI speed
Arduino
mit
godlygeek/LightRender,MaddAddaM/LightRender
f90c096d22ca166b36bb0fbf1586cf9ab19ab42b
examples/AdafruitHuzzahESP8266Secure/AdafruitHuzzahESP8266Secure.ino
examples/AdafruitHuzzahESP8266Secure/AdafruitHuzzahESP8266Secure.ino
// This example uses an Adafruit Huzzah ESP8266 // to connect to shiftr.io. // // You can check on your device after a successful // connection here: https://shiftr.io/try. // // by Joël Gähwiler // https://github.com/256dpi/arduino-mqtt #include <ESP8266WiFi.h> #include <MQTT.h> const char ssid[] = "ssid"; const cha...
// This example uses an Adafruit Huzzah ESP8266 // to connect to shiftr.io. // // You can check on your device after a successful // connection here: https://shiftr.io/try. // // by Joël Gähwiler // https://github.com/256dpi/arduino-mqtt #include <ESP8266WiFi.h> #include <MQTT.h> const char ssid[] = "ssid"; const cha...
fix esp8266 example and added note about verification
fix esp8266 example and added note about verification
Arduino
mit
256dpi/arduino-mqtt,256dpi/arduino-mqtt
702af665a5dde9ac9f97d532dface54696bb08cb
test/XBee_test/XBee_test.ino
test/XBee_test/XBee_test.ino
/* XBee test on Mega For old code that works with Aruidno Uno, see git log and pull it from the repo Modified upon "Mega multple serial test" Receives from the main serial port, sends to the others. Receives from serial port 2 (XBee), sends to the main serial (Serial 0). This example works only on t...
/* XBee test on Mega For old code that works with Aruidno Uno, see git log and pull it from the repo Modified upon "Mega multple serial test" Receives from the main serial port, sends to the others. Receives from serial port 2 (XBee), sends to the main serial (Serial 0). This example works only on t...
add led test
add led test
Arduino
bsd-2-clause
nebgnahz/HOBS,nebgnahz/HOBS,nebgnahz/HOBS
cbbf29b2af51eb23e86afc460d36a982c75966ea
MP3PlayerwithHC06/MP3PlayerwithHC06.ino
MP3PlayerwithHC06/MP3PlayerwithHC06.ino
/* * MP3 Player with DFPlayer Mini, Bluetooth (HC-05) Module * Made by Darkhost (darkhost225@gmail.com) * Required Library : SoftwareSerial, DFRobotDFPlayerMini * Last Update : 2018.06.22 * Bluetooth RX - 8 / TX - 9 * DFPlayer RX - 11 / TX - 12 * Serial Speed 115200 / DFPlayer Serial Speed 9600 / Bluetooth Seria...
/* * MP3 Player with DFPlayer Mini, Bluetooth (HC-06) Module * Made by Darkhost (darkhost225@gmail.com) * Required Library : SoftwareSerial, DFRobotDFPlayerMini * Last Update : 2018.06.22 * Bluetooth RX - 8 / TX - 9 * DFPlayer RX - 11 / TX - 12 * Serial Speed 115200 / DFPlayer Serial Speed 9600 / Bluetooth Seria...
Edit MP3PlayerwithHC06.ino
Edit MP3PlayerwithHC06.ino
Arduino
mit
Darkhost/Arduino
b03d2560de68b84d5d75e6e17dda624bccf86084
projects/arduino/plant_emoji/src/plant_emoji/plant_emoji.ino
projects/arduino/plant_emoji/src/plant_emoji/plant_emoji.ino
//Put the following code into arduino long soilhumid; long humid; int dataIn = 2; int load = 3; int clock = 4; byte max7219_reg_noop = 0x00; byte max7219_reg_digit0 = 0x01; byte max7219_reg_digit1 = 0x02; byte max7219_reg_digit2 = 0x03; byte max7219_reg_digit3 = 0x04; byte max7219_reg_digit4 = 0x05; byte max7219_reg_...
//Put the following code into arduino long soilhumid; long humid; int dataIn = 2; int load = 3; int clock = 4; byte max7219_reg_noop = 0x00; byte max7219_reg_digit0 = 0x01; byte max7219_reg_digit1 = 0x02; byte max7219_reg_digit2 = 0x03; byte max7219_reg_digit3 = 0x04; byte max7219_reg_digit4 = 0x05; byte max7219_reg_...
Update plant_emoji.ino
Update plant_emoji.ino
Arduino
mit
borq79/cs.edu,borq79/cs.edu
ee79105c73f07f51032c7fb4efcf8dc3bb2a232b
geiger_esp/geiger_esp.ino
geiger_esp/geiger_esp.ino
#include <stdint.h> #include <ESP8266WiFi.h> #include <WiFiManager.h> #include <PubSubClient.h> #define MQTT_HOST "mosquitto.space.revspace.nl" #define MQTT_PORT 1883 #define TOPIC_GEIGER "revspace/sensors/geiger" #define LOG_PERIOD 15000 //Logging period in milliseconds, recommended value 15000-60000...
#include <stdint.h> #include <string.h> #include <ESP8266WiFi.h> #include <WiFiManager.h> #include <PubSubClient.h> #define MQTT_HOST "mosquitto.space.revspace.nl" #define MQTT_PORT 1883 #define TOPIC_GEIGER "revspace/sensors/geiger" #define LOG_PERIOD 10 static char esp_id[16]; static WiFiManager wifiMana...
Use a more advanced algorithm showing actual count over past minute
Use a more advanced algorithm showing actual count over past minute
Arduino
bsd-2-clause
revspace/geiger,revspace/geiger
c7f225f19a739c56e0e9953f9206ce8533bf5732
Arduino/sendRF/sendRF.ino
Arduino/sendRF/sendRF.ino
#include <SPI.h> #include <RF24.h> #include "printf.h" // ce, csn pins RF24 radio(9, 10); byte ID[4]; char rxBuff[14]; int state = 3; void setup() { Serial.begin(9600); // put your setup code here, to run once: radio.begin(); radio.setPALevel(RF24_PA_MAX); radio.setChannel(0x76); radio.openWritingPipe(0...
#include <SPI.h> #include <RF24.h> #include "printf.h" // ce, csn pins RF24 radio(9, 10); char rxBuff[15]; int state = 3; char ID[3], quant[3], temp[3], sound[3], vel[3]; int StrToHex(char str[]) { return (int) strtol(str, 0, 16); } uint16_t hex2int(char *hex) { uint16_t val = 0; for(int i = 0 ; i < 3 ;...
Add conversion HexString to uint16_t
Add conversion HexString to uint16_t
Arduino
mit
CarlosPena00/Mobbi,CarlosPena00/Mobbi
32450dfc4d84715c02a736a81a7de4e4464e70aa
interduino/src/sketch.ino
interduino/src/sketch.ino
// Interduino is the physical manifestation of cigtee - an arduino sketch designed to take serial commands to make stuff happen IRL void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } int pinState[6]; void loop() { if(Serial.available()){ int ledState = Serial.read(); if(ledState == 65){ digitalWri...
// Interduino is the physical manifestation of cigtee - an arduino sketch designed to take serial commands to make stuff happen IRL void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } int pinState[6]; void loop() { if(Serial.available()){ int ledState = Serial.read(); if(ledState == 65){ digitalWri...
Change logic for serial commands
Change logic for serial commands
Arduino
agpl-3.0
NegativeK/telehack,NegativeK/telehack
e6ea21e424adf49823a5ccb4d95c9d7fbf07a72a
Ecran/BotMenu/BotMenu.ino
Ecran/BotMenu/BotMenu.ino
/** * \file BotMenu.cpp * \brief Code d'affichage de l'écran * \author Nicolas Sobczak * \date octobre 2016 */ #include "U8glib.h" #include "M2tk.h" #include "utility/m2ghu8g.h" #include "utility/mas.h" // setup u8g object U8GLIB_ST7920_128X64_1X u8g(13, 51, 14); // SPI Com: SCK = en = 13, MOSI = rw ...
/** * \file BotMenu.cpp * \brief Code d'affichage de l'écran * \author Nicolas Sobczak * \date octobre 2016 */ #include "U8glib.h" #include "M2tk.h" #include "utility/m2ghu8g.h" #include "utility/mas.h" // setup u8g object U8GLIB_ST7920_128X64_1X u8g(13, 51, 14); // SPI Com: SCK = en = 13, MOSI = rw ...
update BotMenu.ino
update BotMenu.ino
Arduino
mit
nsobczak/CoupeDeFrance,nsobczak/CoupeDeFrance,nsobczak/CoupeDeFrance,nsobczak/CoupeDeFrance,nsobczak/CoupeDeFrance
7735b1a305470fa60ea82e4204cc487f88f523c2
GyroSketch/GyroSketch.ino
GyroSketch/GyroSketch.ino
/*=================== *= TO DO = *=================== * *1. Find BaudRate of CAN system *Determine id *Determine what frame is (CAN library) * */ //=============================================== // I2Cdev and MPU6050 must be installed as libraries, or else the .cpp/.h files // for both classes must...
/*=================== *= TO DO = *=================== * *1. Find BaudRate of CAN system *Determine id *Determine what frame is (CAN library) * */ //=============================================== // I2Cdev and MPU6050 must be installed as libraries, or else the .cpp/.h files // for both classes must...
add debug option for serial output
add debug option for serial output
Arduino
mit
BrendonEarl/UVicHybridGyro,BrendonEarl/UVicHybridGyro
3ea260d8e05da39626b19248576bc475b9f0456f
_64-esp8266-atmega328p-i2c8x8-mma-8452-dash-button/a-01-esp-01/a-01-esp-01.ino
_64-esp8266-atmega328p-i2c8x8-mma-8452-dash-button/a-01-esp-01/a-01-esp-01.ino
// esp-01 1M / 64K SPIFFS #include <ESP8266WiFi.h> #include <PubSubClient.h> #include <Wire.h> #include "Adafruit_LEDBackpack.h" #include "Adafruit_GFX.h" #include "/usr/local/src/ap_setting.h" extern "C" { #include "user_interface.h" } ADC_MODE(ADC_VCC); #define IPSET_STATIC { 192, 168, 10, 12 } #define IPSET_GATE...
// esp-01 1M / 64K SPIFFS #include <ESP8266WiFi.h> #include <PubSubClient.h> #include <Wire.h> #include "Adafruit_LEDBackpack.h" #include "Adafruit_GFX.h" #include "/usr/local/src/ap_setting.h" extern "C" { #include "user_interface.h" } ADC_MODE(ADC_VCC); #define IPSET_STATIC { 192, 168, 10, 16 } #define IPSET_GATE...
change wifi_connect to wifi_event
change wifi_connect to wifi_event with static ip, delay has problem
Arduino
lgpl-2.1
chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino
a50a3c3651cb19d819639fd25f770e17681a7a0d
03-PlantMonitor/Code/02-InternetHouseplantMonitor/InternetHouseplantMonitor.ino
03-PlantMonitor/Code/02-InternetHouseplantMonitor/InternetHouseplantMonitor.ino
/* SparkFun Inventor's Kit for Photon Experiment 3 - Part 2: Internet Houseplant Monitor This sketch was written by SparkFun Electronics Joel Bartlett <joel@sparkfun.com> August 31, 2015 https://github.com/sparkfun/Inventors_Kit_For_Photon_Experiments This application monitors the moisture le...
/* SparkFun Inventor's Kit for Photon Experiment 3 - Part 2: Internet Houseplant Monitor This sketch was written by SparkFun Electronics Joel Bartlett <joel@sparkfun.com> August 31, 2015 https://github.com/sparkfun/Inventors_Kit_For_Photon_Experiments This application monitors the moisture le...
Update InternetHouseplantMonitor.ino
Update InternetHouseplantMonitor.ino Line 25: Typo in comment Line 30: New syntax for firmware version >= 0.47
Arduino
mit
sparkfun/Inventors_Kit_For_Photon_Experiments,sparkfun/Inventors_Kit_For_Photon_Experiments
2520845a89e4af7544d2e35dd5287c35d19c6559
src/main.ino
src/main.ino
/** * 370GT * @author Kevin Tjiam <kevin@tjiam.com> */ #include <Arduino.h> #include <stdint.h> #include <string.h> #include <debug_trace.h> #include <app_error.h> #include <sara_u2.h> #include <max_m8.h> #include "conf.h" static sara_u2_modem_t g_modem; static max_m8_gps_t g_gps; void modem_event_handler(sara_u2...
/** * 370GT * @author Kevin Tjiam <kevin@tjiam.com> */ #include <Arduino.h> #include <Wire.h> /* Do not remove: required by max_m8 (platformio) */ #include <stdint.h> #include <string.h> #include <debug_trace.h> #include <app_error.h> #include <sara_u2.h> #include <max_m8.h> #include "conf.h" static sara_u2_modem_...
add Wire.h dependency to main to prevent platformio build from failing (what the fuck?)
add Wire.h dependency to main to prevent platformio build from failing (what the fuck?)
Arduino
mit
hellstad/370gt-proto,hellstad/370gt-proto
350d9ebb3010ff6053505cbb7828847cf77dfb9d
MQTT433gateway.ino
MQTT433gateway.ino
/* MQTT433gateway - MQTT 433.92 MHz radio gateway utilizing ESPiLight Project home: https://github.com/puuu/MQTT433gateway/ The MIT License (MIT) Copyright (c) 2016 Puuu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
/* MQTT433gateway - MQTT 433.92 MHz radio gateway utilizing ESPiLight Project home: https://github.com/puuu/MQTT433gateway/ The MIT License (MIT) Copyright (c) 2016 Puuu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
replace NULL
src/MQTT433gateway.cpp: replace NULL Signed-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>
Arduino
mit
puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway
14698a69aa02e17f5868d881d319e73a91cff88d
Lifter/Lifter.ino
Lifter/Lifter.ino
#include <AccelStepper.h> #include <Servo.h> // #defines are macros for faster pin access than built-in digitalWrite(). // *http://masteringarduino.blogspot.com/2013/10/fastest-and-smallest-digitalread-and.html #define portOfPin(P)\ (((P)>=0&&(P)<8)?&PORTD:(((P)>7&&(P)<14)?&PORTB:&PORTC)) #define ddrOfPin(P)\ ((...
#include <AccelStepper.h> #include <Servo.h> // #defines are macros for faster pin access than built-in digitalWrite(). // *http://masteringarduino.blogspot.com/2013/10/fastest-and-smallest-digitalread-and.html #define portOfPin(P)\ (((P)>=0&&(P)<8)?&PORTD:(((P)>7&&(P)<14)?&PORTB:&PORTC)) #define ddrOfPin(P)\ ((...
fix Serial.print error
fix Serial.print error
Arduino
mit
JoeSuber/CardLifter
d9a571414d69c86e4d0126c5ee05aede71834167
ActiSense/AlertMe/feature/feature/src/main/resources/agent/AlertMe.ino
ActiSense/AlertMe/feature/feature/src/main/resources/agent/AlertMe.ino
/** * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/...
/** * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/...
Set to turn on buzzer and LED for testing
Set to turn on buzzer and LED for testing
Arduino
apache-2.0
charithag/iot-server-samples,charithag/iot-server-samples,charithag/iot-server-samples,charithag/iot-server-samples,charithag/iot-server-samples,charithag/iot-server-samples
37889f9da6c5e37da99254cc98edd1f1b83d9d9c
examples/MAX1464_example.ino
examples/MAX1464_example.ino
/* Example sketch for the MAX1464 library. Copyright (C) 2016 Giacomo Mazzamuto <gmazzamuto@gmail.com> 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 version 2 of the License, or ...
/* Example sketch for the MAX1464 library. Copyright (C) 2016 Giacomo Mazzamuto <gmazzamuto@gmail.com> 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 version 2 of the License, or ...
add macros for pins
example: add macros for pins
Arduino
lgpl-2.1
gmazzamuto/MAX1464-Arduino-library,gmazzamuto/MAX1464-Arduino-library
5cfff1769d6d8220a4601e5266b61035af0da818
examples/esp8266_firmware/esp8266_firmware.ino
examples/esp8266_firmware/esp8266_firmware.ino
/* This sketch implements a user-friendly though slightly ridiculous serial-wifi bridge for an ESP8266 chip. Upload this sketch to an ESP8266, connect the RX and TX pins to (software or hardware) pins of an arduino and use the barf library on arduino for super-easy bidirectional sending of statuses and commands ove...
/* This sketch implements a user-friendly though slightly ridiculous serial-wifi bridge for an ESP8266 chip. Upload this sketch to an ESP8266, connect the RX and TX pins to (software or hardware) pins of an arduino and use the barf library on arduino for super-easy bidirectional sending of statuses and commands ove...
Send host header when requesting resources
Send host header when requesting resources
Arduino
mit
kirberich/barf,kirberich/barf
9810e896d1cde20d0a3bc35b2abc9151bceb686a
libraries/Esplora/examples/Beginners/EsploraJoystickMouse/EsploraJoystickMouse.ino
libraries/Esplora/examples/Beginners/EsploraJoystickMouse/EsploraJoystickMouse.ino
/* Esplora Joystick Mouse This sketch shows you how to read the joystick and use it to control the movement of the cursor on your computer. You're making your Esplora into a mouse! WARNING: this sketch will take over your mouse movement. If you lose control of your mouse do the following: 1) unplug the Esp...
/* Esplora Joystick Mouse This sketch shows you how to read the joystick and use it to control the movement of the cursor on your computer. You're making your Esplora into a mouse! WARNING: this sketch will take over your mouse movement. If you lose control of your mouse do the following: 1) unplug the Esplo...
Update to Esplora example
Update to Esplora example Added Mouse.press to Esplora Joystick Mouse example
Arduino
lgpl-2.1
fungxu/Arduino,mangelajo/Arduino,championswimmer/Arduino,damellis/Arduino,gestrem/Arduino,Protoneer/Arduino,paulo-raca/ESP8266-Arduino,ccoenen/Arduino,smily77/Arduino,probonopd/Arduino,paulmand3l/Arduino,bsmr-arduino/Arduino,xxxajk/Arduino-1,superboonie/Arduino,leftbrainstrain/Arduino-ESP8266,HCastano/Arduino,paulmand3...