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
12cb85ef1a351c1b3e4c7c0b66d758699e0df49c
testjig/production/production.ino
testjig/production/production.ino
/* * Fadecandy testjig firmware for production. * This loads an initial bootloader/firmware image on the device, and runs electrical tests. * * Communicates with the PC for debug purposes using USB-Serial. * Final OK / Error status shows up on WS2811 LEDs attached to the DUT. */ #include "arm_kinetis_debug.h" #i...
/* * Fadecandy testjig firmware for production. * This loads an initial bootloader/firmware image on the device, and runs electrical tests. * * Communicates with the PC for debug purposes using USB-Serial. * Final OK / Error status shows up on WS2811 LEDs attached to the DUT. */ #include "arm_kinetis_debug.h" #i...
Undo typo
Undo typo
Arduino
mit
nomis52/fadecandy,jsestrich/fadecandy,poe/fadecandy,lincomatic/fadecandy,piers7/fadecandy,PimentNoir/fadecandy,Jorgen-VikingGod/fadecandy,hakan42/fadecandy,adam-back/fadecandy,lincomatic/fadecandy,lincomatic/fadecandy,jsestrich/fadecandy,scanlime/fadecandy,pixelmatix/fadecandy,hakan42/fadecandy,Protoneer/fadecandy,frag...
4c858223f1ece61eac1d75dc3252680457a0ba2f
iGPS.ino
iGPS.ino
/* * GPS解析 * 包括: * 时间、日期、经纬度、海拔 */ #include "LCD4884.h" #include <SD.h> #define GPRMC "$GPRMC" // 推荐最小定位信息 #define GPVTG "$GPVTG" // 地面速度信息 #define GPGGA "$GPGGA" // 获取海拔高度 #define GPZDA "$GPZDA" // UTC时间/日期及本地时区偏移量 #define VALID "A" // A=Valid 有效 #define INVALID "V" // V=Invalid 无效 #define LOCAL_AREA 8 // 本地时...
/* * GPS解析 * 包括: * 时间、日期、经纬度、海拔 */ #include "LCD4884.h" #include <SD.h> #define GPRMC "$GPRMC" // 推荐最小定位信息 #define GPVTG "$GPVTG" // 地面速度信息 #define GPGGA "$GPGGA" // 获取海拔高度 #define GPZDA "$GPZDA" // UTC时间/日期及本地时区偏移量 #define VALID "A" // A=Valid 有效 #define INVALID "V" // V=Invalid 无效 #define LOCAL_AREA 8 // 本地时...
Update iGPS.ino
Update iGPS.ino 调整显示
Arduino
apache-2.0
snowolf-zlex/iGPS,snowolf-zlex/iGPS
16e5ede4e3565c0374e71e32874ae6387d69e7fc
examples/FullyFeatured-ESP32/FullyFeatured-ESP32.ino
examples/FullyFeatured-ESP32/FullyFeatured-ESP32.ino
/* This example uses FreeRTOS softwaretimers as there is no built-in Ticker library */ #include <WiFi.h> extern "C" { #include "freertos/FreeRTOS.h" #include "freertos/timers.h" } #include <AsyncMqttClient.h> #define WIFI_SSID "yourSSID" #define WIFI_PASSWORD "yourpass" #define MQTT_HOST IPAddress(192, 168, 1, 10...
/* This example uses FreeRTOS softwaretimers as there is no built-in Ticker library */ #include <WiFi.h> extern "C" { #include "freertos/FreeRTOS.h" #include "freertos/timers.h" } #include <AsyncMqttClient.h> #define WIFI_SSID "yourSSID" #define WIFI_PASSWORD "yourpass" #define MQTT_HOST IPAddress(192, 168, 1, 10...
fix spacing
fix spacing
Arduino
mit
marvinroger/async-mqtt-client,marvinroger/async-mqtt-client,marvinroger/async-mqtt-client
58a6bc854218396f0813b4eeb821828e0a428d1e
examples/adsr/adsr.ino
examples/adsr/adsr.ino
/* * #### #### * #### #### * #### #### ## * #### #### #### * #### ############ ############ #### ########## #### ...
/* * #### #### * #### #### * #### #### ## * #### #### #### * #### ############ ############ #### ########## #### ...
Move volatiles into private members and move ISR code into internal callback methods.
Move volatiles into private members and move ISR code into internal callback methods.
Arduino
bsd-3-clause
logickworkshop/du-ino,logickworkshop/du-ino
87dfcdd6d2f4cde8fc789f9514d108e675d3fd5f
arduino/MWB.ino
arduino/MWB.ino
//######################################################################## //########################### Arduino Code ############################### //######################################################################## #include <Servo.h> #include <EEPROM.h> #include "EEPROMAnything.h" #define INPUT_SIZE 4 Se...
//////////////////////////////////////////////////////////////////////////////// // *** Moving Wall Box Arduino Code *** // // // // This programm should be used together with the MWB controller and an ...
Update MWB.ino
Update MWB.ino
Arduino
mit
AGenews/MWB,AGenews/MWB
ea6f8e684a851d063b74043ad599da9ac01d9b95
Arduino/linkit_duo_led5/linkit_duo_led5.ino
Arduino/linkit_duo_led5/linkit_duo_led5.ino
#include <PololuLedStrip.h> PololuLedStrip<12> ledStrip; #define LED_COUNT 72 #define MAX_LED (LED_COUNT) rgb_color colors[LED_COUNT]; rgb_color render[LED_COUNT]; int states[LED_COUNT]; #define BRIGHTNESS_DIVISOR 20.0 #define DEFAULT_BRIGHTNESS_PERCENT 20 // Standard colors rgb_color black = {0, 0, 0}; rgb_color...
#include <PololuLedStrip.h> PololuLedStrip<12> ledStrip; #define LED_COUNT 72 #define MAX_LED (LED_COUNT) rgb_color colors[LED_COUNT]; rgb_color render[LED_COUNT]; int states[LED_COUNT]; #define BRIGHTNESS_DIVISOR 20.0 #define DEFAULT_BRIGHTNESS_PERCENT 20 // Standard colors rgb_color black = {0, 0, 0}; rgb_color...
Improve the commands switch
Improve the commands switch
Arduino
mit
jhogsett/linkit,jhogsett/linkit,jhogsett/linkit,jhogsett/linkit,jhogsett/linkit,jhogsett/linkit
3370940fb199fca5206f1c27f4778b0ca8318eb2
Arduino/BlueCube/BlueCube.ino
Arduino/BlueCube/BlueCube.ino
/* * File: BlueCube.ino * Version: 0.8 * Author: Adam Reed (adam@secretcode.ninja) * Licence: BSD 3-Clause Licence * ============================================================================ APPLICATION SETTINGS (USER EDITABLE) - General VERBOSE_MODE Set to 'true' enables ...
/* * File: BlueCube.ino * Version: 0.8 * Author: Adam Reed (adam@secretcode.ninja) * Licence: BSD 3-Clause Licence * ============================================================================ APPLICATION SETTINGS (USER EDITABLE) - General SCRIPT_VERSION The version of this co...
Add a small wait for the serial monitor to be connected, then show the script's name and version.
Add a small wait for the serial monitor to be connected, then show the script's name and version.
Arduino
bsd-3-clause
neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube,neographophobic/BlueCube
a0d975c157741056517e671b55507369adb42432
examples/ESP_AsyncFSBrowser/ESP_AsyncFSBrowser.ino
examples/ESP_AsyncFSBrowser/ESP_AsyncFSBrowser.ino
#include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <ArduinoOTA.h> #include <FS.h> #include <ESPAsyncTCP.h> #include <ESPAsyncWebServer.h> // WEB HANDLER IMPLEMENTATION class SPIFFSEditor: public AsyncWebHandler { private: String _username; String _password; bool _uploadAuthenticated; public: ...
#include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <ArduinoOTA.h> #include <FS.h> #include <Hash.h> #include <ESPAsyncTCP.h> #include <ESPAsyncWebServer.h> // WEB HANDLER IMPLEMENTATION class SPIFFSEditor: public AsyncWebHandler { private: String _username; String _password; bool _uploadAuthentic...
fix travis build
fix travis build
Arduino
lgpl-2.1
Adam5Wu/ESPAsyncWebServer,Adam5Wu/ESPAsyncWebServer
b86aa0e93dc1ea13d9b3e4d75f6ba98d5e7b138f
examples/ESP32DevelopmentBoardSecure/ESP32DevelopmentBoardSecure.ino
examples/ESP32DevelopmentBoardSecure/ESP32DevelopmentBoardSecure.ino
// This example uses an ESP32 Development Board // to connect to shiftr.io. // // You can check on your device after a successful // connection here: https://www.shiftr.io/try. // // by Joël Gähwiler // https://github.com/256dpi/arduino-mqtt #include <WiFiClientSecure.h> #include <MQTT.h> const char ssid[] = "ssid"; ...
// This example uses an ESP32 Development Board // to connect to shiftr.io. // // You can check on your device after a successful // connection here: https://www.shiftr.io/try. // // by Joël Gähwiler // https://github.com/256dpi/arduino-mqtt #include <WiFiClientSecure.h> #include <MQTT.h> const char ssid[] = "ssid"; ...
Fix esp32 TCP connection by skipping verification
Fix esp32 TCP connection by skipping verification This turns off certificate and/or fingerprint verification
Arduino
mit
256dpi/arduino-mqtt,256dpi/arduino-mqtt
ae3745ab3b5eebec11cba6b4fc17fe01f04def47
receiver_analog/receiver_analog.ino
receiver_analog/receiver_analog.ino
/** Receive the sensor's transmission, then display it on the analogue meter. */ #include <util/delay.h> #include <avr/wdt.h> #include <avr/sleep.h> // Sleep Modes #include <avr/power.h> // Power management #include <VirtualWire.h> // inslude the SPI library: #include <SPI.h> #define DEBUG_LED_PIN 5 // PD5 (...
/** Receive the sensor's transmission, then display it on the analogue meter. */ #include <util/delay.h> #include <avr/wdt.h> #include <avr/sleep.h> // Sleep Modes #include <avr/power.h> // Power management #include <VirtualWire.h> // inslude the SPI library: //#include <SPI.h> #define DEBUG_LED_PIN 5 // PD5...
Use PWM
Use PWM
Arduino
mit
theapi/solar,theapi/solar,theapi/solar,theapi/solar,theapi/solar
3be3e7bf34373fc45ad0f4be7ac4de8ad7351cf6
duinoCar/duinoCar.ino
duinoCar/duinoCar.ino
#include <TimerOne.h> #include <SD.h> #include <TinyGPS.h> #include <TN901.h> #include <U8glib.h> #include "config.h" void setup(){ Serial.begin(9600); // Debug port Serial2.begin(9600); // APC 220 port Serial3.begin(4800); // read GPS port if(!SD.begin(sdCS)){ Serial.println("Card failed, or not pre...
#include <TimerOne.h> #include <SD.h> #include <TinyGPS.h> #include <TN901.h> #include <U8glib.h> #include "config.h" void setup(){ Serial.begin(9600); // Debug port Serial2.begin(9600); // APC 220 port Serial3.begin(4800); // read GPS port if(!SD.begin(sdCS)){ Serial.println("Card failed, or not pre...
change if statement to switch statement.
change if statement to switch statement.
Arduino
mit
chengkun/duino-car
f83262bf1a78dc895426cb35df03771fcd69f6c3
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...
Make SmartLED Shield V4 pinout the default now that the shield is in wide release
Make SmartLED Shield V4 pinout the default now that the shield is in wide release
Arduino
mit
pixelmatix/AnimatedGIFs,pixelmatix/AnimatedGIFs
4292ba157def37b84d06d1c0715b65e3bb378497
printer.ino
printer.ino
#include <SPI.h> #include <Ethernet.h> #include <SD.h> #include <EEPROM.h> #include <SoftwareSerial.h> #include <Bounce.h> // -- Settings for YOU to change if you want byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // physical mac address // The printerType controls the format of the data sent from the server...
#include <SPI.h> #include <Ethernet.h> #include <SD.h> #include <EEPROM.h> #include <SoftwareSerial.h> #include <Bounce.h> // -- Settings for YOU to change if you want byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // physical mac address // The printerType controls the format of the data sent from the server...
Remove unnecessary 'return' statement.
Remove unnecessary 'return' statement. The `terminalError` function never returns so this return statement is just wasted bytes.
Arduino
mit
exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer
749bb5d770490d976a35b954aa2fd9bdcd301e53
arduino/bus_reader/bus_reader.ino
arduino/bus_reader/bus_reader.ino
#include <SPI.h> #include <boards.h> #include <RBL_nRF8001.h> #include <LiquidCrystal.h> //Replaces the LiquidCrystal.h #include <EEPROM.h> #include <Wire.h> #define LED_13_PIN 13 #define UP A15 #define DOWN A14 #define RESET A13 #define CONTRAST_PIN 44 //Make sure this is on a PWM pin. I'm using the Arduino Mega ...
#include <SPI.h> #include <boards.h> #include <RBL_nRF8001.h> #include <LiquidCrystal.h> #include <EEPROM.h> #include <Wire.h> #define LED_13_PIN 13 #define UP A15 #define DOWN A14 #define RESET A13 #define CONTRAST_PIN 44 //Make sure this is on a PWM pin. I'm using the Arduino Mega 2560 R3 so pin number will diff...
Update bus_reader.ino
Update bus_reader.ino
Arduino
mit
yeokm1/bus-number-reader,yeokm1/bus-number-reader,yeokm1/bus-number-reader,yeokm1/bus-number-reader,yeokm1/bus-number-reader,yeokm1/bus-number-reader
5532faf1cf14473be3d7960a15136b057e21ed24
firmware/firmware.ino
firmware/firmware.ino
#include <Servo.h> #include "irsharp.h" #include "communication.h" #include "Hdlc.h" #include "mcdriver.h" // comment out for USB serial #define USE_XBEE_FOR_TELEMETRY #ifdef USE_XBEE_FOR_TELEMETRY #define SERIALDEV Serial3 #else #define SERIALDEV Serial #endif #define TEENSY_LED 13 #define IR_LEFT ...
#include <Servo.h> #include "irsharp.h" #include "communication.h" #include "Hdlc.h" #include "mcdriver.h" // comment out for USB serial #define USE_XBEE_FOR_TELEMETRY #ifdef USE_XBEE_FOR_TELEMETRY #define SERIALDEV Serial3 #else #define SERIALDEV Serial #endif #define START_BUTTON_DEBOUNCE_TIME_MS 250 #def...
add start button
add start button
Arduino
mit
rustbuggy/sharprust,rustbuggy/sharprust,rustbuggy/sharprust
f17cadbd0a28ab3f9601c91624edea878394c09a
allinline/allinline.ino
allinline/allinline.ino
#include "Arduino.h" #include <Adafruit_CC3000.h> #include <SPI.h> #include "utility/debug.h" #include "utility/socket.h" #include <clCmd.h> // Needed for neopixels - even though completely handled in clPix. // #include <Adafruit_NeoPixel.h> #include "udpServer.h" #define UDP_READ_BUFFER_SIZE 20 #define LISTEN_PORT...
#include "Arduino.h" #include <Adafruit_CC3000.h> #include <SPI.h> #include "utility/debug.h" #include "utility/socket.h" #include <clCmd.h> // Needed for neopixels - even though completely handled in clPix. // #include <Adafruit_NeoPixel.h> #include "udpServer.h" #define UDP_READ_BUFFER_SIZE 20 #define LISTEN_PORT...
Update allinline.ino
Update allinline.ino
Arduino
mit
aliwatters/arduino-casino,aliwatters/arduino-casino
5f1e4503b7c151ed422f5e11549d6423e83963d3
eMotion/flap/flap.ino
eMotion/flap/flap.ino
// Basic Commands void group_control(int nSerial, int ids[], int angle, int num, int sp){ char command[512] = ""; for(int i = 0; i < num; ++i) { char id[16] = ""; sprintf(id, "#%dP%d", ids[i], angle); strcat(command, id); } char chrspeed[8] = ""; sprintf(chrspeed, "T%d", sp); strcat(command...
// Basic Commands int ids[32] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32}; void group_control(int nSerial, int ids[], int angle, int num, int sp){ char command[512] = ""; for(int i = 0; i < num; ++i) { char id[16] = ""; sprintf(id, "#%dP%d", ids[i], angle);...
update motion
update motion
Arduino
mit
yuxiang-zhou/eMotion
2109b3c1a7c28031c4d7463e519a2340eaa32e8e
WindSensor/WindSensor.ino
WindSensor/WindSensor.ino
/* Modern Device Wind Sensor Sketch for Rev C Wind Sensor This sketch is only valid if the wind sensor if powered from a regulated 5 volt supply. An Arduino or Modern Device BBB, RBBB powered from an external power supply should work fine. Powering from USB will also work but will be slightly less accurate in o...
/* Modern Device Wind Sensor Sketch for Rev C Wind Sensor This sketch is only valid if the wind sensor if powered from a regulated 5 volt supply. An Arduino or Modern Device BBB, RBBB powered from an external power supply should work fine. Powering from USB will also work but will be slightly less accurate in o...
Remove tmp_volt from the json. Cause invalid json message
Remove tmp_volt from the json. Cause invalid json message
Arduino
mit
jderuere/Wind-Sensor
d490078998f4acf6b0ce7b4710e829c1dbe2aa0f
firmware/firmware.ino
firmware/firmware.ino
/* PlainReflow firmware file * * @file firmware.ino * @author Jonas Deitmerg * @date 2017 * @copyright MIT License * * Reflow oven controller running on Arduino Nano. * See https://github.com/jdeitmerg/PlainReflow * * Used libraries (please install via library manager): * * "PID" by Brett Beauregard * * "...
/* PlainReflow firmware file * * @file firmware.ino * @author Jonas Deitmerg * @date 2017 * @copyright MIT License * * Reflow oven controller running on Arduino Nano. * See https://github.com/jdeitmerg/PlainReflow * * Used libraries (please install via library manager): * * "PID" by Brett Beauregard * * "...
Update reference voltage to optimized value
Update reference voltage to optimized value Also reports the PID parameters in the serial plot.
Arduino
mit
jdeitmerg/PlainReflow
d3ba8bb13331c2968ebff51df6993e41946a0776
firmware/firmware.ino
firmware/firmware.ino
/* MAX1464 library for Arduino Copyright (C) 2016 Giacomo Mazzamuto <gmazzamuto@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at...
/* MAX1464 library for Arduino Copyright (C) 2016 Giacomo Mazzamuto <gmazzamuto@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at...
refactor object maxim -> max1464
firmware: refactor object maxim -> max1464
Arduino
lgpl-2.1
gmazzamuto/MAX1464-Arduino-library,gmazzamuto/MAX1464-Arduino-library
0a1e1b166d5ef37072b0886a7e833bd20f4b7682
ksp-gegi/ksp-gegi.ino
ksp-gegi/ksp-gegi.ino
#include <Arduino.h> // P0: // potencjometr od nawilżacza // nieprzylutowane -> GND, środek (czerwony pasek) -> A0, przylutowane -> 5V // kalibracja: po włączeniu przekręcić w obie skrajne pozycje // D0: // zielona strona, pomiędzy GND a D4 // circuit const int throttlePin = A0; // P0: Analog input pin that the pot...
#include <Arduino.h> // diody LED: niebieskie (bez rezystora) do GND, białe (z rezystorem) do pinu // potencjometr: niebieski z czarną kreską do GND, biały do +5V, niebieski do pinu A0 // przełączniki: niebieski do GND, biały do pinu, wszystkie zamontowane tak, aby niebieski był w środku, biały na dole, a niepodłączo...
add gear switch set speed to 9600
add gear switch set speed to 9600
Arduino
mit
ytmytm/ksp-gegi
90742d5ebe8618a170d1507377d0ad2caf4e07fa
src/basic/basic.ino
src/basic/basic.ino
#include <rn2xx3.h> #include <TinyGPS++.h> #include <SoftwareSerial.h> #include "keys.h" SoftwareSerial myLoraSerial(7, 8); // RX, TX #define RST 2 static const int RXPin = 4, TXPin = 3; static const uint32_t GPSBaud = 9600; // The serial connection to the GPS device SoftwareSerial gpsSerial(RXPin, TXPin); rn2xx3 my...
#include <rn2xx3.h> #include <TinyGPS++.h> #include <SoftwareSerial.h> #include "keys.h" SoftwareSerial myLoraSerial(7, 8); // RX, TX #define RST 2 static const int RXPin = 4, TXPin = 3; static const uint32_t GPSBaud = 9600; // The serial connection to the GPS device SoftwareSerial gpsSerial(RXPin, TXPin); rn2xx3 my...
add buzzer
add buzzer
Arduino
mit
GabrielKatz/bicycletracking,GabrielKatz/bicycletracking
ca6836c1d493e9e4122c282d7b44b68ff213d2d3
CoreIR.ino
CoreIR.ino
/* * * I-lap "transponder" compatible IR transmitter for RC timing system * * Type in a 7-digit ID and an alternate ID into the define fields before compiling. * Note that using non-random ID numbers will increase your chances of encountering * another unit using the same ID. * * IDs starting with 0 and those with ma...
/* * * I-lap "transponder" compatible IR transmitter for RC timing system * * Type in a 7-digit ID and an alternate ID into the define fields before compiling. * Note that using non-random ID numbers will increase your chances of encountering * another unit using the same ID. * * IDs starting with 0 and those with ma...
Implement reading from saved memory, flip defaults for pro micro
Implement reading from saved memory, flip defaults for pro micro
Arduino
mit
slacker87/CoreIR,slacker87/CoreIR
30610d3f06b3570887d4b7e0bed9e8488c6054dc
nodeMCU/plant/plant.ino
nodeMCU/plant/plant.ino
#include <ESP8266WiFi.h> const char* server = "192.168.1.67"; const char* MY_SSID = "____"; const char* MY_PWD = "___"; int temp = 1000; int sent = 0; void setup() { Serial.begin(115200); connectWifi(); } void loop() { int rnd; rnd = random(1,100); // Serial.print(String(sent)+" Temperature: "); Seri...
#include <ESP8266WiFi.h> const char* server = "192.168.1.67"; const char* MY_SSID = "____"; const char* MY_PWD = "___"; int temp = 1000; int sent = 0; void setup() { Serial.begin(115200); connectWifi(); } void loop() { int rnd; rnd = random(0,40); // Serial.print(String(sent)+" Temperature: "); Seria...
modifica delle temperature simulate
modifica delle temperature simulate
Arduino
agpl-3.0
doceo/plant,doceo/plant,doceo/plant,doceo/plant
3242992e0cd8537a954361a8d6b79f784200f593
examples/Widgets/Bridge/Bridge.ino
examples/Widgets/Bridge/Bridge.ino
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
Fix indent
Fix indent
Arduino
mit
ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library
8de84b418fcab70d55febd8239b94a17d7018094
WeatherStation/WeatherStation.ino
WeatherStation/WeatherStation.ino
#include <Wire.h> #include "Adafruit_Sensor.h" #include "Adafruit_TSL2561_U.h" #include "Adafruit_BMP085_U.h" #include "DHT.h" #include "Narcoleptic.h" #define LEDPIN 13 //DHT Sensor Settings #define DHTPIN 4 // what pin we're connected to DHT dht; #define XBEESLEEPPIN 2 Adafruit_BMP085_Unified bmp = Adafru...
#include <Wire.h> #include "Adafruit_Sensor.h" #include "Adafruit_TSL2561_U.h" #include "Adafruit_BMP085_U.h" #include "DHT.h" #include "Narcoleptic.h" #define LEDPIN 13 //DHT Sensor Settings #define DHTPIN 4 // what pin we're connected to DHT dht; #define XBEESLEEPPIN 2 Adafruit_BMP085_Unified bmp = Adafru...
Tweak Init Params
Tweak Init Params
Arduino
unlicense
valorekhov/ArduinoWeatherStation,valorekhov/ArduinoWeatherStation
fd3b5709026883dfe055f6567e8d3a87514d2f96
Arduino/_firmware/_firmware.ino
Arduino/_firmware/_firmware.ino
unsigned int long PRINT_DELAY = 2000; //in milliseconds unsigned int long last_print_time = 0; ////////////////////////////////////////////////////////////////////////////////////////////////////////////// // OneWire temperature sensor #include <OneWire.h> #include <DallasTem...
unsigned int long PRINT_DELAY = 2000; //in milliseconds unsigned int long last_print_time = 0; ////////////////////////////////////////////////////////////////////////////////////////////////////////////// // OneWire temperature sensor #include <OneWire.h> #include <DallasTem...
Update _firmware.ino
Update _firmware.ino
Arduino
cc0-1.0
Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network,Sensorica/Sensor-Network
622fc8c2d15748fd2230c4f3a8da361fb38037ae
pingpong/pingpong.ino
pingpong/pingpong.ino
#include <LiquidCrystal.h> LiquidCrystal lcd(12,11,5,4,3,2); // End display setup #define P1PIN 8 #define P2PIN 9 #define SPEAKERPIN 6 #define LONGPRESS_TIME 25 // Button handling enum { BUTTON_NONE=0, BUTTON_SHORT, BUTTON_LONG}; class Button { public: Button(int pin, int longpress_t...
#define P1PIN 8 #define P2PIN 9 #define SPEAKERPIN 6 #define LONGPRESS_TIME 25 #define LATCH 4 #define CLK 3 #define DATA 2 // Seven Segment Display Handling byte DigitBytes[10]= {0x3F, 0x06, 0x5B, 0x4F, 0x66, 0x6D, 0x7D, 0x07, 0x7F, 0x67}; // Button handling enum { BUTTON_NONE=0, BUTTON_S...
Remove LCD code, use shift register based display (p1 only right now)
Remove LCD code, use shift register based display (p1 only right now)
Arduino
mit
rubyist/pingduino,rubyist/pingduino
ea86fedd80a01b941626418b8635bf10efbc5646
Event_Printer/Event_Printer.ino
Event_Printer/Event_Printer.ino
#include <SPI.h> #include "mcp_can.h" #include "BMW_R1200_GS_K25_CAN_Bus_Defines.h" #define HI_NIBBLE(b) (((b) >> 4) & 0x0F) #define LO_NIBBLE(b) ((b) & 0x0F) MCP_CAN CAN(9); void setup(){ Serial.begin(115200); START_INIT: if(CAN_OK != CAN.begin(CAN_500KBPS)){ Serial.println("Failed to initialize C...
#include <SPI.h> #include "mcp_can.h" #include "BMW_R1200_GS_K25_CAN_Bus_Defines.h" #define HI_NIBBLE(b) (((b) >> 4) & 0x0F) #define LO_NIBBLE(b) ((b) & 0x0F) MCP_CAN CAN(9); void setup(){ Serial.begin(115200); START_INIT: if(CAN_OK != CAN.begin(CAN_500KBPS)){ Serial.println("Failed to initialize C...
Fix throttle position parsing
Fix throttle position parsing
Arduino
mit
4G-Gregg/BMW-GS-CAN-Sniffer,4G-Gregg/BMW-GS-CAN-Sniffer,4G-Gregg/BMW-GS-CAN-Sniffer
cfc73c3f255d4012c80d1c9c1428d2d39128678f
arduinoTest/_7segment/_7segment.ino
arduinoTest/_7segment/_7segment.ino
//Pin connected to ST_CP of 74HC595 int latchPin = 8; //Pin connected to SH_CP of 74HC595 int clockPin = 12; ////Pin connected to DS of 74HC595 int dataPin = 11; int digit0 = 0b0; int digit1 = 0b00010001; int digit2 = 0b01101011; int digit3 = 0b00111011; int digit4 = 0b00011101; int digit5 = 0b00111110; int digit6 = 0...
//Zachary Nelson //znelson1@ford.com //This program uses a 74hc595 shift register and a //7-sement display to display the numbers 0 - 9. It //is used to test future implementations of the //display control. //Pin connected to ST_CP of 74HC595 int latchPin = 8; //Pin connected to SH_CP of 74HC595 int clockPin = 12; //...
add comments and program description
add comments and program description
Arduino
bsd-3-clause
openxc/shiftknob-android
36a30c7abcfc83b62f386f5486ce716099665a43
RIODuino/RIODuino.ino
RIODuino/RIODuino.ino
/* * FRC 4931 (http://www.evilletech.com) * * Open source software. Licensed under the FIRST BSD license file in the * root directory of this project's Git repository. * * This program uses the third-party library NeoPixel. * You must download and install this library in order to compile and upload the code. * ...
/* * FRC 4931 (http://www.evilletech.com) * * Open source software. Licensed under the FIRST BSD license file in the * root directory of this project's Git repository. * * This program uses the third-party library NeoPixel. * You must download and install this library in order to compile and upload the code. * ...
Reformat RIODuino.ino
Reformat RIODuino.ino
Arduino
bsd-3-clause
frc-4931/2015-Robot,Zabot/2015-Robot
a50c890206168ebf039e1d1f20c2aec7ba159311
stairs/src/main.ino
stairs/src/main.ino
// Configuration #include "config.h" // Use the FastLED library. #define FASTLED_ALLOW_INTERRUPTS 0 #include <FastLED.h> // Wifi and MQTT #include <ESP8266WiFi.h> #include <PubSubClient.h> // Serial DEBUG mode on/off #define DEBUG_SERIAL #undef DEBUG_ANIMATION #define LIGHT_ON "ON" #define LIGHT_OFF "OFF" // Digit...
// Configuration #include "config.h" // Use the FastLED library. #define FASTLED_ALLOW_INTERRUPTS 0 #include <FastLED.h> // Wifi and MQTT #include <ESP8266WiFi.h> #include <PubSubClient.h> // Serial DEBUG mode on/off #undef DEBUG_ANIMATION #define LIGHT_ON "ON" #define LIGHT_OFF "OFF" // Digital IO pins. #define P...
remove traces of old operation requiring pots
stairs: remove traces of old operation requiring pots
Arduino
mit
ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight
f97ca53dac8eb74da54d4ee3174884b8b4d7fb3e
firmware/firmware.ino
firmware/firmware.ino
#include <stdint.h> #include "Config.h" #include "EepromSettings.h" #include "Receiver.h" #include "Monitor.h" #include "Timer.h" Receiver receivers[RECEIVER_COUNT]; #ifdef TEMP_MONITORING_ENABLED Monitor tempMonitor(TEMP_MONITORING_PIN, TEMP_MONITORING_MULTIPLIER); #endif #ifdef VOLTAGE_MONITORING_ENABLED ...
#include <stdint.h> #include "Config.h" #include "EepromSettings.h" #include "Receiver.h" #include "Monitor.h" #include "Timer.h" #ifndef cbi #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) #endif #ifndef sbi #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) #endif Receiver receivers[RECEIVER_COUNT]...
Use prescaler ADC magic to make analog reads faster.
Use prescaler ADC magic to make analog reads faster.
Arduino
mit
PropNuts/wizardtracker-hardware,PropNuts/wizardtracker-hardware
b2f1ef016c3d6acb02fe0d76512e6b8e7802acba
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...
Add main func to stop build from breaking on akira
Add main func to stop build from breaking on akira
Arduino
agpl-3.0
NegativeK/telehack,NegativeK/telehack
fc428ac88276a9a6d6c12e4692d567e1df6bebb6
linefollow/linefollow.ino
linefollow/linefollow.ino
/*********************************************************************** * Adapted from Exp6_2_LineFollowing_IRSensors -- RedBot Experiment 6 ***********************************************************************/ #include <RedBot.h> RedBotSensor left = RedBotSensor(A3); // initialize a left sensor object on A3 ...
/*********************************************************************** * Adapted from Exp6_2_LineFollowing_IRSensors -- RedBot Experiment 6 ***********************************************************************/ #include <RedBot.h> RedBotSensor left = RedBotSensor(A3); // initialize a left sensor object on A3 ...
Remove useless delay.
Remove useless delay.
Arduino
agpl-3.0
cstroe/cosmin-public,cstroe/cosmin-public,cstroe/cosmin-public
e8193cfcfa7c8b36771bc29fab63ebba269dea55
examples/Widgets/Bridge/Bridge.ino
examples/Widgets/Bridge/Bridge.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 Bridge.ino
Update Bridge.ino
Arduino
mit
flashvnn/blynk-library,johan--/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,radut/blynk-library,flashvnn/blynk-library,CedricFinance/blynk-library,csicar/blynk-library,radut/blynk-library,CedricFinance/blynk-library,sstocker46/blynk-library,okhiroyuki/blynk-library,johan--/blynk-library,johan--/blynk-l...
2c24c15b8847f7a8e2cc3b4cdcad03b09e549b29
examples/IRrecvDump/IRrecvDump.ino
examples/IRrecvDump/IRrecvDump.ino
/* * IRremoteESP8266: IRrecvDump - dump details of IR codes with IRrecv * Copyright 2009 Ken Shirriff, http://arcfn.com * ***** DEPRECATED - DO NOT USE ***** * Unless you know what you are doing, you should be using the * IRrecvDumpV2.ino sketch/example instead for capturing & decoding IR messages. * In almost A...
/* * IRremoteESP8266: IRrecvDump - dump details of IR codes with IRrecv * Copyright 2009 Ken Shirriff, http://arcfn.com * ***** DEPRECATED - DO NOT USE ***** * Unless you know what you are doing, you should be using the * IRrecvDumpV2.ino sketch/example instead for capturing & decoding IR messages. * In almost A...
Fix typo (#317)
Fix typo (#317) * fix typo
Arduino
lgpl-2.1
markszabo/IRremoteESP8266,markszabo/IRremoteESP8266,markszabo/IRremoteESP8266,markszabo/IRremoteESP8266
a4099170c51e19643c81b01bb54a98d3c8495cc6
MqttLEDs/MqttLEDs.ino
MqttLEDs/MqttLEDs.ino
// Copyright 2016-2017 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 <ESP8266WiFi.h> #include <PubSubClient.h> #include <Wire.h> #include <Adafruit_NeoPixel.h> // device specifics #include...
// Copyright 2016-2017 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 <ESP8266WiFi.h> #include <PubSubClient.h> #include <Wire.h> #include <Adafruit_NeoPixel.h> // device specifics #include...
add brightness command
src: add brightness command
Arduino
mit
mhdawson/arduino-esp8266,mhdawson/arduino-esp8266
5e67177dfd2c1eed9bdda6a82ba61a3994320372
NTPclock/NTPclock.ino
NTPclock/NTPclock.ino
//---------------------------------------------------------------------------------------------------------------- // Clock.ino // // Controls a LED clock using an ESP8266, several 7-segment displays, and a bargraph display // Uses NTP for internet time updating, and supports a Real-Time clock for outages. // Some ext...
//---------------------------------------------------------------------------------------------------------------- // Clock.ino // // Controls a LED clock using an ESP8266, several 7-segment displays, and a bargraph display // Uses NTP for internet time updating, and supports a Real-Time clock for outages. // Some ext...
Switch to alternate RTC library that supports time_t
Switch to alternate RTC library that supports time_t (Actually, the other probably would have in a round abut way, but I only found out my problem upon switching libraries, and by then it was too late.)
Arduino
mpl-2.0
1n5aN1aC/HouseESP
f04a62ead8537eca1bc7d31f00a2576e0389f2d8
arduino/autogarten_probe/autogarten_probe.ino
arduino/autogarten_probe/autogarten_probe.ino
/** * autogarten - arduino based probe * * Base sketch for a probe that communicates with a control server over WiFi. * Assumes that connection is to a WPA/WPA2 protected network. * * Requirements: * * Arduino UNO Board (rev3) * * Arduino WIFI Shield (R3) * * Arduino v1.0.4+ (tested with 1.0.5) * ...
/** * autogarten - arduino based probe * * Base sketch for a probe that communicates with a control server over WiFi. * Assumes that connection is to a WPA/WPA2 protected network. * * Requirements: * * Arduino UNO Board (rev3) * * Arduino WIFI Shield (R3) * * Arduino v1.0.4+ (tested with 1.0.5) * ...
Verify reserved pins aren't being used in addSensor()
Verify reserved pins aren't being used in addSensor()
Arduino
mit
lbracken/autogarten,lbracken/autogarten,lbracken/autogarten,lbracken/autogarten
df8d22a440acd8f01099f51af399c40563268607
build/shared/examples/01.Basics/Fade/Fade.ino
build/shared/examples/01.Basics/Fade/Fade.ino
/* Fade This example shows how to fade an LED on pin 9 using the analogWrite() function. The analogWrite() function uses PWM, so if you want to change the pin you're using, be sure to use another PWM capable pin. On most Arduino, the PWM pins are identified with a "~" sign, like ~3, ~5, ~6, ~9, ~10 and ~11. ...
/* Fade This example shows how to fade an LED on pin 9 using the analogWrite() function. The analogWrite() function uses PWM, so if you want to change the pin you're using, be sure to use another PWM capable pin. On most Arduino, the PWM pins are identified with a "~" sign, like ~3, ~5, ~6, ~9, ~10 and ~11. ...
fix the boundary check
fix the boundary check ..so that changing fadeAmount (to, say, 7) doesn't break the algorithm making an infinit loop (see https://github.com/arduino/Arduino/issues/5115)
Arduino
lgpl-2.1
majenkotech/Arduino,nandojve/Arduino,me-no-dev/Arduino-1,nandojve/Arduino,me-no-dev/Arduino-1,me-no-dev/Arduino-1,Chris--A/Arduino,bsmr-arduino/Arduino,PaoloP74/Arduino,majenkotech/Arduino,majenkotech/Arduino,stickbreaker/Arduino,majenkotech/Arduino,Chris--A/Arduino,PaoloP74/Arduino,bsmr-arduino/Arduino,me-no-dev/Ardui...
45e217a8d4a79f02b8104e28a5370b663d03d0ed
src/zapper/zapper.ino
src/zapper/zapper.ino
const int outPinLed = 2; const int inPinTrigger = 7; const int inPinDetector = 4; int triggerPressed = 0; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(outPinLed, OUTPUT); digitalWrite(outPinLed, LOW); pinMode(inPinTrigger, INPUT); pinMode(inPinDetector, INPUT); ...
const int outPinLed = 2; const int inPinTrigger = 7; const int inPinDetector = A0; int triggerPressed = 0; int detectorValue = 1023; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(outPinLed, OUTPUT); digitalWrite(outPinLed, LOW); pinMode(inPinTrigger, INPUT_PULLUP);...
Read detector value to A0
Read detector value to A0
Arduino
mit
paasovaara/nes-zapper,paasovaara/nes-zapper
047c67747cca21df7f98f8796ff8171d5b4027d9
temperature-relay.ino
temperature-relay.ino
#include "OneWire.h" #include "elapsedMillis.h" #include <list> elapsedMillis scanTimeElapsed; elapsedMillis tempTimeElapsed; elapsedMillis blinkTimeElapsed; elapsedMillis powerTimeElapsed; OneWire ds(D1); int led1 = D7; int powertail = D5; float temperature; float minuteAverage; std::list<float> temperatures(6); f...
#include "OneWire.h" #include "elapsedMillis.h" #include <list> elapsedMillis scanTimeElapsed; elapsedMillis tempTimeElapsed; elapsedMillis blinkTimeElapsed; elapsedMillis powerTimeElapsed; OneWire ds(D1); int led1 = D7; int powertail = D5; float temperature; float minuteAverage; std::list<float> temperatures(6); f...
Clean up getChipName
Clean up getChipName
Arduino
mit
jeffutter/temperature-relay
88b7e2bfea1bea6a19e538df51376c37b03c771f
examples/mqtt/mqtt_super_simple/mqtt_super_simple.ino
examples/mqtt/mqtt_super_simple/mqtt_super_simple.ino
#define MQTT_DEBUG_MODE #define WIFI_DEBUG_MODE #include <WiFiConnector.h> #include <MqttConnector.h> #include <ESP8266WiFi.h> #include <ArduinoJson.h> #include <PubSubClient.h> MqttConnector *mqtt; WiFiConnector *wifi; /* MQTT INFO */ #define MQTT_HOST "rabbit.cmmc.ninja" #define MQTT_PORT 1883 #defin...
#define MQTT_DEBUG_MODE #define WIFI_DEBUG_MODE #include <WiFiConnector.h> #include <MqttConnector.h> #include <ESP8266WiFi.h> #include <ArduinoJson.h> #include <PubSubClient.h> MqttConnector *mqtt; WiFiConnector *wifi; /* MQTT INFO */ #define MQTT_HOST "iot.eclipse.org" #define MQTT_PORT 1883 #define ...
update board detail.
update board detail.
Arduino
mit
cmmakerclub/MQTT-Connector,cmmakerclub/MQTT-Connector,cmmakerclub/CMMC_Connector,cmmakerclub/CMMC_Connector,cmmakerclub/MQTT-Connector,cmmakerclub/MQTT-Connector
d5de6d347a4b0e922937cc7b0c5aa92f539db256
Example/CountUpTimer/CountUpTimer.ino
Example/CountUpTimer/CountUpTimer.ino
#include<CountUpDownTimer.h> CountUpDownTimer T(UP, HIGH); // Default precision is HIGH, but you can change it to also be LOW void setup() { Serial.begin(115200); //T.SetTimer(0,0,20); //start at 1 minute (USE FOR: DOWN ONLY) T.SetStopTime(0,0,30); // stop at 10 seconds (USE FOR: UP/DOWN) T.StartTimer(); ...
#include<CountUpDownTimer.h> CountUpDownTimer T(UP, HIGH); // Default precision is HIGH, but you can change it to also be LOW void setup() { Serial.begin(115200); //T.SetTimer(0,0,0,20); //start at 1 minute (USE FOR: DOWN ONLY) T.SetStopTime(0,0,0,30); // stop at 10 seconds (USE FOR: UP/DOWN) T.StartTimer...
Update CountUpTimer.ino
Update CountUpTimer.ino
Arduino
mit
AndrewMascolo/CountUpDownTimer
afee95caf81d1af601e4619ab6cbcabfeae1b3bc
esp8266_160220_BYOP.ino
esp8266_160220_BYOP.ino
/* * This program is used for a message station shown at * https://hackaday.io/project/9526-bring-your-own-pizero-byop */ /* * v0.3 2016 Feb 20 * - move static declaraions for UART to UARTlib * - move Serial_readCommand to UARTlib * - use equalsIgnoreCase() instead of equals() in Serial_replyToCommand() *...
/* * This program is used for a message station shown at * https://hackaday.io/project/9526-bring-your-own-pizero-byop */ /* * v0.4 2016 Feb 20 * - add extractCsvRow() / Test_extractCsvRow() * v0.3 2016 Feb 20 * - move static declaraions for UART to UARTlib * - move Serial_readCommand to UARTlib * - use...
add extractCsvRow() / Test_extractCsvRow()
add extractCsvRow() / Test_extractCsvRow()
Arduino
mit
yasokada/esp8266_160220_BYOP
fc6a0f4d758d0b47d17be21fc98685e480dda4c7
examples/FirebaseSerialClient/FirebaseSerialClient.ino
examples/FirebaseSerialClient/FirebaseSerialClient.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 ...
Update FirebaseSerialClient.ino
Update FirebaseSerialClient.ino
Arduino
apache-2.0
ed7coyne/firebase-arduino,gguuss/firebase-arduino,aliafshar/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,proppy/firebase-arduino,aliafshar/firebase-arduino,FirebaseExtended/firebase-arduino,gguuss/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino
a1dbce251302f945d9c4732b75bfc61c7bc52d7e
examples/set_mask_filter_send/set_mask_filter_send.ino
examples/set_mask_filter_send/set_mask_filter_send.ino
// demo: set_mask_filter_send // this demo will show you how to use mask and filter #include <mcp_can.h> #include <SPI.h> /*SAMD core*/ #ifdef ARDUINO_SAMD_VARIANT_COMPLIANCE #define SERIAL SerialUSB #else #define SERIAL Serial #endif // the cs pin of the version after v1.1 is default to D9 // v0.9b and v1.0...
// demo: set_mask_filter_send // this demo will show you how to use mask and filter #include <SPI.h> #define CAN_2518FD //#define CAN_2515 /*SAMD core*/ #ifdef ARDUINO_SAMD_VARIANT_COMPLIANCE #define SERIAL SerialUSB #else #define SERIAL Serial #endif // the cs pin of the version after v1.1 is default to D9 /...
Complete canbus set_mask_filter_send example
Complete canbus set_mask_filter_send example
Arduino
mit
Seeed-Studio/CAN_BUS_Shield,Seeed-Studio/CAN_BUS_Shield
70bb71ca2d617c47df6a3f16a4e87274b26c3676
projects/arduino/simple_alarm_system/src/alarm/alarm.ino
projects/arduino/simple_alarm_system/src/alarm/alarm.ino
#include <Arduino.h> #include <NewTone.h> #include <Adafruit_NeoPixel.h> #include <NewPing.h> // LED Light Strand Pin #define LED_PIN 2 #define TRIGGER_PIN 6 // Arduino pin tied to trigger pin on the ultrasonic sensor. #define ECHO_PIN 7 // Arduino pin tied to echo pin on the ultrasonic sensor. #define MA...
#include <Arduino.h> #include <NewTone.h> #include <Adafruit_NeoPixel.h> #include <NewPing.h> // LED Light Strand Pin #define LED_PIN 2 #define MAX_ALARM_TIME 10000 #define TRIGGER_PIN 6 // Arduino pin tied to trigger pin on the ultrasonic sensor. #define ECHO_PIN 7 // Arduino pin tied to echo pin on the...
Allow for the alarm to disable after approx. 10 seconds
Allow for the alarm to disable after approx. 10 seconds
Arduino
mit
borq79/cs.edu,borq79/cs.edu
75ed3200464b58c774316012fe16b446a337bd05
eMotion/flap/flap.ino
eMotion/flap/flap.ino
// Basic Commands int ids[32] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32}; void group_control(int nSerial, int ids[], int angle, int num, int sp){ char command[512] = ""; for(int i = 0; i < num; ++i) { char id[16] = ""; sprintf(id, "#%dP%d", ids[i], angle);...
// Basic Commands int ids[32] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32}; void group_control(int nSerial, int ids[], int angle, int num, int sp){ char command[512] = ""; for(int i = 0; i < num; ++i) { char id[16] = ""; sprintf(id, "#%dP%d", ids[i], angle);...
update motion
update motion
Arduino
mit
yuxiang-zhou/eMotion
32ed86dd171d0d59faffd569aab4e4bbb996f6e6
arduino/home_sensors/home_sensors.ino
arduino/home_sensors/home_sensors.ino
// Home sensors. // Rémy Mathieu - 2015 // We'll put the mcp on the PIN 0 if the arduino. int MCP9701_ARDUINO_PIN = 0; // Light sensor int LIGHT_PIN = 1; // Presence sensor int PIR_PIN = 2; // Set to false to not bip on presence bool bip = true; // Debug through the serial at 9600baud void setup() { pinMode(9, O...
/* * Home sensors. * Copyright © 2015 Rémy Mathieu */ /* * Consts */ /* Write frequency */ #define WRITE_FREQUENCY 30000 /* Set to false to not bip on presence */ #define BIP true /* We'll put the mcp on the PIN 0 if the arduino. */ #define MCP9701_ARDUINO_INPUT_PIN (0) /* Light sensor */ #define LIGHT_INPUT_P...
send data every 30s or on PIR detection.
arduino: send data every 30s or on PIR detection.
Arduino
mit
remeh/home-sensors
f4a23b846eade790cc224ad8b19cea2af744fa8b
src/FNV_v1/FNV_v1.ino
src/FNV_v1/FNV_v1.ino
#include "fnv.h" int id = 0; int dlc = 0; unsigned char data[8] = {0}; void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: GenerateMessage(id, dlc, &data[0]); uint32_t myHash = FNV::fnv1a(&data[0]); Serial.println(myH...
#include "fnv.h" #include "can_constants.h" int id = 0; int dlc = 0; unsigned char data[8] = {0}; unsigned char key[30] = "secret shared key"; const int ID_RANGE = MAX_ID - MIN_ID; void setup() { // put your setup code here, to run once: Serial.begin(115200); randomSeed(analogRead(0)); } void loop() { // put...
Update 6/17/2016
Update 6/17/2016
Arduino
mit
zach-king/ArduinoStash,zach-king/ArduinoStash
833fbc221f1dcdd3f1ff9203e8860776a2c98022
plant-monitor/plant-monitor.ino
plant-monitor/plant-monitor.ino
#include "Adafruit_Sensor.h" #include "Adafruit_BME280.h" #include "SparkFunPhant.h" #include "elapsedMillis.h" #define SEALEVELPRESSURE_HPA (1013.25) // control led const int led = D7; // BME280 sensor Adafruit_BME280 bme; double temperature = 0; double pressure = 0; double altitude = 0; double humidity = 0; // mo...
#include "Adafruit_Sensor.h" #include "Adafruit_BME280.h" #include "SparkFunPhant.h" #include "elapsedMillis.h" #define SEALEVELPRESSURE_HPA (1013.25) // control led const int led = D7; // main status int lastSensorStatus = 0, currentSensorStatus = 0; // BME280 sensor Adafruit_BME280 bme; double temperature = 0; do...
read 3 soil moisture sensors, work with 0.4.6
read 3 soil moisture sensors, work with 0.4.6
Arduino
apache-2.0
mhaack/Particle-Photon-Apps
e99985e8bf92d4df5a825e890d0b69fcc7a8bee9
arduino/Main/Main.ino
arduino/Main/Main.ino
#include <Wire.h> #include "LCD.h" #include "Motor.h" #define I2C_ADDRESS 0x1A #define I2C_BUFFER_SIZE 32 #define LCD_TX_PIN 10 #define LCD_ROWS 4 #define LCD_COLUMNS 20 #define LCD_ADDRESS 0x00 #define LCD_COMMAND_WRITE 0x00 #define LCD_COMMAND_SET_CURSOR 0x01 #define LCD_COMMAND_SET_BRIGHTNESS 0x02 #define LCD_COMMA...
#include <Wire.h> #include "LCD.h" #include "Motor.h" #define I2C_ADDRESS 0x1A #define I2C_BUFFER_SIZE 32 #define LCD_TX_PIN 10 #define LCD_ROWS 4 #define LCD_COLUMNS 20 #define LCD_ADDRESS 0x00 #define LCD_COMMAND_WRITE 0x00 #define LCD_COMMAND_SET_CURSOR 0x01 #define LCD_COMMAND_SET_BRIGHTNESS 0x02 #define LCD_COMMA...
Fix bugs due to LCD printing in I2C handlers
Fix bugs due to LCD printing in I2C handlers
Arduino
mit
FrontierRobotics/pathfinder
25ce93b14f9a14c1a7c26807a48541163288006c
Examples/CallBack/CallBack.ino
Examples/CallBack/CallBack.ino
#include <ESP8266WiFi.h> #include <PubSubClient.h> #include <ESP8266httpUpdate.h> #include <ESP8266HTTPClient.h> #include <ArduinoJson.h> #include <FS.h> #include <ESPMetRED.h> const char* MQTT_PUBLISH_TOPIC = "ESPMetRED/OUT"; const char* MQTT_SUBSCRIBE_TOPIC = "ESPMetRED/IN"; const char* CLIENT_ID = "ESPMetRED"; cons...
#include <ESP8266WiFi.h> #include <ESP8266httpUpdate.h> #include <ESP8266HTTPClient.h> #include <ArduinoJson.h> #include <FS.h> #include <ESPMetRED.h> const char* MQTT_PUBLISH_TOPIC = "ESPMetRED/OUT"; const char* MQTT_SUBSCRIBE_TOPIC = "ESPMetRED/IN"; const char* CLIENT_ID = "ESPMetRED"; const char* WIFI_SSI...
Update CallBack.ino
Update CallBack.ino
Arduino
mit
HobbytronicsPK/ESPMetRED
47390c886c5d83a6e84b98a4e4c595dc8cc72809
encoder/quarterturn_withinterrupt.ino
encoder/quarterturn_withinterrupt.ino
/* Encoder 1/4 Turn Demo (Robot Chemistry 4.IS8) James H. Bannock and John C. de Mello Department of Chemistry, Imperial College London Version 2.00 (Interrupt-driven) Created: Feb 2015 Updated: Nov 2016 --- Requirements: Optical quadrature encoder with resolution of 500 counts per revolut...
/* Encoder 1/4 Turn Demo (Robot Chemistry 4.IS8) James H. Bannock and John C. de Mello Department of Chemistry, Imperial College London Version 2.00 (Interrupt-driven) Created: Feb 2015 Updated: Nov 2016 --- Requirements: Optical quadrature encoder with resolution of 500 counts per revolutio...
Update quarterturn_withinterrupt.ino
Update quarterturn_withinterrupt.ino
Arduino
mit
jdmgroup/robotchemistry
481d3fa1f892203e7e110f77b9295b2c8f139f65
Computer_Switch/Computer_Switch.ino
Computer_Switch/Computer_Switch.ino
//---------------------------------------------------------------------------------------------------------------- // Computer_Switch.ino // // This sketch is designed to run on a WeMos D1 mini. Other controllers may require extensive tweaking. // // This runs a small webserver hosting a tiny API to remotely power on...
//---------------------------------------------------------------------------------------------------------------- // Computer_Switch.ino // // This sketch is designed to run on a WeMos D1 mini. Other controllers may require extensive tweaking. // // This runs a small webserver hosting a tiny API to remotely power on...
move away from aRest library.
move away from aRest library.
Arduino
mpl-2.0
1n5aN1aC/HouseESP
38f8d3930d3790dda6b6701bbbceadf21b40eae6
vfobox.ino
vfobox.ino
/* DDS code based on Pete Juliano's (N6QW) super simple DDS code http://www.jessystems.com/Images/Arduino/AD9850_Signal_Generator.txt with additional DDS inspiration from Rich, AD7C's project: http://www.ad7c.com/projects/ad9850-dds-vfo/ Rotary Encoder code based on my ATmega328 port http://blog.templaro.com/reading...
/* DDS code based on Pete Juliano's (N6QW) super simple DDS code http://www.jessystems.com/Images/Arduino/AD9850_Signal_Generator.txt with additional DDS inspiration from Rich, AD7C's project: http://www.ad7c.com/projects/ad9850-dds-vfo/ Rotary Encoder code based on my ATmega328 port http://blog.templaro.com/reading...
refactor rotary encoder check
refactor rotary encoder check
Arduino
mit
dhakajack/ad9850vfo
5c1ee1f7add1a0cd41d705a36af679d6d242b15b
libraries/ESP8266WiFi/examples/NTPClient/NTPClient.ino
libraries/ESP8266WiFi/examples/NTPClient/NTPClient.ino
/* Udp NTP Client Get the time from a Network Time Protocol (NTP) time server Demonstrates use of UDP sendPacket and ReceivePacket For more on NTP time servers and the messages needed to communicate with them, see http://en.wikipedia.org/wiki/Network_Time_Protocol created 4 Sep 2010 by Michael Margolis modif...
/* Udp NTP Client Get the time from a Network Time Protocol (NTP) time server Demonstrates use of UDP sendPacket and ReceivePacket For more on NTP time servers and the messages needed to communicate with them, see http://en.wikipedia.org/wiki/Network_Time_Protocol created 4 Sep 2010 by Michael Margolis modif...
Use correct variable for sendNTPpacket
Use correct variable for sendNTPpacket
Arduino
lgpl-2.1
Cloudino/Arduino,hallard/Arduino,martinayotte/ESP8266-Arduino,chrisfraser/Arduino,toastedcode/esp8266-Arduino,wemos/Arduino,jes/Arduino,sticilface/Arduino,CanTireInnovations/Arduino,edog1973/Arduino,jes/Arduino,me-no-dev/Arduino,Cloudino/Cloudino-Arduino-IDE,lrmoreno007/Arduino,Cloudino/Cloudino-Arduino-IDE,esp8266/Ard...
818539cfbc57bfde84adeaa9716817730083c325
RouterReset_Yun/RouterReset_Yun.ino
RouterReset_Yun/RouterReset_Yun.ino
/* Router Reset for Arduino Yun * * red LED (internet down): pin 6 * green LED (internet up): pin 5 * yellow LED (testing): pin 3 * blue LED (router on): pin 8 * power switch tail: pin 9 * switch: pin 12 * * needs ~/Python/pingGoogle.py on Yun Linino */ #include <Process.h> cons...
/* Router Reset for Arduino Yun * * red LED (internet down): pin 6 * green LED (internet up): pin 5 * yellow LED (testing): pin 3 * blue LED (router on): pin 8 * power switch tail: pin 9 * switch: pin 12 * * needs ~/Python/pingGoogle.py on Yun Linino */ #include <Process.h> cons...
simplify a variable name
simplify a variable name
Arduino
mit
karlduino/RouterReset,karlduino/RouterReset
b795c1993521c28dd4c8dd3c8ceee9bf7e8ae0a5
_06-power_meter/_06-power_meter.ino
_06-power_meter/_06-power_meter.ino
#include <PubSubClient.h> #include <ESP8266WiFi.h> // https://github.com/openenergymonitor/EmonLib #include "EmonLib.h" // Include Emon Library #include <Average.h> #define _IS_MY_HOME // WIFI #ifdef _IS_MY_HOME #include "/usr/local/src/ap_settingii.h" //#include "/usr/local/src/ap_setting.h" #else #include "ap_settin...
#include <PubSubClient.h> #include <ESP8266WiFi.h> // https://github.com/openenergymonitor/EmonLib #include "EmonLib.h" // Include Emon Library #include <Average.h> #define _IS_MY_HOME // WIFI #ifdef _IS_MY_HOME #include "/usr/local/src/ap_settingii.h" //#include "/usr/local/src/ap_setting.h" #else #include "ap_settin...
remove comment
remove comment
Arduino
lgpl-2.1
chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino
bde3136f1041e890d16d2890749d30a3e09c29e8
blume.ino
blume.ino
#include <EEPROM.h> #include <FastLED.h> // These settings change per project! #define NUM_LEDS 18 #define BASE_WIDTH 1 // If true, adds 1 to BASE_WIDTH for every other row #define STAGGERED false // Only change these settings if you're wired to different pins, using a non-APA102 chipset, // using a different...
#include <EEPROM.h> #include <FastLED.h> // These settings change per project! #define NUM_LEDS 18 #define BASE_WIDTH 1 // If true, adds 1 to BASE_WIDTH for every other row #define STAGGERED false // Only change these settings if you're wired to different pins, using a non-APA102 chipset, // using a different...
Scale movement speed by dimension
Scale movement speed by dimension
Arduino
agpl-3.0
hobzcalvin/blume,hobzcalvin/blume,hobzcalvin/blume,hobzcalvin/blume
d53684641218cfe100dc36374a399a3d152adbd3
Timer.ino
Timer.ino
#include <TimerOne.h> TimerOne timer; void timerInit() { timer.initialize(100000UL); timer.attachInterrupt(timerTick); for (int i=0; i < LANES; i++) { laptime[i] = 0; } } void timerStart() { elapsed = 0; timer.start(); } void timerTick() { elapsed++; if (elapsed > 99999) elapsed = 0; } void...
#include <TimerOne.h> TimerOne timer; void timerInit() { timer.initialize(100000UL); timer.attachInterrupt(timerTick); } void timerStart() { elapsed = 0; for (int i=0; i < LANES; i++) { laptime[i] = 0; lap[i] = 0; } timer.start(); } void timerTick() { elapsed++; if (elapsed > 99999) elap...
reset lap times, lap counter, elapsed when starting timer
reset lap times, lap counter, elapsed when starting timer
Arduino
mit
shimniok/OMSlotCar
2155f3162a6f2f554711a790e773d5f0fee58fd6
arduino/mearm.ino
arduino/mearm.ino
#include <Servo.h> #include "../calibration.hh" #include "../controllerbase.hh" class Controller: public ControllerBase { public: Controller(void) {} void setup(void) { for (int drive=0; drive<DRIVES; drive++) m_servo[drive].attach(SERVOPIN[drive]); } int offset(int drive) { return OFFSET[drive]; } ...
#include <Servo.h> #include "../calibration.hh" #include "../controllerbase.hh" class Controller: public ControllerBase { public: Controller(void) {} void setup(void) { for (int drive=0; drive<DRIVES; drive++) m_servo[drive].attach(SERVOPIN[drive]); } int offset(int drive) { return OFFSET[drive]; } ...
Remove LED
Remove LED
Arduino
bsd-2-clause
wedesoft/arduino-mearm,wedesoft/arduino-sainsmart,wedesoft/arduino-sainsmart,wedesoft/arduino-mearm
8ce60303acb428dcbdf0e6e5a3c6670cc5b717d1
jenny5-firmware/jenny5-firmware.ino
jenny5-firmware/jenny5-firmware.ino
#include "motor_control.h" #include "Ultrasonic.h" Ultrasonic ultrasonic(53,52); motor_control mc; char is_command_running; char firmware_version[] = "2015.11.12.0"; char current_buffer[65]; #define DEBUG //-------------------------------------------------------------------------------------------- void setup() ...
#include "motor_control.h" #include "Ultrasonic.h" Ultrasonic ultrasonic(53,52); motor_control mc; char is_command_running; char firmware_version[] = "2015.11.12.1"; char current_buffer[65]; #define DEBUG //-------------------------------------------------------------------------------------------- void setup() ...
remove cm from the serial output of U command.
remove cm from the serial output of U command.
Arduino
mit
ubbots/jenny5-firmware,jenny5-robot/jenny5-firmware,jenny5-robot/jenny5-firmware,ubbots/jenny5-firmware
7443989a20ab24815670e2eb7a8c4f743fc42a3d
EmotionalClothing.ino
EmotionalClothing.ino
#include <WaveHC.h> #include <WaveUtil.h> #include <Wire.h> #include "Adafruit_TCS34725.h" #include <LiquidCrystal.h> #include "ColorUtil.h" LiquidCrystal lcd(1, 0, 9, 8, 7, 6); String fileNames[4] = {"BUGS2.WAV", "DAFFY1.WAV", "BUGS1.WAV", "DAFFY2.WAV"}; SdReader card; // This object holds the information for t...
#include <WaveHC.h> #include <WaveUtil.h> #include <Wire.h> #include "Adafruit_TCS34725.h" #include <LiquidCrystal.h> #include "ColorUtil.h" LiquidCrystal lcd(1, 0, 9, 8, 7, 6); String fileNames[4] = {"BUGS2.WAV", "DAFFY1.WAV", "BUGS1.WAV", "DAFFY2.WAV"}; const int button = A3; SdReader card; // This object hol...
Add button to only play when pressed
Add button to only play when pressed
Arduino
mit
IgorGee/Emotional-Clothing
6410e6648edfd84be8414f8a7bfd3267ce46ec6e
examples/Sandbox/CosaVCC/CosaVCC.ino
examples/Sandbox/CosaVCC/CosaVCC.ino
/** * @file CosaVCC.ino * @version 1.0 * * @section License * Copyright (C) 2013-2015, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
/** * @file CosaVCC.ino * @version 1.0 * * @section License * Copyright (C) 2013-2015, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
Update after bandgap() update.
Update after bandgap() update.
Arduino
lgpl-2.1
dansut/Cosa,jeditekunum/Cosa,jeditekunum/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,dansut/Cosa,dansut/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa,dansut/Cosa
52faf6438b9ceb60920a99c3d2cb27c90a035b6d
examples/TURIPbridge/TURIPbridge.ino
examples/TURIPbridge/TURIPbridge.ino
#include <TURIPclientSPI.h> #include <TURIPserver.h> #include <TURIPshell.h> const uint32_t TURIP_MODEL = 0x792a; const uint32_t TURIP_SERIAL = 0x0; void setup() { Serial.begin(9600); TURIPclientSPI.addPin(6); TURIPclientSPI.addPin(7); TURIPclientSPI.addPin(8); TURIPclientSPI.addPin(9); TURIPclientSPI.ad...
#include <TURIPclientSPI.h> #include <TURIPserver.h> #include <TURIPshell.h> const uint32_t TURIP_MODEL = 0x792a; const uint32_t TURIP_SERIAL = 0x0; void setup() { Serial.begin(9600); TURIPclientSPI.addPin(6); TURIPclientSPI.addPin(7); TURIPclientSPI.addPin(8); TURIPclientSPI.addPin(9); TURIPclientSPI.ad...
Fix serialEvent().
Fix serialEvent().
Arduino
mit
turippj/TURIPlibrariesForArduino,turippj/TURIPlibrariesForArduino
087924e1a51472d959f5c2228b1900c8138c8552
examples/arduino/OscWiFi/OscWiFi.ino
examples/arduino/OscWiFi/OscWiFi.ino
#include <ArduinoOSC.h> // WiFi stuff const char* ssid = "your-ssid"; const char* pwd = "your-password"; const IPAddress ip(192, 168, 1, 201); const IPAddress gateway(192, 168, 1, 1); const IPAddress subnet(255, 255, 0, 0); // for ArduinoOSC const char* host = "192.168.2.20"; const int recv_port = 54321; const int bi...
#include <ArduinoOSC.h> // WiFi stuff const char* ssid = "your-ssid"; const char* pwd = "your-password"; const IPAddress ip(192, 168, 1, 201); const IPAddress gateway(192, 168, 1, 1); const IPAddress subnet(255, 255, 0, 0); // for ArduinoOSC const char* host = "192.168.2.20"; const int recv_port = 54321; const int bi...
add const
add const
Arduino
mit
hideakitai/ArduinoOSC,hideakitai/ArduinoOSC
0553b0f62900e9c931b4b94e48b34c809056234a
examples/raw-feather/raw-feather.ino
examples/raw-feather/raw-feather.ino
/* raw-feather.ino Tue Jan 23 2018 10:25:50 chwon */ /* Module: raw-feather.ino Function: Slightly improved Raw test example, for Adafruit Feather M0 LoRa Version: V0.7.0 Tue Jan 23 2018 10:25:50 chwon Edit level 2 Copyright notice: This file copyright (C) 2017, 2018 by MCCI Corporation 3520 Krums Corners...
/* raw-feather.ino Tue Jan 23 2018 10:25:50 chwon */ /* Module: raw-feather.ino Function: Slightly improved Raw test example, for Adafruit Feather M0 LoRa Version: V0.7.0 Tue Jan 23 2018 10:25:50 chwon Edit level 2 Copyright notice: This file copyright (C) 2017, 2018 by MCCI Corporation 3520 Krums Corners...
Change to test of downlink channel 3 and DR4
Change to test of downlink channel 3 and DR4
Arduino
mit
mcci-catena/arduino-lmic,mcci-catena/arduino-lmic,mcci-catena/arduino-lmic
4fe6ae474eed7e3ba47245d1e3500adb619f6cce
aquacontrol32.ino
aquacontrol32.ino
#include <SPI.h> #include "Adafruit_GFX.h" #include "Adafruit_ILI9341.h" #include "MHDS18B20.h" #include <WiFi.h> #include <ESPmDNS.h> #include "time.h" #include <Preferences.h> #include "SSD1306.h" //https://github.com/squix78/esp8266-oled-ssd1306 #include <ESP32WebServer.h> #define mDNSname "aquacontrol...
#include <SPI.h> #include "Adafruit_GFX.h" #include "Adafruit_ILI9341.h" #include "MHDS18B20.h" #include <WiFi.h> #include <ESPmDNS.h> #include "time.h" #include <Preferences.h> #include "SSD1306.h" //https://github.com/squix78/esp8266-oled-ssd1306 #include <ESP32WebServer.h> #define mDNSname "aquacontrol...
Make LED pins an array.
Make LED pins an array.
Arduino
mit
CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32
d7306608dcf5e26c9419b8493cb323af2da1fd83
cv/cv.ino
cv/cv.ino
#include <Wire.h> #include <Adafruit_MCP4725.h> Adafruit_MCP4725 dac; // Rotary knob state volatile int old_state = 0; volatile int state = 0; volatile int value = 0; volatile int new_value = 500; // Used to limit the frequency of timer updates to 30 times per sec int old_time = 0; // Interrupt handler for rotary...
#include <Wire.h> #include <Adafruit_MCP4725.h> Adafruit_MCP4725 dac; // Rotary knob state volatile int old_state = 0; volatile int state = 0; // Value to send to DAC volatile int value = 0; volatile int new_value = 500; // Used to limit the frequency of timer updates to 30 times per sec int old_time = 0; // Inte...
add coarse resolution mod
add coarse resolution mod
Arduino
mit
fzzzy/arduino-cv-voltage-adjust-5v
46fae0cffb9430c1ef9e9f707092072a09819a89
client.ino
client.ino
#include <Adafruit_SleepyDog.h> #include <RHReliableDatagram.h> #include <RH_RF95.h> #include <SPI.h> // AdaFruit Feather 32u4. #define RFM95_CS 8 #define RFM95_RST 4 #define RFM95_INT 7 #define BATT 9 #define CLIENT_ADDRESS 1 #define SERVER_ADDRESS 2 #define SONAR_TRIGGER 11 #define RED_LED 13 // Radio driver. D...
#include <Adafruit_SleepyDog.h> #include <RHReliableDatagram.h> #include <RH_RF95.h> #include <SPI.h> // AdaFruit Feather 32u4. #define RFM95_CS 8 #define RFM95_RST 4 #define RFM95_INT 7 #define BATT 9 #define CLIENT_ADDRESS 1 #define SERVER_ADDRESS 2 #define SONAR_TRIGGER 11 #define RED_LED 13 // Radio driver. D...
Update client WIP.
Update client WIP.
Arduino
apache-2.0
AaronWebster/mimmon,AaronWebster/mimmon,AaronWebster/mimmon
01e2ebae5db0abdded559b635a639938cabf91b3
examples/file/file.ino
examples/file/file.ino
// ------------------------------------ // URLにアクセスしてファイルを取得する // ------------------------------------ #include <TESP8266.h> // Wifi String SSID = "xxx"; String PASSWORD = "xxx"; // URL http://www.example.com/iot/file.txt String HOST = "www.example.com"; String PATH = "/iot/file.txt"; // グローバル変数 TESP8266 httpC...
// ------------------------------------ // URLにアクセスしてファイルを取得する // ------------------------------------ #include <TESP8266.h> // Wifi const char* SSID = "xxx"; const char* PASSWORD = "xxx"; // URL http://www.example.com/iot/file.txt const char* HOST = "www.example.com"; const char* PATH = "/iot/file.txt"; ...
Update file.ino
Update file.ino
Arduino
mit
TakeshiOkamoto/TESP8266,TakeshiOkamoto/TESP8266
d472cc1de9bd2868975e118cc97f7d2730f50ebc
lifeForce/arduino/lifeForce-0001.ino
lifeForce/arduino/lifeForce-0001.ino
/** * HydoBytes - LifeForce1000 * * Monitor a plants moisture level and provide alerts when the plant needs watering. * * The amount of voltage detected between two probes in the plant's soil indicates the moisture * level. Zero voltage detected indicates that there is zero conductivity and the plant needs * ...
/** * HydoBytes - LifeForce1000 * * Monitor a plants moisture level and provide alerts when the plant needs watering. * * The amount of voltage detected between two probes in the plant's soil indicates the moisture * level. Zero voltage detected indicates that there is zero conductivity and the plant needs * ...
Add yellow status event
Add yellow status event
Arduino
mit
DeeZone/HydroBytes,DeeZone/HydroBytes,DeeZone/HydroBytes
daf88fbab0792865873c51b1358f8c5087d58217
Arduino/sketches/RC2Robot/RC2Robot.ino
Arduino/sketches/RC2Robot/RC2Robot.ino
/** * Copyright 2018 Robot Garden, 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 a...
/** * Copyright 2018 Robot Garden, 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 a...
Clean up
Clean up
Arduino
apache-2.0
ProgrammingRobotsStudyGroup/robo_magellan,ProgrammingRobotsStudyGroup/robo_magellan,ProgrammingRobotsStudyGroup/robo_magellan,ProgrammingRobotsStudyGroup/robo_magellan
6c679f86be65cefd37009a6f1bd1fecaa9f2cddd
src/main/main.ino
src/main/main.ino
#include <Wire.h> #include "LSM6.h" #include "MahonyAHRS.h" LSM6 imu; Mahony ahrs; const uint32_t MICROS_PER_SEC = 1000000; const uint32_t SAMPLE_FREQUENCY = 1660; const uint32_t PRINT_FREQUENCY = 5; const float gScale = 0x7FFF / (float)8; const float dpsScale = 0x7FFF / (float)1000; void setup() { Serial.begin(...
#include <Wire.h> #include "LSM6.h" #include "MahonyAHRS.h" LSM6 imu; Mahony ahrs; const uint32_t MICROS_PER_SEC = 1000000; const uint32_t SAMPLE_FREQUENCY = 1660; const uint32_t PRINT_FREQUENCY = 5; const float gScale = 0x7FFF / (float)8; const float dpsScale = 0x7FFF / (float)1000; void setup() { Serial.begin(...
Split sensor read and ahrs update
Split sensor read and ahrs update
Arduino
mit
PanicARobot/Slim,PanicARobot/Slim
7b669ca3231bfb190cde2cf08d2f20f533379f39
TinkerTie.ino
TinkerTie.ino
/* * File name: TinkerTie.ino * Author: Tyler Makaro * How to use: * modify the animations.h file to make the desired animations. * License: * May be modified, and reused freely. Attribution is requested. I'd also love to hear about your animations on twitter @tmakaro */ #include <Adafruit_NeoPixel.h>...
/* * File name: TinkerTie.ino * Author: Tyler Makaro * How to use: * modify the animations.h file to make the desired animations. * License: * May be modified, and reused freely. Attribution is requested. I'd also love to hear about your animations on twitter @tmakaro */ #include <Adafruit_NeoPixel.h>...
Update TinkerTie.ino
Update TinkerTie.ino A bit more code for the colour switching button, and a temporary testing function that when active cycles the colours. (Will be removed when the colour button is finally added).
Arduino
mit
t-makaro/TinkerTie
8645c143fbecc51d775610ae59c2fe3c96168938
WhereDial.ino
WhereDial.ino
/* * WhereDial v1.0 * * */ #include <Dhcp.h> #include <Dns.h> #include <Ethernet.h> #include <EthernetClient.h> #include <EthernetServer.h> #include <EthernetUdp.h> #include <util.h> #include <SPI.h> #include <Ethernet.h> #include <HttpClient.h> #include <Stepper.h> #include "WhereDial_Defines.h" #include "Wher...
/* * WhereDial v1.0 * * */ #include <Dhcp.h> #include <Dns.h> #include <Ethernet.h> #include <EthernetClient.h> #include <EthernetServer.h> #include <EthernetUdp.h> #include <util.h> #include <SPI.h> #include <Ethernet.h> #include <HttpClient.h> #include <Stepper.h> #include "WhereDial_Defines.h" #include "Wher...
Make sure status lights go out correctly.
Make sure status lights go out correctly.
Arduino
artistic-2.0
johnmckerrell/WhereDial
020bb7131fa3adeb6b6e347a235dcdae1fc4dc4c
examples/FirebaseStream_ESP8266/FirebaseStream_ESP8266.ino
examples/FirebaseStream_ESP8266/FirebaseStream_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 another data to parsing.
Add another data to parsing.
Arduino
apache-2.0
aliafshar/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino,gguuss/firebase-arduino
faf11b28f58b9b8132630597d3b79f39debf56a3
examples/all1V8Sensors/all1V8Sensors.ino
examples/all1V8Sensors/all1V8Sensors.ino
/* * All 1.8 V sensors example * * This sketch shows you how to use all 1.8 V ROHM sensor simultaneously. * * Before powering up your Arduino, make sure to select 1.8V on jumper J15 on the shield! */ // define all the sensors we will use #define INCLUDE_KX022_1020 #define INCLUDE_BM1383GLV #define INCLUDE_BM14...
/* * All 1.8 V sensors example * * This sketch shows you how to use all 1.8 V ROHM sensor simultaneously. * * Before powering up your Arduino, make sure to select 1.8V on jumper J15 on the shield! */ // define all the sensors we will use #define INCLUDE_KX022_1020 #define INCLUDE_BM1383GLV #define I...
Update all1V8Sensors.ino
Update all1V8Sensors.ino
Arduino
mit
jgromes/RohmMultiSensor
3678bf9760e56fb9f89ba219101d151127ce910f
examples/movie_player/movie_player.ino
examples/movie_player/movie_player.ino
#include <SD.h> #include <Adafruit_GFX.h> // https://github.com/adafruit/Adafruit-GFX-Library #include <Fontx.h> // https://github.com/h-nari/Fontx #include <Humblesoft_GFX.h> // https://github.com/h-nari/Humblesoft_GFX #include <Humblesoft_LedMat.h> // https://github.com/h-nari/Humblesoft_LedMat #include <...
#include <SD.h> #include <Adafruit_GFX.h> // https://github.com/adafruit/Adafruit-GFX-Library #include <Fontx.h> // https://github.com/h-nari/Fontx #include <Humblesoft_GFX.h> // https://github.com/h-nari/Humblesoft_GFX #include <Humblesoft_LedMat.h> // https://github.com/h-nari/Humblesoft_LedM...
add LedMat.setPlane(8) in comment
add LedMat.setPlane(8) in comment
Arduino
mit
h-nari/Humblesoft_LedMat,h-nari/Humblesoft_LedMat
7e7ce1ea98d5e1bd358f451ca0eb0ac087234c9a
DigitalInOut/DigitalInOut.ino
DigitalInOut/DigitalInOut.ino
const int dPins[] = { 8, // tilt sensor 1A 9 // tilt sensor 1B }; const int bPins[] = { A0, // thumb A1, // index A2, // middle A3, // ring A4 // pinky }; int dNoPins = sizeof(dPins)/sizeof(int); int bNoPins = sizeof(bPins)/sizeof(int); int SAMPLES_PER_SECOND = 20; int buttonPin = 12; void set...
const int dPins[] = { 8, // tilt sensor 1A 9 // tilt sensor 1B }; const int bPins[] = { A0, // thumb A1, // index A2, // middle A3, // ring A4 // pinky }; int dNoPins = sizeof(dPins)/sizeof(int); int bNoPins = sizeof(bPins)/sizeof(int); int SAMPLES_PER_SECOND = 20; int beepPin = 10; int buttonP...
Add beeper to arduino
Add beeper to arduino
Arduino
mit
mold/passhandske
4c764441a293361d185e4d48d0a1d5e1949234b2
keypad/keypad.ino
keypad/keypad.ino
/* FROM http://playground.arduino.cc/Main/KeypadTutorial * * MORE EXAMPLES http://playground.arduino.cc/Code/Keypad#Example * * Keypadtest.pde * * Demonstrate the simplest use of the keypad library. * * The first step is to connect your keypad to the * Arduino using the pin numbers listed below i...
/* FROM http://playground.arduino.cc/Main/KeypadTutorial * * MORE EXAMPLES http://playground.arduino.cc/Code/Keypad#Example * * Keypadtest.pde * * Demonstrate the simplest use of the keypad library. * * The first step is to connect your keypad to the * Arduino using the pin numbers listed below i...
use one button to control bell
use one button to control bell
Arduino
mit
tingyez/JunkDJ,tingyez/JunkDJ
69a5c6c6e18f379defa35011bf9b79ca47fdb6c8
OS_SerialFunctions.ino
OS_SerialFunctions.ino
//------------------------------------------------------------------------------------------------ // This file contains functions necessary for controlling OpenStage via the serial port //------------------------------------------------------------------------------------------------ //Based on code from The Arduino...
//------------------------------------------------------------------------------------------------ // This file contains functions necessary for controlling OpenStage via the serial port //------------------------------------------------------------------------------------------------ //Based on code from The Arduino...
remove serial port reporting
remove serial port reporting
Arduino
agpl-3.0
raacampbell13/openstage,raacampbell13/openstage
150858e51b107a84024e152478b769e1338b1613
ComboKeypad/Keypad.ino
ComboKeypad/Keypad.ino
//USER VARIABLES, Variables that YOU change for YOUR preferences const int buttons[] {7, 6, 5, 4}; //The PIN of all of the buttons const int combination[] = {3, 1, 2, 4}; //what the combination is, to add just add a "," and a number const int numOfCombos = sizeof(combination) / sizeof(combination[0]); //How many...
//USER VARIABLES, Variables that YOU change for YOUR preferences const int buttons[] {7, 6, 5, 4}; //The PIN of all of the buttons const int combination[] = {3, 1, 2, 4}; //what the combination is, to add just add a "," and a number const int numOfCombos = sizeof(combination) / sizeof(combination[0]); //How many...
Update Keypad.ino
Update Keypad.ino
Arduino
mit
TeodorLys/Arduino_Projects
550f84de26c736d5f0842f48b505fe5e769786d3
firmware/examples/TeleInfo_exemple.ino
firmware/examples/TeleInfo_exemple.ino
/* Cet exemple de code montre l'utilisation de la bibliothèque teleinfo. Vous devez connecter votre Spark Core à un compteur ERDF via la liaison TeleInformation. Plus d'infos sur le principe d'interface TeleInfo >> Arduino sur http://domotique-info.fr/2014/05/recuperer-teleinformation-arduino/ On utilise la...
/* Cet exemple de code montre l'utilisation de la bibliothèque teleinfo. Vous devez connecter votre Spark Core à un compteur ERDF via la liaison TeleInformation. Plus d'infos sur le principe d'interface TeleInfo >> Arduino sur http://domotique-info.fr/2014/05/recuperer-teleinformation-arduino/ On utilise la...
Update TeleInfo_exemple.ino
Update TeleInfo_exemple.ino
Arduino
mit
thibdct/teleinfo,kri5/teleinfo
ded897c19ef0095903183a72eb44ede78d66c101
teensy/snes_controller_emu.ino
teensy/snes_controller_emu.ino
//snes_controller_emu.ino #define PIN_1_CLOCK 2 #define PIN_1_LATCH 3 #define PIN_1_DATA0 4 #define PIN_2_CLOCK 5 #define PIN_2_LATCH 6 #define PIN_2_DATA0 7 #define PIN_2_DATA1 8 #define PIN_2_PP 9 #define PIN_LED 13 #define BUTTON_MASK 0xFFF0 #define CLOCK_MAX 16 volatile int8_t clock_pulses[2] = { -1, -1 }; ...
//snes_controller_emu.ino #define PIN_1_CLOCK 2 #define PIN_1_LATCH 3 #define PIN_1_DATA0 4 #define PIN_2_CLOCK 5 #define PIN_2_LATCH 6 #define PIN_2_DATA0 7 #define PIN_2_DATA1 8 #define PIN_2_PP 9 #define PIN_LED 13 #define BUTTON_MASK 0xFFF0 #define CLOCK_MAX 16 volatile int8_t clock_pulses[2] = { -1, -1 }; ...
Use low byte for blink count
Use low byte for blink count
Arduino
mit
jawsper/snes_controller_emulator
b80280bcf38206a8ec975d49d5fc4cb7cfbad06a
arduino_motor/mains/mains.ino
arduino_motor/mains/mains.ino
// use mains instead of main since main is the keyword #include <DualVNH5019MotorShield.h> //#include <PololuWheelEncoders.h> #include <PID_v1.h> #include <Ultrasound.h> // #include <PID_AutoTune_v0.h> #include "globals.h" #include "Config.h" //#include "PinChangeInt.h" // TAB SIZE 2, whitespaces as tab ////////////...
// use mains instead of main since main is the keyword #include <DualVNH5019MotorShield.h> //#include <PololuWheelEncoders.h> #include <PID_v1.h> #include <Ultrasound.h> // #include <PID_AutoTune_v0.h> #include "globals.h" #include "Config.h" //#include "PinChangeInt.h" // TAB SIZE 2, whitespaces as tab ////////////...
develop release
develop release
Arduino
mit
idf/Robot-In-Maze,idf/Robot-In-Maze,idf/Robot-In-Maze
164bc906f2cb3cea1cad13a88dec9872280b5870
printer.ino
printer.ino
#include <SPI.h> #include <Ethernet.h> #include <SD.h> #include <EEPROM.h> #include <SoftwareSerial.h> #include <Bounce.h> // -- Settings for YOU to change if you want byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // physical mac address // The printerType controls the format of the data sent from the server...
#include <SPI.h> #include <Ethernet.h> #include <SD.h> #include <EEPROM.h> #include <SoftwareSerial.h> #include <Bounce.h> // -- Settings for YOU to change if you want byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // physical mac address // The printerType controls the format of the data sent from the server...
Bump version to 1.0.5
Bump version to 1.0.5
Arduino
mit
exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer
3916c182d27131f8f62ea2a39f560ef6d60ad22a
printer.ino
printer.ino
#include <SPI.h> #include <Ethernet.h> #include <SD.h> #include <EEPROM.h> #include <SoftwareSerial.h> #include <Bounce.h> // -- Settings for YOU to change if you want byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // physical mac address // The printerType controls the format of the data sent from the server...
#include <SPI.h> #include <Ethernet.h> #include <SD.h> #include <EEPROM.h> #include <SoftwareSerial.h> #include <Bounce.h> // -- Settings for YOU to change if you want byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // physical mac address // The printerType controls the format of the data sent from the server...
Bump sketch version.
Bump sketch version. This should reflect the new 'flush' fix.
Arduino
mit
exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer
00e50ed4f77ee9fd62df9ad177b23fd757751654
ssd1306_128x64_i2c.ino
ssd1306_128x64_i2c.ino
/********************************************************************* This is an example for our Monochrome OLEDs based on SSD1306 drivers Pick one up today in the adafruit shop! ------> http://www.adafruit.com/category/63_98 This example is for a 128x64 size display using I2C to communicate 3 pins are required ...
/********************************************************************* This is an example for our Monochrome OLEDs based on SSD1306 drivers Pick one up today in the adafruit shop! ------> http://www.adafruit.com/category/63_98 This example is for a 128x64 size display using I2C to communicate 3 pins are required ...
Update ssd1306_128x64_i2c.ino
Update ssd1306_128x64_i2c.ino The Spark IDE doesn't compile with function name random, so changed it to arandom Replaced unsigned char 'logo16_glcd_bmp' with 'LOGO16_GLCD_BMP' so that spark IDE can compile.
Arduino
mit
stephanjroux/Adafruit_SSD1306,niklashagemann/Adafruit_SSD1306
6a58a19860e2e4d46cdad4c0a66a53f918826723
arduino/main_gantry/main_gantry.ino
arduino/main_gantry/main_gantry.ino
/* Analog Read to LED * ------------------ * * turns on and off a light emitting diode(LED) connected to digital * pin 13. The amount of time the LED will be on and off depends on * the value obtained by analogRead(). In the easiest ase we connect * a potentiometer to analog pin 2. * * Created 1 December 200...
/* * This Arduino drives all of the motors on the turing machine using a motor shield. */ #include <Wire.h> #include <Adafruit_MotorShield.h> #include "utility/Adafruit_PWMServoDriver.h" #include <Servo.h> #define MARKER_SERVO_DOWN (112) #define MARKER_SERVO_UP (90) #define ERASER_LIFT_SERVO_UP (...
Update main_gantry.ino
Update main_gantry.ino
Arduino
mit
mit-ll/TuringMachine,jlepird/turing,jlepird/turing,jlepird/turing,jlepird/turing,mit-ll/TuringMachine,mit-ll/TuringMachine,jlepird/turing,mit-ll/TuringMachine
e057609c12126883dc8f8d4870580c1c41933a1f
arduino_repeater/arduino_repeater.ino
arduino_repeater/arduino_repeater.ino
/* UKHASnet rf69_repeater code based on rf22_client.pde/ino from the RF22 library */ #include <SPI.h> #include <string.h> #include "RFM69Config.h" #include "RFM69.h" #include "LowPower.h" #define P01 //************* Node ID Setup ****************/ #ifdef P01 char id[] = "P01"; char location_string[] = "50.93753,-1...
/* UKHASnet rf69_repeater code based on rf22_client.pde/ino from the RF22 library */ #include <SPI.h> #include <string.h> #include "RFM69Config.h" #include "RFM69.h" #include "LowPower.h" #define P01 //************* Node ID Setup ****************/ #ifdef P01 char id[] = "P01"; char location_string[] = "50.93753,-1...
Fix count variable overflow.
Fix count variable overflow.
Arduino
mit
UKHASnet/UKHASnet_Firmware,UKHASnet/UKHASnet_Firmware,dbrooke/UKHASnet_Firmware,sburggsx/UKHASnet_Firmware,dbrooke/UKHASnet_Firmware,sburggsx/UKHASnet_Firmware
bd2c542d716530be8481406e18f125f9bcb932a2
src/src.ino
src/src.ino
#include <SPI.h> #include <avr/eeprom.h> /* bluetooth dependencies */ #include <lib_aci.h> #include <EEPROM.h> #include "bluetooth.h" #include "nokia_5110.h" #include "types.h" #include "haversine.h" #include "waypoint_store.h" #include "waypoint_writer.h" #include "gps.h" #define REQ 9 #define RDY 7 #define RST 10 ...
#include <SPI.h> #include <avr/eeprom.h> /* bluetooth dependencies */ #include <lib_aci.h> #include <EEPROM.h> #include "bluetooth.h" #include "nokia_5110.h" #include "types.h" #include "haversine.h" #include "waypoint_store.h" #include "waypoint_writer.h" #include "gps.h" #define REQ 9 /* Fio pin connected to Blue...
Add indicators for LCD
Add indicators for LCD
Arduino
mit
sebluy/gps-watch,sebluy/gps-tracker-arduino,sebluy/gps-tracker-arduino,sebluy/gps-watch
d7d045a1f6f4b1b77e314d19d450944fd4ff4963
examples/ESP8266-OTA/ESP8266-OTA.ino
examples/ESP8266-OTA/ESP8266-OTA.ino
/* * Test/demonstration of over-the-air update of an ESP8266 using MQTT. * * This sketch connects to an MQTT broker and subscribes to a specific topic * to receive OTA updates on. * Send the message using the mosquitto tool: $ mosquitto_pub -h 192.168.1.1 -t 'ota/192.168.1.13' -r -f /tmp/build*.tmp/sensor-node.cp...
/* * Test/demonstration of over-the-air update of an ESP8266 using MQTT. * * This sketch connects to an MQTT broker and subscribes to a specific topic * to receive OTA updates on. * Send the message using the mosquitto tool: $ mosquitto_pub -h 192.168.1.1 -t 'ota/192.168.1.13' -r -f /tmp/build*.tmp/sensor-node.cp...
Use ESP.updateSketch() to read the update from the stream
Use ESP.updateSketch() to read the update from the stream
Arduino
mit
Imroy/pubsubclient,liquiddandruff/pubsubclient,vshymanskyy/pubsubclient,vshymanskyy/pubsubclient,hemantsangwan/Arduino-PubSubClient,liquiddandruff/pubsubclient,doebi/pubsubclient,Imroy/pubsubclient,Protoneer/pubsubclient,doebi/pubsubclient,koltegirish/pubsubclient,Protoneer/pubsubclient,doebi/pubsubclient,koltegirish/p...
f30693bbf09d6a5a9b36b13b797444567cac49c8
examples/Modules/COM_GSM/COM_GSM.ino
examples/Modules/COM_GSM/COM_GSM.ino
/* ******************************************************************************* * Copyright (c) 2021 by M5Stack * Equipped with M5Core2 sample source code * 配套 M5Core2 示例源代码 * Visit the website for more information:https://docs.m5stack.com/en/module/comx_gsm * 获取更多资料请访问:htt...
/* ******************************************************************************* * Copyright (c) 2021 by M5Stack * Equipped with M5Core2 sample source code * 配套 M5Core2 示例源代码 * Visit the website for more information:https://docs.m5stack.com/en/module/comx_gsm * 获取更多资料请访问:htt...
Update COM_GSM.ino
Update COM_GSM.ino
Arduino
mit
m5stack/M5Stack,m5stack/M5Stack,m5stack/M5Stack
5be9f422a232d1aeceed390415e647cb6abea61e
examples/Ports/lcd_demo/lcd_demo.ino
examples/Ports/lcd_demo/lcd_demo.ino
// Demo sketch for an LCD connected to I2C port via MCP23008 I/O expander // 2009-10-31 <jc@wippler.nl> http://opensource.org/licenses/mit-license.php #include <JeeLib.h> PortI2C myI2C (1); LiquidCrystalI2C lcd (myI2C); void setup() { // set up the LCD's number of rows and columns: lcd.begin(16, 2); // Print ...
// Demo sketch for an LCD connected to I2C port via MCP23008 I/O expander // 2009-10-31 <jc@wippler.nl> http://opensource.org/licenses/mit-license.php #include <PortsLCD.h> PortI2C myI2C (4); LiquidCrystalI2C lcd (myI2C); #define screen_width 16 #define screen_height 2 void setup() { // set up the LCD's number of...
Update examples/Ports/lcd_demo/lcd_demo.ino
Update examples/Ports/lcd_demo/lcd_demo.ino Modified example code to test the screen out a bit more. Also shows more use of the lcd.print() function with different data types and how they are rendered by the library. Screen width and height now defined in a couple of #define's at the top to make them more obvious
Arduino
unlicense
jcw/jeelib,jcw/jeelib
687a3ccf55addb1157c0a542fd7854f13f41aa43
examples/raw-feather/raw-feather.ino
examples/raw-feather/raw-feather.ino
/* raw-feather.ino Sat Apr 1 2017 22:26:22 tmm */ /* Module: raw-feather.ino Function: Slightly improved Raw test example, for Adafruit Feather M0 LoRa Version: V0.5.0 Sat Apr 1 2017 22:26:22 tmm Edit level 1 Copyright notice: This file copyright (C) 2017 by MCCI Corporation 3520 Krums Corners Road It...
/* raw-feather.ino Tue Jan 23 2018 10:25:50 chwon */ /* Module: raw-feather.ino Function: Slightly improved Raw test example, for Adafruit Feather M0 LoRa Version: V0.7.0 Tue Jan 23 2018 10:25:50 chwon Edit level 2 Copyright notice: This file copyright (C) 2017, 2018 by MCCI Corporation 3520 Krums Corners...
Add Catena 4551 platform support.
Add Catena 4551 platform support.
Arduino
mit
mcci-catena/arduino-lmic,mcci-catena/arduino-lmic,mcci-catena/arduino-lmic
d8739c5f36a701f0c1b4334ffa5d06fff60b5e38
examples/readAllPins/readAllPins.ino
examples/readAllPins/readAllPins.ino
/* Example for analogContinuousRead * It measures continuously the voltage on pin A9, * Write v and press enter on the serial console to get the value * Write c and press enter on the serial console to check that the conversion is taking place, * Write t to check if the voltage agrees with the comparison in the set...
/* Example for analogContinuousRead * It measures continuously the voltage on pin A9, * Write v and press enter on the serial console to get the value * Write c and press enter on the serial console to check that the conversion is taking place, * Write t to check if the voltage agrees with the comparison in the set...
add T4 pins
add T4 pins
Arduino
mit
pedvide/ADC,pedvide/ADC