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
97bc2b9c7be75986b94d8171b17217bda2752f9e
extendo-hand/src/main/arduino/extendo_hand/extendo_hand.ino
extendo-hand/src/main/arduino/extendo_hand/extendo_hand.ino
#include <MeetAndroid.h> MeetAndroid meetAndroid; const int pinX = A0; const int pinY = A1; const int pinZ = A2; //////////////////////////////////////// // 1.5g constants //* const int xmin = 200; const int xmax = 565; const int ymin = 240; const int ymax = 610; const int zmin = 110; const int zmax = 500; //*/ ...
#include <MeetAndroid.h> MeetAndroid meetAndroid; const int pinX = A0; const int pinY = A1; const int pinZ = A2; //////////////////////////////////////// // 1.5g constants //* const int xmin = 200; const int xmax = 565; const int ymin = 240; const int ymax = 610; const int zmin = 110; const int zmax = 500; //*/ ...
Use OSC-style messages from Extend-o-Hand
Use OSC-style messages from Extend-o-Hand
Arduino
mit
joshsh/extendo,joshsh/smsn,joshsh/extendo,joshsh/smsn,joshsh/extendo,joshsh/smsn,joshsh/extendo,joshsh/smsn,joshsh/smsn,joshsh/extendo,joshsh/smsn,joshsh/extendo,joshsh/smsn,joshsh/extendo
902aa6757de4e127832776996be1b5d76e15fdc2
wifi-feather/wifi-feather.ino
wifi-feather/wifi-feather.ino
#include <ESP8266WiFi.h> #include <ntpclient.h> #include <PrintEx.h> #include <TimeLib.h> #include <WiFiUdp.h> #include "persistent_queue.h" #include "ssid-info.h" #include "util.h" static constexpr char const* SENSOR_ID = "bostonfern1"; static constexpr unsigned ENABLE_SENSOR_PIN = 14; static constexpr unsigned CON...
#include <ESP8266WiFi.h> #include <ntpclient.h> #include <PrintEx.h> #include <TimeLib.h> #include <WiFiUdp.h> #include "persistent_queue.h" #include "ssid-info.h" #include "util.h" static constexpr char const* SENSOR_ID = "bostonfern1"; static constexpr unsigned ENABLE_SENSOR_PIN = 14; static constexpr unsigned CON...
Add debug message.
Add debug message.
Arduino
mit
betabandido/moisturereader,betabandido/moisturereader
48294ac4073d880de82d96f54ec5cb14e8b926a5
examples/FastCRC_example/FastCRC_example.ino
examples/FastCRC_example/FastCRC_example.ino
//FastCRC //Benchmark // //(c) Frank Boesing 2014 #include <util/crc16.h> #include <FastCRC.h> #define BUFSIZE 16384 FastCRC8 CRC8; FastCRC16 CRC16; FastCRC32 CRC32; uint8_t buf[BUFSIZE] __attribute__((aligned(4))); // Supporting functions for Software CRC inline uint16_t softcrc(uint16_t seed, uint8_t *data, u...
//FastCRC //Benchmark // //(c) Frank Boesing 2014 #include <util/crc16.h> #include <FastCRC.h> #define BUFSIZE 1024 FastCRC8 CRC8; FastCRC16 CRC16; FastCRC32 CRC32; uint8_t buf[BUFSIZE] __attribute__((aligned(4))); // Supporting functions for Software CRC inline uint16_t softcrc(uint16_t seed, uint8_t *data, ui...
Reduce bufsize (for smaller MCUs)
Reduce bufsize (for smaller MCUs)
Arduino
mit
FrankBoesing/FastCRC,FrankBoesing/FastCRC
aadc89cd838d17b43d087dd4cc49d9a58818ca5a
ha_mqtt_rgb_light/ha_mqtt_rgb_light.ino
ha_mqtt_rgb_light/ha_mqtt_rgb_light.ino
/* MQTT RGB Light for Home-Assistant (esp8266) https://home-assistant.io/components/light.mqtt/ Libraries : - ESP8266 core for Arduino : https://github.com/esp8266/Arduino - PubSubClient : https://github.com/knolleary/pubsubclient Sources : - File > Examples > ES8266WiFi > WiFiClient - Fil...
/* MQTT RGB Light for Home-Assistant (esp8266) https://home-assistant.io/components/light.mqtt/ Libraries : - ESP8266 core for Arduino : https://github.com/esp8266/Arduino - PubSubClient : https://github.com/knolleary/pubsubclient Sources : - File > Examples > ES8266WiFi > WiFiClient - Fil...
Update ha_mqtt_rgb_light.ino
Update ha_mqtt_rgb_light.ino
Arduino
mit
mertenats/Open-Home-Automation,mertenats/Open-Home-Automation
93411e8a8a2a14c639ae46b26574437763461bb6
examples/testWholeDisplay/testWholeDisplay.ino
examples/testWholeDisplay/testWholeDisplay.ino
/* testWholeDisplay.ino -test each segment in the display -a simple example using Dean Reading's SevSeg library to light up all 4 digits plus the 4 decimal points on a 4 digit display -the purpose of this example is to ensure you have the wires all hooked up right for every segment and digit, and to troubleshoot the di...
/* testWholeDisplay.ino -test each segment in the display -a simple example using Dean Reading's SevSeg library to light up all 4 digits plus the 4 decimal points on a 4 digit display -the purpose of this example is to ensure you have the wires all hooked up right for every segment and digit, and to troubleshoot the di...
Update testWholeDisplay.ino
Update testWholeDisplay.ino deletion of unused line
Arduino
apache-2.0
DeanIsMe/SevSeg
849891389889ada872c6be891742acd3d370a431
arduino/led_matrix/led_matrix.ino
arduino/led_matrix/led_matrix.ino
#include <FastLED.h> #define NUM_LEDS 16 #define PIN 6 #define BRIGHTNESS 64 CRGB leds[NUM_LEDS]; int r, g, b, x, y; void setup() { FastLED.addLeds<WS2812B, PIN>(leds, NUM_LEDS);//.setCorrection(TypicalLEDStrip); FastLED.setBrightness(BRIGHTNESS); Serial.begin(115200); FastLED.show(); } void loop() { ...
#include <FastLED.h> #define NUM_LEDS 16 #define PIN 6 #define BRIGHTNESS 64 CRGB leds[NUM_LEDS]; int r, g, b, x, y; void setup() { FastLED.addLeds<WS2812B, PIN>(leds, NUM_LEDS);//.setCorrection(TypicalLEDStrip); FastLED.setBrightness(BRIGHTNESS); Serial.begin(115200); FastLED.show(); } void loop() { ...
send sensible pixel data
send sensible pixel data
Arduino
mit
Spooner/pixel-table,Spooner/pixel-table,Spooner/pixel-table
a0897fe5816e7767fdb6fd683612966c4f4fd788
examples/ttn-otaa-network-time/ttn-otaa-network-time.ino
examples/ttn-otaa-network-time/ttn-otaa-network-time.ino
/******************************************************************************* * Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman * Copyright (c) 2018 Terry Moore, MCCI * * Permission is hereby granted, free of charge, to anyone * obtaining a copy of this document and accompanying files, * to do whatever...
/******************************************************************************* * Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman * Copyright (c) 2018 Terry Moore, MCCI * * Permission is hereby granted, free of charge, to anyone * obtaining a copy of this document and accompanying files, * to do whatever...
Remove stray line
Remove stray line
Arduino
mit
mcci-catena/arduino-lmic,mcci-catena/arduino-lmic,mcci-catena/arduino-lmic
a8922eeff3a74b4613a4bcd50d92a0c2fc755133
examples/sevenseg/sevenseg.ino
examples/sevenseg/sevenseg.ino
/*************************************************** This is a library for our I2C LED Backpacks Designed specifically to work with the Adafruit LED 7-Segment backpacks ----> http://www.adafruit.com/products/881 ----> http://www.adafruit.com/products/880 ----> http://www.adafruit.com/products/879 ----> h...
/*************************************************** This is a library for our I2C LED Backpacks Designed specifically to work with the Adafruit LED 7-Segment backpacks ----> http://www.adafruit.com/products/881 ----> http://www.adafruit.com/products/880 ----> http://www.adafruit.com/products/879 ----> h...
Update sevenseg.ino
Update sevenseg.ino just a bump to try and kick the CI to run again
Arduino
mit
adafruit/Adafruit_LED_Backpack,adafruit/Adafruit-LED-Backpack-Library
46ab62e5e7e6cc53f4a068af09d315c997ed7b08
src/main/arduino/temploggerBLE/temploggerBLE.ino
src/main/arduino/temploggerBLE/temploggerBLE.ino
#include <SPI.h> #include <SD.h> //#include <stdlib.h> #include <RFduinoBLE.h> #include <Wire.h> #include <RTC_DS3231.h> #include <OneWire.h> // http://forum.rfduino.com/index.php?topic=103.msg261#msg261 // Wire.beginOnPins(2, 3); // Starts the I2C interface with SCL on GPIO 2 and SDA on GPIO 3 #define LOGGING_FREQ_...
/* The MIT License (MIT) Copyright (c) 2015 Jim Blaney Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
Update temploggerBLE.ino
Update temploggerBLE.ino
Arduino
mit
jb38/cs475-senior-project,jb38/cs475-senior-project
cb4a56b695c73aebb27aab13fef3de1626a13f10
test_three_moving_pixels_v3.ino
test_three_moving_pixels_v3.ino
//*************************************************************** // Three moving pixels example //*************************************************************** #include "FastLED.h" #define LED_TYPE NEOPIXEL // ***Update to your strip type. NEOPIXEL, APA102, LPD8806, etc. #define DATA_PIN 6 // ***Remember to set ...
//*************************************************************** // Three moving pixels example // Uses modulo, %, to make pixel position "loop" around and // stay in valid pixel range. // Marc Miller, Feb 2015. Updated Jan 2016. //*************************************************************** #include "Fa...
Update test_three_moving_pixels_v3.ino
Update test_three_moving_pixels_v3.ino simplified code and added EVERY_N for doing the delay.
Arduino
mit
marmilicious/FastLED_examples
dab73c6d53d68fe2c6863faf0b8474949a1010a3
arduino/serial_control/serial_control.ino
arduino/serial_control/serial_control.ino
// Distributed with a free-will license. // Use it any way you want, profit or free, provided it fits in the licenses of its associated works. // AD5667 // This code is designed to work with the AD5667_I2CDAC I2C Mini Module available from ControlEverything.com. // https://www.controleverything.com/content/Digital-Anal...
// Distributed with a free-will license. // Use it any way you want, profit or free, provided it fits in the licenses of its associated works. // AD5667 // This code is designed to work with the AD5667_I2CDAC I2C Mini Module available from ControlEverything.com. // https://www.controleverything.com/content/Digital-Anal...
update vcc list at beginning of loop instead of end
update vcc list at beginning of loop instead of end
Arduino
agpl-3.0
zobristnicholas/PMM_Readout,zobristnicholas/PMM_Readout
1a4896c2fa70cc965735c4110fb1184e128c8dfa
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; // main status int lastSensorStatus = 0, currentSensorStatus = 0; // BME280 sensor Adafruit_BME280 bme; double temperature = 0; do...
#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; char publishString[128]; // BME280 sensor Adafruit_BME280 bme; d...
move publishString to global scope
move publishString to global scope
Arduino
apache-2.0
mhaack/Particle-Photon-Apps
11a7864e707d3b09b8eff5992c3d8e570a15fa18
sheild_sdlog_gps_color/sheild_sdlog_gps_color.ino
sheild_sdlog_gps_color/sheild_sdlog_gps_color.ino
#include <SPI.h> #include <Adafruit_GPS.h> #include <SoftwareSerial.h> #include <SD.h> #include <Wire.h> #include <Adafruit_TCS34725.h> #include <avr/sleep.h> // Code hacked together by Nick Meehan - unsalted.nu // In association with: Art Center College of Design - Media Design Practices - MFA // // This code is a co...
#include <SPI.h> #include <Adafruit_GPS.h> #include <SoftwareSerial.h> #include <SD.h> #include <Wire.h> #include <Adafruit_TCS34725.h> #include <avr/sleep.h> // Code hacked together by Nick Meehan - unsalted.nu // In association with: Art Center College of Design - Media Design Practices - MFA // // This code is a co...
Add quality and fix to data set
Add quality and fix to data set
Arduino
mit
unsalted/color_station
fb56a1a00a03a466d2d354571c776b1084ea4406
the_whole_project/the_whole_project.ino
the_whole_project/the_whole_project.ino
// Arduino Due: // ---------------------- // DS3231: SDA pin -> Arduino Digital 20 (SDA) or the dedicated SDA1 (Digital 70) pin // SCL pin -> Arduino Digital 21 (SCL) or the dedicated SCL1 (Digital 71) pin #include <DS3231.h> DS3231 rtc(SDA, SCL); // Gets a UNIX timestamp from the RTC long getTimestam...
// Arduino Due: // ---------------------- // DS3231: SDA pin -> Arduino Digital 20 (SDA) or the dedicated SDA1 (Digital 70) pin // SCL pin -> Arduino Digital 21 (SCL) or the dedicated SCL1 (Digital 71) pin #include <DS3231.h> #include <SPI.h> #include <SD.h> #define SD_PIN 4 #define KEY_FILE "key.txt" ...
Read key file in main project
Read key file in main project
Arduino
mit
paultela/yubiduino,paultela/yubiduino
728e7b0bc4f5da25e12c6ec4552deec685b86384
shira-headband/shira-headband.ino
shira-headband/shira-headband.ino
#include "LED.h" #include "HEADBAND.h" #include "Sleep.h" #define NR_LEDS 5 LED leds[] = { LED(1), LED(0), LED(2), LED(3), LED(4), }; HEADBAND headband(leds, NR_LEDS); int i; void setup() { setup_sleep(); randomSeed(analogRead(0)); for (i = 0; i < NR_LEDS; i++) { leds[i].off(); } headband....
#include "LED.h" #include "HEADBAND.h" #include "Sleep.h" #define NR_LEDS 5 LED leds[] = { LED(0), LED(1), LED(2), LED(3), LED(4), }; HEADBAND headband(leds, NR_LEDS); int i; void setup() { setup_sleep(); randomSeed(analogRead(0)); for (i = 0; i < NR_LEDS; i++) { leds[i].off(); } headband....
revert headband solder hack
revert headband solder hack
Arduino
artistic-2.0
craighagan/HalloweenCostumes,craighagan/HalloweenCostumes,craighagan/HalloweenCostumes
cb54df901568af4778bf4859c7bba1ce0a4613bf
beacons/RFduino/physical_web/physical_web.ino
beacons/RFduino/physical_web/physical_web.ino
// Physical-Web example for RFDigital RFduino #include <RFduinoBLE.h> uint8_t advdata[] = { 0x03, // length 0x03, // Param: Service List 0xD8, 0xFE, // URI Beacon ID 0x0A, // length 0x16, // Service Data 0xD8, 0xFE, // URI Beacon ID 0x00, // flags 0x20, // power 0x00, // http://www. 'A', ...
// Physical-Web example for RFDigital RFduino #include <RFduinoBLE.h> uint8_t advdata[] = { 0x03, // length 0x03, // Param: Service List 0xD8, 0xFE, // URI Beacon ID 0x0A, // length 0x16, // Service Data 0xD8, 0xFE, // URI Beacon ID 0x00, // flags 0xEE, // power 0x00, // http://www. 'A', ...
change power in adv packet to dBm value measured at 0m
RFduino: change power in adv packet to dBm value measured at 0m
Arduino
apache-2.0
dinhviethoa/uribeacon,yangjae/uribeacon,dennisg/uribeacon,dennisg/uribeacon,perja12/uribeacon,don/uribeacon,tommythorsen/uribeacon,kstechnologies/uribeacon,perja12/uribeacon,kstechnologies/uribeacon,tommythorsen/uribeacon,perja12/uribeacon,tommythorsen/uribeacon,yangjae/uribeacon,roywant/uribeacon,kstechnologies/uribea...
8c0540c31dc54f720e0b1da297f2010cd8ef1cd4
examples/UNTZtrument_Hello_World/UNTZtrument_Hello_World.ino
examples/UNTZtrument_Hello_World/UNTZtrument_Hello_World.ino
// Super-basic UNTZtrument MIDI example. Maps buttons to MIDI note // on/off events; this is NOT a sequencer or anything fancy. // Requires an Arduino Leonardo w/TeeOnArdu config (or a PJRC Teensy), // software on host computer for synth or to route to other devices. #include <Wire.h> #include <Adafruit_Trellis.h> #i...
// Super-basic UNTZtrument MIDI example. Maps buttons to MIDI note // on/off events; this is NOT a sequencer or anything fancy. // Requires an Arduino Leonardo w/TeeOnArdu config (or a PJRC Teensy), // software on host computer for synth or to route to other devices. #include <Wire.h> #include <Adafruit_Trellis.h> #i...
convert hello world example to MIDIUSB
convert hello world example to MIDIUSB
Arduino
bsd-3-clause
adafruit/Adafruit_UNTZtrument
598eb46288bf8d6c05accd550fc205ebfb8aa1c9
OpenCTD_qDuino/OpenCTD_qDuino.ino
OpenCTD_qDuino/OpenCTD_qDuino.ino
//Wire and MS5803_I2C libraries for communicating with the pressure sensor. #include <Wire.h> #include <SparkFun_MS5803_I2C.h> //EC Circuit uses software serial #include <SoftwareSerial.h> // For use by EC circuit. //OneWire is used to get data from both temperature and conductivity sensors #incl...
//Wire and MS5803_I2C libraries for communicating with the pressure sensor. #include <Wire.h> #include <SparkFun_MS5803_I2C.h> //CAN WE MAKE THIS LIBRARY SMALLER? //EC Circuit uses software serial #include <SoftwareSerial.h> // For use by EC circuit. //OneWire is used to get data from both temper...
Update OpenCTD_qDuino.ino
Update OpenCTD_qDuino.ino Added notes.
Arduino
mit
OceanographyforEveryone/OpenCTD
8e8c88f67c14c17bba6af6ed3267d2e3c341f2a9
examples/AFSK-Send/AFSK-Send.ino
examples/AFSK-Send/AFSK-Send.ino
#include <HamShield.h> #include <Wire.h> HamShield radio; DDS dds; void setup() { Serial.begin(9600); // put your setup code here, to run once: pinMode(2, OUTPUT); pinMode(10, OUTPUT); pinMode(3, OUTPUT); pinMode(11, OUTPUT); digitalWrite(2, LOW); digitalWrite(10, LOW); Serial.println(F("Radio test...
#include <HamShield.h> #include <Wire.h> HamShield radio; DDS dds; void setup() { Serial.begin(9600); // put your setup code here, to run once: pinMode(2, OUTPUT); pinMode(10, OUTPUT); pinMode(3, OUTPUT); pinMode(11, OUTPUT); digitalWrite(2, LOW); digitalWrite(10, LOW); Serial.println(F("Radio test...
Stop transmitting (in a hackish way) when the TX is done.
Stop transmitting (in a hackish way) when the TX is done.
Arduino
agpl-3.0
EnhancedRadioDevices/HamShield,EnhancedRadioDevices/HamShield
47e23614af14a5bf5385cf093b7623285fd94552
Arduino-code/two-sensors-test/two-sensors-test.ino
Arduino-code/two-sensors-test/two-sensors-test.ino
/* Pines of the first sensor. */ #define S1echo 7 #define S1trig 8 /* Pines of the second sensor. */ #define S2echo 10 #define S2trig 11 long duration, distance; void setup() { /* Setup of the echo & trig of everysensor. */ pinMode(S1echo, INPUT); //pinMode(S2echo, INPUT); pinMode(S1trig, OUTPUT); //...
/* Pines of the first sensor. */ #define S1echo 7 #define S1trig 8 /* Pines of the second sensor. */ #define S2echo 10 #define S2trig 11 long duration, distance; void setup() { Serial.begin(9600); /* Setup of the echo & trig of everysensor. */ pinMode(S1echo, INPUT); //pinMode(S2echo, INPUT); pinM...
Change on Serial stuff to show data
Change on Serial stuff to show data
Arduino
apache-2.0
Michotastico/Ultrasonic-sensors-project
ec605ffffdd927e5ffb1cc830772dcdcf0060c1f
arduino/tempLogger/tempLogger.ino
arduino/tempLogger/tempLogger.ino
/* This code logs the temperature from a DS18B20 temperature sensor and prints the temperature along with a time stamp using a DS3231 Clock and a SparkFun microSD Transflash Breakout This uses code from http://bildr.org/2011/07/ds18b20-arduino/ and https://learn.sparkfun.com/tutorials/microsd-shield-and-s...
/* This code logs the temperature from a DS18B20 temperature sensor and prints the temperature along with a time stamp using a DS3231 Clock and a SparkFun microSD Transflash Breakout This uses code from http://bildr.org/2011/07/ds18b20-arduino/ and https://learn.sparkfun.com/tutorials/microsd-shield-and-s...
Add files via upload
Add files via upload added code to read the raw of the device
Arduino
mit
MTUHIDE/CoCoTemp,MTUHIDE/CoCoTemp,MTUHIDE/CoCoTemp,MTUHIDE/CoCoTemp,MTUHIDE/CoCoTemp
a36585c82589478cff2749b4b331480bfaed6112
examples/Fast2Dev/Fast2Dev.ino
examples/Fast2Dev/Fast2Dev.ino
#include "FastSPI_LED2.h" // #include "FastSPI_LED.h" // #if defined(ARDUINO) && ARDUINO >= 100 // #include "xxxArduino.h" // #include <xxxpins_arduino.h> // #else // #include "xxxWProgram.h" // #include <xxxpins_arduino.h> // #include "xxxwiring.h" // #endif #define DEBUG #ifdef DEBUG #define DPRINT Serial.p...
#include "FastSPI_LED2.h" // #include "FastSPI_LED.h" // #if defined(ARDUINO) && ARDUINO >= 100 // #include "xxxArduino.h" // #include <xxxpins_arduino.h> // #else // #include "xxxWProgram.h" // #include <xxxpins_arduino.h> // #include "xxxwiring.h" // #endif #define DEBUG #ifdef DEBUG #define DPRINT Serial.p...
update example
update example
Arduino
mit
wilhelmryan/FastLED,ryankenney/FastLED,tullo-x86/FastLED,MiketheChap/FastLED,ryankenney/FastLED,MiketheChap/FastLED,PaulStoffregen/FastLED,neographophobic/FastLED,tullo-x86/FastLED,corbinstreehouse/FastLED,corbinstreehouse/FastLED,liyanage/FastLED,neographophobic/FastLED,PaulStoffregen/FastLED,felixLam/FastLED,MattDurr...
e7a99e04471270b853e1fdae5e95f57c54b621d0
timedWaterTest/timedWaterTest.ino
timedWaterTest/timedWaterTest.ino
/* * TimeAlarmExample.pde * * This example calls alarm functions at 8:30 am and at 5:45 pm (17:45) * and simulates turning lights on at night and off in the morning * A weekly timer is set for Saturdays at 8:30:30 * * A timer is called every 15 seconds * Another timer is called once only after 10 seconds * * ...
/* * TimeAlarmExample.pde * * This example calls alarm functions at 8:30 am and at 5:45 pm (17:45) * and simulates turning lights on at night and off in the morning * A weekly timer is set for Saturdays at 8:30:30 * * A timer is called every 15 seconds * Another timer is called once only after 10 seconds * * ...
rewrite for new relay. optimized a bit
rewrite for new relay. optimized a bit
Arduino
mit
apetrynet/hydrogarden
b2a534ede974c55a97b0de1ed356665fa6089051
examples/adafruitio_time_esp8266/adafruitio_time_esp8266.ino
examples/adafruitio_time_esp8266/adafruitio_time_esp8266.ino
#include <ESP8266WiFi.h> #include "Adafruit_MQTT.h" #include "Adafruit_MQTT_Client.h" /************************* WiFi Access Point *********************************/ #define WLAN_SSID "network" #define WLAN_PASS "password" /************************* Adafruit.io Setup *********************************/ #de...
/*************************************************** 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 standard connect function to time example
add standard connect function to time example
Arduino
mit
adafruit/Adafruit_MQTT_Library
f958660bfc1dcb3ef1cd26fb402a5da1813e729a
first_one/first_one.ino
first_one/first_one.ino
/* Project : ·NINE· [dasaki && n3m3da] Concept : BY-SA 4.0 Code : MIT 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 3 of the License, or (at ...
/* Project : ·NINE· [dasaki && n3m3da] Concept : BY-SA 4.0 Code : MIT 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 3 of the License, or (at ...
add sleep multiplier, remove nextcycle()
add sleep multiplier, remove nextcycle()
Arduino
mit
d3cod3/nine
a5b7d2132bf900db625272bbded0bc05b8cf58f6
simu_buttonreader_teensy_base/simu_buttonreader_teensy_base.ino
simu_buttonreader_teensy_base/simu_buttonreader_teensy_base.ino
/* Base (connected with USB to a PC) for wireless bluetooth button/shifter system using two Teensy 3.2 microcontrollers and 2 HC-05 bluetooth modules. Pinout for this base unit: 0 serial 1 serial 2 bluetooth status 11 connection status led 13 power led */ // some status variables boolean teensyLedS...
/* Base (connected with USB to a PC) for wireless bluetooth button/shifter system using two Teensy 3.2 microcontrollers and 2 HC-05 bluetooth modules. Pinout for this base unit: 0 serial 1 serial 2 bluetooth status 11 connection status led 13 power led */ // some status variables boolean teensyLedS...
Add files via upload
Add files via upload Fixed base connection led to blink. That line was a leftover.
Arduino
apache-2.0
mtakala/simracing_wireless_buttons
4c17088bb16a41000f7166d986e96b82f38f08b7
arduinoApp/gardenSketch/gardenSketch.ino
arduinoApp/gardenSketch/gardenSketch.ino
/* Arduino based self regulating kitchen garden */ #include <DHT.h> // temperature related setup #define DHTPIN 2 // Humidity and temperature sensor pin #define DHTTYPE DHT22 // Model DHT 22 (AM2302) DHT airSensor(DHTPIN, DHTTYPE); // setup DHT sensor float airHumidity = dht.readHumidity(); // read humidi...
/* Arduino based self regulating kitchen garden */ #include <DHT.h> // temperature related setup #define DHTPIN 2 // Humidity and temperature sensor pin #define DHTTYPE DHT22 // Model DHT 22 (AM2302) DHT airSensor(DHTPIN, DHTTYPE); // setup DHT sensor float airHumidity; float airTemperature; // light r...
Fix DHT sensor setup
Fix DHT sensor setup
Arduino
apache-2.0
eikooc/KitchenGarden,eikooc/KitchenGarden,eikooc/KitchenGarden,eikooc/KitchenGarden
aafea18ab8c90d51c1cf0810fab9a63cdc50d03c
code/MotorController/MotorController.ino
code/MotorController/MotorController.ino
// Installed via library manager, https://github.com/thomasfredericks/Bounce2 #include <Bounce2.h> #include <avr/eeprom.h> #include "LCDserNHD.h" const char* versionString = "3.1.1"; const int CLOCKWISE = 1; const int COUNTER_CLOCKWISE = 0; // Required fuses: http://www.engbedded.com/fusecalc // 16MHz external cloc...
// Installed via library manager, https://github.com/thomasfredericks/Bounce2 #include <Bounce2.h> #include <avr/eeprom.h> #include "LCDserNHD.h" const char* versionString = "3.1.1"; const int CLOCKWISE = 1; const int COUNTER_CLOCKWISE = 0; // Required fuses: http://www.engbedded.com/fusecalc // 16MHz external cloc...
Remove delay from main loop and control motor updates with a specific delay
Remove delay from main loop and control motor updates with a specific delay
Arduino
mit
SaintGimp/MotorController
c6760552a3d9eccd087e219ca78974abaa7bba62
projects/arduino/led_matrix_256/led_matrix_256.ino
projects/arduino/led_matrix_256/led_matrix_256.ino
#include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #include "IRremote.h" //Remote control library #endif #define NUM_OF_PIXELS 256 #define MATRIX_DATA_PIN 4 #define RECEIVER_PIN 12 IRrecv irrecv(RECEIVER_PIN); // create instance of 'irrecv' decode_results results; // create instance ...
#include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #include "IRremote.h" //Remote control library #endif #define NUM_OF_PIXELS 256 #define MATRIX_DATA_PIN 4 #define RECEIVER_PIN 12 IRrecv irrecv(RECEIVER_PIN); // create instance of 'irrecv' decode_results results; // create instance ...
Move more to program storage to increase stack space in SRAM
Move more to program storage to increase stack space in SRAM
Arduino
mit
borq79/cs.edu,borq79/cs.edu
6ca95157795dc6d49dd7a5b5e689105690edaa73
examples/03_Quick_start_anto_dht11/03_Quick_start_anto_dht11.ino
examples/03_Quick_start_anto_dht11/03_Quick_start_anto_dht11.ino
/* * This example is meant to be used as a starting point * for working with Anto.io services and DHT sensor module * * 2017/02/08 * by Anto.io team * */ #include <AntoIO.h> #include <DHT.h> #define DHTPIN 2 //port D4 #define DHTTYPE DHT11 const char *user = "your username"; const char *token = "your token...
/* * This example is meant to be used as a starting point * for working with Anto.io services and DHT sensor module * * 2017/06/17 * by Anto.io team * */ #include <AntoIO.h> #include <DHT.h> #define DHTPIN 2 //port D4 #define DHTTYPE DHT11 const char *ssid = "your access point SSID"; const char *pass = "ac...
Update quick start dht
Update quick start dht
Arduino
mit
AntoIOT/anto-esp8266-arduino,AntoIOT/anto-esp8266-arduino,AntoIOT/AntoIO,AntoIOT/Arduino-Lib,AntoIOT/Arduino-Lib,AntoIOT/AntoIO
bf1a2aeb02b029029af1e4795d22ce51433e3b78
moros/moros.ino
moros/moros.ino
/* * TODO: * case * flag - P0 BLOCKER S0 * -- have graphical representation of flag * wiring diagram - P2 S3 * reset button (chronos style?) - P1 * time setting - P1 * OLEDs * */ #include <SPI.h> #include <TFT.h> #include "printf.h" #define NONE -1 //#define INITIAL_TIME_MS 300000 #define INITIAL_TIME_MS 5000 cl...
/* * TODO: * case * flag - P0 BLOCKER S0 * -- have graphical representation of flag * wiring diagram - P2 S3 * reset button (chronos style?) - P1 * time setting - P1 * OLEDs * */ #include <SPI.h> #include <TFT.h> #include "printf.h" #define NONE -1 //#define INITIAL_TIME_MS 300000 #define INITIAL_TIME_MS 5000 cl...
Remove extraneous test
Remove extraneous test
Arduino
mit
adamf/Moros,adamf/Moros,adamf/Moros,adamf/Moros
11d053690a54e567ee57ceddf4ebe21b6d3fbfff
moros/moros.ino
moros/moros.ino
/* * TODO: * case * flag - P0 BLOCKER S0 * -- have graphical representation of flag * wiring diagram - P2 S3 * reset button (chronos style?) - P1 * time setting - P1 * OLEDs * */ #include <SPI.h> #include <TFT.h> #include "printf.h" #define NONE -1 #define DISPLAY_FONT_SIZE 7 #define CHAR_HEIGHT_PX DISPLAY_FONT_SI...
/* * TODO: * case * flag - P0 BLOCKER S0 * -- have graphical representation of flag * wiring diagram - P2 S3 * reset button (chronos style?) - P1 * time setting - P1 * OLEDs * */ #include <SPI.h> #include <TFT.h> #include "printf.h" #define NONE -1 #define DISPLAY_FONT_SIZE 7 #define CHAR_HEIGHT_PX DISPLAY_FONT_SI...
Remove dead code
Remove dead code
Arduino
mit
adamf/Moros,adamf/Moros,adamf/Moros,adamf/Moros
a2b37513b7d24c7aeca304b85fd6b77624f78dae
Modified_ST_Anything_Libraries/ST_Anything_RGB_ESP8266WiFi.ino
Modified_ST_Anything_Libraries/ST_Anything_RGB_ESP8266WiFi.ino
//****************************************************************************************** // File: ST_Anything_RGB_ESP8266WiFi.ino // Authors: Dan G Ogorchock & Daniel J Ogorchock (Father and Son) // // Summary: This Arduino Sketch, along with the ST_Anything library and the revised SmartThings // li...
//****************************************************************************************** // File: ST_Anything_RGB_ESP8266WiFi.ino // Authors: Dan G Ogorchock & Daniel J Ogorchock (Father and Son) // // Summary: This Arduino Sketch, along with the ST_Anything library and the revised SmartThings // li...
Update ST_Anything_RGB_ESP8266WiFi.ino
Update ST_Anything_RGB_ESP8266WiFi.ino Changed pins from "D?" to hard coded pins because adafruit Huzzah doesn't seem to like them.
Arduino
apache-2.0
vseven/SmartThings_VSeven
befa09f238e67c687dc6e64bbf35fd8e5ad8b093
sketches/Energino/Energino.ino
sketches/Energino/Energino.ino
/* * Energino * * Energino is a energy consumption meter for DC loads * * This sketch connects an Arduino equipped with the Energino * shield and with an Ethernet shield with a web service * implementing the COSM (formely Pachube) REST API. It also * implements a serial interface. * * Circuit: * Analog in...
/* * Energino * * Energino is a energy consumption meter for DC loads * * This sketch connects an Arduino equipped with the Energino * shield and with an Ethernet shield with a web service * implementing the COSM (formely Pachube) REST API. It also * implements a serial interface. * * Circuit: * Analog in...
use long instead of float
use long instead of float
Arduino
bsd-3-clause
rriggio/energino,rriggio/energino,rriggio/energino,rriggio/energino
7f39c74407ac90c803563771869bc58cd7010e1c
XYMatrix/XYMatrix.ino
XYMatrix/XYMatrix.ino
/* The MIT License (MIT) Copyright (c) 2015 Juergen Skrotzky alias Jorgen (JorgenVikingGod@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limita...
/* The MIT License (MIT) Copyright (c) 2015 Juergen Skrotzky alias Jorgen (JorgenVikingGod@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limita...
add fade animations
add fade animations add flash on/off on buttonOff_clicked and smooth fade in to white on buttonWhite_clicked
Arduino
mit
Jorgen-VikingGod/FastLED-examples
be5100b30be1c8809b9220c2f6d0b188338d0e8a
Bluetooth_car_control/Bluetooth_car_control.ino
Bluetooth_car_control/Bluetooth_car_control.ino
// Author: Jose Marco de la Rosa // Description: Small program for basic Brozabot_mk1 bluetooth control // Not using the sw serial because it interferes with the servo library //#include <SoftwareSerial.h> #include <Servo.h> Servo speed_servo; Servo steer_servo; // If using software serial here you attach RX and TX ...
// Author: Jose Marco de la Rosa // Description: Small program for basic Brozabot_mk1 bluetooth control // Not using the sw serial because it interferes with the servo library //#include <SoftwareSerial.h> #include <Servo.h> Servo speed_servo; Servo steer_servo; // If using software serial here you attach RX and TX ...
Fix typos
Fix typos
Arduino
mit
jmarcor/BrozaBot_mk1
634cc1916acf2d2865a5b41945b5293dbf707e54
arduino/OpenROV/OpenROV.ino
arduino/OpenROV/OpenROV.ino
#include <Servo.h> #include <Arduino.h> #include "Motors.h" #include "Command.h" #include "Device.h" #include "Timer.h" Motors motors(9, 10, 11); Command cmd; Device vout("vout", 0, vout.analog, vout.in); Device light("light", 5, light.analog, light.out); Timer time; Servo tilt; // IMPORTANT! // array[0] will be the ...
#include <Servo.h> #include <Arduino.h> #include "Motors.h" #include "Command.h" #include "Device.h" #include "Timer.h" Motors motors(9, 10, 11); Command cmd; Device vout("vout", 0, vout.analog, vout.in); Device iout("iout", 3, iout.analog, iout.in); Device light("light", 5, light.analog, light.out); Timer time; Serv...
Update arduino/OpenROV/OpenROV.ino
Update arduino/OpenROV/OpenROV.ino add sensor support for cape current - iout
Arduino
mit
BenjaminTsai/openrov-cockpit,spiderkeys/openrov-cockpit,johan--/openrov-cockpit,BenjaminTsai/openrov-cockpit,kavi87/openrov-cockpit,spiderkeys/openrov-cockpit,chaudhryjunaid/openrov-cockpit,johan--/openrov-cockpit,chaudhryjunaid/openrov-cockpit,BrianAdams/openrov-cockpit,spiderkeys/openrov-cockpit,BrianAdams/openrov-co...
3e252ebd426727b3fb5e6d3387f98879c41b77ed
arduino_ssr/arduino_ssr.ino
arduino_ssr/arduino_ssr.ino
#include "TimerOne.h" int count = 0; int current_idx = -1; int lengths[3] = {20, 0, 15}; void setup() { // Initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards pinMode(13, OUTPUT); pinMode(A0, OUTPUT); digitalWrite( 13, 0 ); digitalWrite( A0, 0 ); ...
#include "TimerOne.h" int count = 0; int current_idx = -1; int lengths[4] = {20, 5, 10, 15}; void setup() { // Initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards pinMode(13, OUTPUT); pinMode(A0, OUTPUT); pinMode(A1, OUTPUT); digitalWrite( 13, 0 );...
add third pin
add third pin
Arduino
mit
flagos/arduino-ssr
1551a1509410c4c0481309fff94c815bb9518bb4
examples/Boards_USB_Serial/chipKIT_Uno32/chipKIT_Uno32.ino
examples/Boards_USB_Serial/chipKIT_Uno32/chipKIT_Uno32.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...
Switch chipKIT UNO32 to use new Stream API
Switch chipKIT UNO32 to use new Stream API
Arduino
mit
ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library
7bf1f8a75fa2d454fbb3a7f8987cea17f427f939
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 ...
Change FirebaseStream example to use new API.
Change FirebaseStream example to use new API.
Arduino
apache-2.0
FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,aliafshar/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino
b57d0c8e5971ace07bda69829c8c5567f775b8d0
anchor/anchor.ino
anchor/anchor.ino
#include <SPI.h> #include "DW1000Ranging.h" #include "DW1000Device.h" // connection pins const uint8_t PIN_RST = 3; // reset pin const uint8_t PIN_IRQ = 7; // irq pin const uint8_t PIN_SS = 10; // spi select pin void setup() { // Serial is for communication between the computer and the board. Serial.begin(115200)...
#include <SPI.h> #include "DW1000Ranging.h" #include "DW1000Device.h" // connection pins const uint8_t PIN_RST = 3; // reset pin const uint8_t PIN_IRQ = 7; // irq pin const uint8_t PIN_SS = 10; // spi select pin void setup() { // Serial is for communication between the computer and the board. Serial.begin(115200)...
Print out range info
Print out range info
Arduino
apache-2.0
dddutz/jarvas-indoor-positioning-system,dddutz/jarvas-indoor-positioning-system,dddutz/jarvas-indoor-positioning-system,dddutz/jarvas-indoor-positioning-system,dddutz/jarvas-indoor-positioning-system,dddutz/jarvas-indoor-positioning-system,dddutz/jarvas-indoor-positioning-system
2d64cc3c2ff85bbee654a7054e36c59694d8d8e4
examples/CustomBaudRate/CustomBaudRate.ino
examples/CustomBaudRate/CustomBaudRate.ino
#include <MIDI.h> // Override the default MIDI baudrate to // a decoding program such as Hairless MIDI (set baudrate to 115200) struct CustomBaudRate : public MIDI_NAMESPACE::DefaultSettings { static const long BaudRate = 115200; }; #if defined(ARDUINO_SAM_DUE) || defined(USBCON) || defined(__MK20DX128__) || defin...
#include <MIDI.h> // Override the default MIDI baudrate to // a decoding program such as Hairless MIDI (set baudrate to 115200) struct CustomBaudRateSettings : public MIDI_NAMESPACE::DefaultSerialSettings { static const long BaudRate = 115200; }; #if defined(ARDUINO_SAM_DUE) || defined(USBCON) || defined(__MK20DX12...
Update CustomBaudRate.ino
Update CustomBaudRate.ino override DefaultSerialSettings to override BaudRate (and not DefaultSettings )
Arduino
mit
FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library
7678d55830f77d6bcfb611f2183e0638ef23fc2e
udp_button.ino
udp_button.ino
#include <ESP8266WiFi.h> #include <WiFiUdp.h> const char* ssid = "tulix-upstairs"; const char* password = "vivalasalsa07"; const char* DESTINATION_HOST = "ulno-work"; //const char* DESTINATION_HOST = "localhost"; //const char* DESTINATION_HOST = "192.168.15.194"; int DESTINATION_PORT = 19877; const int NUMBER_OF...
#include <ESP8266WiFi.h> #include <lwip/ip.h> // for endian conversion htons, htonl, ... #include <WiFiUdp.h> //const char* ssid = "tulix-mobile"; const char* ssid = "tulix-upstairs"; const char* password = "vivalasalsa07"; const char * DESTINATION_HOST = "ulno-work"; //const char* DESTINATION_HOST = "192.168...
Support extended protocol (added header)
Support extended protocol (added header)
Arduino
mit
ulno/libni,ulno/libni,ulno/libni,ulno/libni,ulno/libni,ulno/libni,ulno/libni
c7c0f1d399d54e8b5363a5131cc0014e0db3269e
esp8266_160220_BYOP.ino
esp8266_160220_BYOP.ino
void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: }
/* * v0.1 2016 Feb 20 * - */ void setup() { Serial.begin(115200); } void loop() { Serial.println("Hello"); delay(2000); }
add Serial setup and hello printout
add Serial setup and hello printout
Arduino
mit
yasokada/esp8266_160220_BYOP
7800a6e30f91f69eb1a8580b484d0992b02bcf75
examples/GPS_SoftwareSerial_Parsing/GPS_SoftwareSerial_Parsing.ino
examples/GPS_SoftwareSerial_Parsing/GPS_SoftwareSerial_Parsing.ino
// Test code for Adafruit GPS modules using MTK3329/MTK3339 driver // // This code shows how to listen to the GPS module in an interrupt // which allows the program to have more 'freedom' - just parse // when a new NMEA sentence is available! Then access data when // desired. // // Tested and works great with the Adafr...
// Test code for Adafruit GPS modules using MTK3329/MTK3339 driver // // This code shows how to listen to the GPS module in an interrupt // which allows the program to have more 'freedom' - just parse // when a new NMEA sentence is available! Then access data when // desired. // // Tested and works great with the Adafr...
tweak header description
tweak header description
Arduino
bsd-3-clause
adafruit/Adafruit-GPS-Library
4d0c9bb9405b38065c2beed7b895758183717958
libraries/rng/examples/rngtest/rngtest.ino
libraries/rng/examples/rngtest/rngtest.ino
#include <sha256.h> #include <rng.h> #include <panic.h> #include <progres.h> void PROGRESS(float p){ } void PANIC(paniccode p){ for(;;){ delay(500); digitalWrite(13,HIGH); delay(500); digitalWrite(13,LOW); } } void setup() { pinMode(13,OUTPUT); digitalWrite(13,LOW); Serial.begin(9600); u...
#include <sha256.h> #include <rng.h> #include <panic.h> #include <progress.h> void PROGRESS(float p){ } void PANIC(paniccode p){ for(;;){ delay(500); digitalWrite(13,HIGH); delay(500); digitalWrite(13,LOW); } } void setup() { pinMode(13,OUTPUT); digitalWrite(13,LOW); Serial.begin(9600); ...
Fix type in include
Fix type in include
Arduino
bsd-2-clause
spearson78/paperwallet,spearson78/paperwallet
01e9455b9c2e21bbc67da263e5caaa2ebe8ee9c5
avr/avr.ino
avr/avr.ino
/* -*- mode: c++; c-file-style: "linux" -*- Telepulssi TP-KN10 slave LED screen driver */ #include <SPI.h> // Helper functions. NB! ARRAY_SIZE doesn't check if it's an array. #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) // Serial protocol fundamentals #define ESCAPE '~' // Escape character. G...
/* -*- mode: c++; c-file-style: "linux" -*- Telepulssi TP-KN10 slave LED screen driver */ #include <SPI.h> // Helper functions. NB! ARRAY_SIZE doesn't check if it's an array. #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) // Serial protocol fundamentals #define ESCAPE '~' // Escape character. G...
Switch iterating order in the LED screen to reduce blanking.
Switch iterating order in the LED screen to reduce blanking. New order: 1. PWM planes of a single LED segment row 2. Segments rows from left to right 3. Rows 4. Flip frame, if available, otherwise; repeat.
Arduino
agpl-3.0
HacklabJKL/telepulssi-arduino,HacklabJKL/telepulssi-arduino,HacklabJKL/telepulssi-arduino
5971d22d020a7fdaaa358715e1176f65437fe0e2
PushStart.ino
PushStart.ino
/* Push Start Arduino-based Keyless Ignition for 97-01 Toyota Camry (XV20) Designed by Kevin Abraham */ #include <AnalogTouch.h> #define DEBUG 0 #define BUTTON_PRESS_THRESHOLD 500 #define pinCap A4 #define pinACC 2 #define pinIG1 4 #define pinIG2 7 #define pinST2 8 #define pinLed 10 // Sl...
/* Push Start Arduino-based Keyless Ignition for 97-01 Toyota Camry (XV20) Designed by Kevin Abraham */ #include <AnalogTouch.h> #define DEBUG 0 #define BUTTON_PRESS_THRESHOLD 500 #define pinACC 2 #define pinIG1 4 #define pinIG2 7 #define pinST2 8 #define pinCap A4 #define pinLed 10 // Slo...
Rework mode handling
Rework mode handling
Arduino
mit
abraha2d/PushStart
a69bd00c684680f75a0c4292076f03214932b080
libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino
libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino
/* Repeating Web client This sketch connects to a a web server and makes a request using a Wiznet Ethernet shield. You can use the Arduino Ethernet shield, or the Adafruit Ethernet shield, either one will work, as long as it's got a Wiznet Ethernet module on board. This example uses the String library, which...
/* Repeating Web client This sketch connects to a a web server and makes a request using a Wiznet Ethernet shield. You can use the Arduino Ethernet shield, or the Adafruit Ethernet shield, either one will work, as long as it's got a Wiznet Ethernet module on board. This example uses DNS, by assigning the Eth...
Update to WebClientRepeating comments
Update to WebClientRepeating comments
Arduino
lgpl-2.1
ogferreiro/Arduino,ssvs111/Arduino,wilhelmryan/Arduino,OpenDevice/Arduino,smily77/Arduino,cscenter/Arduino,paulmand3l/Arduino,ssvs111/Arduino,EmuxEvans/Arduino,Alfredynho/AgroSis,ssvs111/Arduino,jabezGit/Arduino,jmgonzalez00449/Arduino,Ramoonus/Arduino,eeijcea/Arduino-1,eeijcea/Arduino-1,danielchalef/Arduino,arunkuttiy...
88351136f1b61f130b8608126d91b47627074036
firmware/examples/dht-test.ino
firmware/examples/dht-test.ino
#include "Adafruit_DHT.h" // Example testing sketch for various DHT humidity/temperature sensors // Written by ladyada, public domain #define DHTPIN 2 // what pin we're connected to // Uncomment whatever type you're using! //#define DHTTYPE DHT11 // DHT 11 #define DHTTYPE DHT22 // DHT 22 (AM2302) //#define DH...
#include "Adafruit_DHT.h" // Example testing sketch for various DHT humidity/temperature sensors // Written by ladyada, public domain #define DHTPIN 2 // what pin we're connected to // Uncomment whatever type you're using! //#define DHTTYPE DHT11 // DHT 11 #define DHTTYPE DHT22 // DHT 22 (AM2302) //#define DH...
Update dht-test.ino
Update dht-test.ino
Arduino
mit
N6UDP/Adafruit_DHT_Library,simiansinspace/Adafruit_DHT_Library,jenesaisdiq/Adafruit_DHT_Library,fepblaster/Adafruit_DHT_Library
1654413c09162f4f1051a32e42e9b450a7768e52
CocaCola/CocaCola.ino
CocaCola/CocaCola.ino
#include "Constants.h" void setup() { randomSeed(analogRead(0)); for (int i = 0; i < sizeof(Lights); i++) { pinMode(Lights[i], PATTERN_INITIALIZE); } } // code above the man is ignored by the emulator // code below it is transpiled into js and run by the emulator // )'( // Scenes void lettersAl...
#include "Constants.h" void setup() { randomSeed(analogRead(0)); for (int i = 0; i < sizeof(Lights); i++) { pinMode(Lights[i], PATTERN_INITIALIZE); } } // code above the man is ignored by the emulator // code below it is transpiled into js and run by the emulator // )'( // Scenes void lettersAl...
add new patterns: blinking two background lights on at a time from left to right, turning lights on and off from the inside out, turning on from left to right, keeping the last light on
add new patterns: blinking two background lights on at a time from left to right, turning lights on and off from the inside out, turning on from left to right, keeping the last light on
Arduino
mit
jzucker2/HackAColaSign,jzucker2/HackAColaSign
8c2edf9aa4353ebe9311e687dc4f59ed5a46a406
BinaryKeyboard.ino
BinaryKeyboard.ino
/* Chris Johnston Apr 13 2017 Binary Keyboard for Arduino Pro Micro */ // libraries #include <Keyboard.h> #include <Wire.h> #include <SPI.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> // pixel art for 1/0 mode w/ animations #include "PixelArt.h" // flag for reading/entering right to left or left to righ...
/* Chris Johnston Apr 13 2017 Binary Keyboard for Arduino Pro Micro */ // libraries #include <Keyboard.h> #include <Wire.h> #include <SPI.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> // pixel art for 1/0 mode w/ animations #include "PixelArt.h" // flag for reading/entering right to left or left to righ...
fix missing paren
fix missing paren
Arduino
mit
Chris-Johnston/BinaryKeyboard
e33f70e3355275402c6448904b413fa4c85825ea
03-PlantMonitor/Code/01-LEDHouseplantMonitor/LEDHouseplantMonitor.ino
03-PlantMonitor/Code/01-LEDHouseplantMonitor/LEDHouseplantMonitor.ino
/* SparkFun Inventor's Kit for Photon Experiment 3 - Part 1: LED 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 level o...
/* SparkFun Inventor's Kit for Photon Experiment 3 - Part 1: LED 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 level o...
Update LEDHouseplantMonitor.ino
Update LEDHouseplantMonitor.ino Typo in comment
Arduino
mit
sparkfun/Inventors_Kit_For_Photon_Experiments,sparkfun/Inventors_Kit_For_Photon_Experiments
2ac4086f4bad2ca9b75700bf9f679e4da898ce4f
main/main.ino
main/main.ino
/* * ZoomMRT-3B_MIDI_USB * * Created: 13/3/2017 * Author: HyDz * USB Midified ZoomMRT-3B for Traktor * */ #include "MIDIUSB.h" #include "inputs.h" #include "outputs.h" int MidiChannel = 2; // channel 3 (channel 1 has value 0) //Pulse per quarter note. Each beat has 24 pulses. //Tempo is based on software ...
/* * ZoomMRT-3B_MIDI_USB * * Created: 13/3/2017 * Author: HyDz * USB Midified ZoomMRT-3B for Traktor * */ #include "MIDIUSB.h" #include "inputs.h" #include "outputs.h" int MidiChannel = 2; // channel 3 (channel 1 has value 0) //Pulse per quarter note. Each beat has 24 pulses. //Tempo is based on software ...
Update main.ino
Update main.ino
Arduino
mit
HyDz/ZoomMRT-3B_MIDI_USB
0f81349f69ec936dd74f1454020eff548d90eebd
mainWrite.ino
mainWrite.ino
#include <Wire.h> #include "Adafruit_Trellis.h" #define STATE_UID 0 #define STATE_MSG 1 #define STATE_ACK 2 Adafruit_Trellis matrix0 = Adafruit_Trellis(); Adafruit_TrellisSet trellis = Adafruit_TrellisSet(&matrix0); uint16_t matrixValue; uint8_t writeArduinoState; //TODO uint8_t? boolean isSubmitButtonPressed; ui...
#include <Wire.h> #include "Adafruit_Trellis.h" #define STATE_UID 0 #define STATE_MSG 1 #define STATE_ACK 2 Adafruit_Trellis matrix0 = Adafruit_Trellis(); Adafruit_TrellisSet trellis = Adafruit_TrellisSet(&matrix0); uint16_t matrixValue; uint8_t matrixNibbles[4]; uint8_t writeArduinoState; //TODO uint8_t? boolean...
Add encoding of message
Add encoding of message
Arduino
mit
Lilyheart/CIS126_Final_Project,Lilyheart/CIS126_Final_Project
5c365871c090c11557167d7bccdcbe598b7cb17e
espwifisniff.ino
espwifisniff.ino
#include <stdint.h> #include <stdbool.h> #include <string.h> #include <ctype.h> #include "Arduino.h" #include "ESP8266WiFi.h" extern "C" { #include <user_interface.h> } // maximum number of unique mac addresses to remember #define MAX_MAC 64 static int unique_num = 0; static uint8_t unique_mac[MAX_MAC][6]; // retur...
#include <stdint.h> #include <stdbool.h> #include <string.h> #include <ctype.h> #include "Arduino.h" #include "ESP8266WiFi.h" extern "C" { #include <user_interface.h> } // maximum number of unique mac addresses to remember #define MAX_MAC 64 static int unique_num = 0; static uint8_t unique_mac[MAX_MAC][6]; // retur...
fix off-by-one error
fix off-by-one error
Arduino
mit
bertrik/espwifisniff
4a58153fd5b5cef8688482c6d3d5607296d4dcfc
examples/FixBrickedUID/FixBrickedUID.ino
examples/FixBrickedUID/FixBrickedUID.ino
/* * MFRC522 - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT. * The library file MFRC522.h has a wealth of useful info. Please read it. * The functions are documented in MFRC522.cpp. * * Based on code Dr.Leong ( WWW.B2CQSHOP.COM ) * Created by Miguel Balboa (circuitito.com)...
/* * MFRC522 - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT. * The library file MFRC522.h has a wealth of useful info. Please read it. * The functions are documented in MFRC522.cpp. * * Based on code Dr.Leong ( WWW.B2CQSHOP.COM ) * Created by Miguel Balboa (circuitito.com)...
Update FixBrickedUID.ino
Update FixBrickedUID.ino Updated code to account for serial behavior change in ATMEGA32U4
Arduino
unlicense
juantejedavz/rfid,mirko314/rfid,yaalsn/rfid,prikevs/rfid,miguelbalboa/rfid,CapeSepias/rfid,Rotzbua/rfid,r44947/rfid,tamchau2809/rfid,irhastofa/rfid,mangine/mraa_MFRC522,sophiekovalevsky/rfid,Rotzbua/rfid,northDacoder/rfid,LaloHao/rfid,hramrach/rfid,webdevbrian/rfid,lpr0lpd/rfid,smallkid/rfid,1upon0/rfid
8c3530b5c0dcf7aecd843a1e37fbfb96e6eb0a03
teensy_octo.ino
teensy_octo.ino
/** * 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...
/** * 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...
Update button order (replaced & resoldiered all of the buttons, order changed)
Update button order (replaced & resoldiered all of the buttons, order changed)
Arduino
mit
anroots/teensy-moonica
a7891d1eb367079040d497c7e5b1a98f224140c3
brotherKH930_arduino.ino
brotherKH930_arduino.ino
#include "brotherKH930.h" PinSetup pins = kniticV2Pins(); BrotherKH930 brother(pins, onChange, 0); void setup() { Serial.begin(115200); brother.start(); Serial.println("Ready."); for (int i=0; i<200; i++) brother.needle(0, false); } boolean changed = true; void onChange(void* c) { changed = true; } ...
#include "brotherKH930.h" PinSetup pins = kniticV2Pins(); BrotherKH930 brother(pins, onChange, 0); void setup() { Serial.begin(115200); brother.start(); Serial.println("Ready."); for (int i=0; i<200; i++) brother.needle(0, false); } boolean changed = true; void onChange(void* c) { changed = true; } ...
Add flush.
Add flush.
Arduino
apache-2.0
msiegenthaler/brotherKH930_arduino
72810a88e1f71b1c86836650cd998e90b7e162ad
webserver.ino
webserver.ino
//http://www.esp8266.com/viewtopic.php?f=29&t=2153 //holds the current upload File fsUploadFile; const char textplainHEADER[] PROGMEM = "text/plain"; const char texthtmlHEADER[] PROGMEM = "text/html"; void setupWebServer() { //////////////////////////////////////////////////////////////////////////////////// //...
//http://www.esp8266.com/viewtopic.php?f=29&t=2153 //holds the current upload File fsUploadFile; const char textplainHEADER[] PROGMEM = "text/plain"; const char texthtmlHEADER[] PROGMEM = "text/html"; void setupWebServer() { //////////////////////////////////////////////////////////////////////////////////// //...
Update the channels after changing the PWMfrequency.
Update the channels after changing the PWMfrequency.
Arduino
mit
CelliesProjects/aquacontrol2,CelliesProjects/aquacontrol2
ac6791ef367a3f71d66c1da3a9f5716c688097d8
Dremelfuge.ino
Dremelfuge.ino
/* Dremelfuge ETC Project 2015-2016 Adapted from Orlov's Instructable on Arduino Powered Centrifuge Compiled and Edited by: Albert Ju, Fu Yang Chin Uploaded to an Arduino UNO, with MCU ATmega328P-PU. Arduino UNO specs: https://www.arduino.cc/en/Main/ArduinoBoardUno ATmega328P-PU datasheet: http://www.atmel.com/Images...
/* Dremelfuge ETC Project 2015-2016 Adapted from Orlov's Instructable on Arduino Powered Centrifuge Compiled and Edited by: Albert Ju, Fu Yang Chin Uploaded to an Arduino UNO, with MCU ATmega328P-PU. Arduino UNO specs: https://www.arduino.cc/en/Main/ArduinoBoardUno ATmega328P-PU datasheet: http://www.atmel.com/Images...
Change ___ to --- in UI
Change ___ to --- in UI
Arduino
mit
karinassuni/dremelfuge
1a69d46646c401847e747195fdb794444f83cab8
PushStart.ino
PushStart.ino
/* Push Start Arduino-based Keyless Ignition for 97-01 Toyota Camry (XV20) Designed by Kevin Abraham */ #include <AnalogTouch.h> #define DEBUG 0 #define BUTTON_PRESS_THRESHOLD 500 #define pinCap A4 #define pinACC 2 #define pinIG1 4 #define pinIG2 7 #define pinST2 8 // Slow down the automat...
/* Push Start Arduino-based Keyless Ignition for 97-01 Toyota Camry (XV20) Designed by Kevin Abraham */ #include <AnalogTouch.h> #define DEBUG 0 #define BUTTON_PRESS_THRESHOLD 500 #define pinCap A4 #define pinACC 2 #define pinIG1 4 #define pinIG2 7 #define pinST2 8 #define pinLed 10 // Sl...
Add support for LED indicator
Add support for LED indicator
Arduino
mit
abraha2d/PushStart
ef9f5f275f12c1f71b8c677f3c900742709bcf49
client/client.ino
client/client.ino
#include <SoftwareSerial.h> #include <IRremote.h> #include <string.h> #define DEBUG #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 ...
#include <SoftwareSerial.h> #include <IRremote.h> #include <string.h> #define DEBUG #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 ...
add filter for larger packet in IDLE
add filter for larger packet in IDLE
Arduino
bsd-2-clause
nebgnahz/HOBS,nebgnahz/HOBS,nebgnahz/HOBS
64be293327a22d6f6e865ae133934523bc5194a3
KineticLicht.ino
KineticLicht.ino
#include <Adafruit_MotorShield.h> #include "Adafruit_TLC5947.h" #include "KeyFrameStepper.h" #include "KeyFrameRgbLED.h" #include <AccelStepper.h> // two stepper motors one on each port Adafruit_MotorShield AFMS_a(0x60); Adafruit_MotorShield AFMS_b(0x61); Adafruit_StepperMotor *motor1 = AFMS_a.getStepper(200, 1)...
#include <Adafruit_MotorShield.h> #include "Adafruit_TLC5947.h" #include "KeyFrameStepper.h" #include "KeyFrameRgbLED.h" #include <AccelStepper.h> // two stepper motors one on each port Adafruit_MotorShield AFMS_a = Adafruit_MotorShield(0x60); Adafruit_MotorShield AFMS_b = Adafruit_MotorShield(0x61); /* Adafruit_...
correct accelstepper stuff
correct accelstepper stuff
Arduino
mit
gmoehler/KineticLicht,gmoehler/KineticLicht
c614c32f2375af81491b4a37d69de3bdde26b701
BlinkenScreen.ino
BlinkenScreen.ino
#include <SPI.h> SPISettings spi_settings(2000, LSBFIRST, SPI_MODE0); #define BUFFER_SIZE 6 // Size of screen frame buffer #define BUTTON_PIN 7 // Analog pin 7 #define BUTTON_THRESHOLD 5 // How many cycles before button considered pressed // Buttons #define BIDLE 10 // Nothing pressed #define B1 5 #define B2 4...
#include <SPI.h> SPISettings spi_settings(2000, LSBFIRST, SPI_MODE0); #define BUFFER_SIZE 6 // Size of screen frame buffer #define BUTTON_PIN 7 // Analog pin 7 #define BUTTON_THRESHOLD 5 // How many cycles before button considered pressed // Buttons #define BIDLE 10 // Nothing pressed #define B1 5 #define B2 4...
Add new animation, change delay loop
Add new animation, change delay loop
Arduino
bsd-2-clause
RandomInsano/BlinkenScreen
170a1bed3131704f7cf864f6ec1863360d768e55
FastLED/Arduino_Ethernet.ino
FastLED/Arduino_Ethernet.ino
#include "FastLED.h"
/* CheerLights! CheerLights Channel --> Arduino Ethernet --> FastLED This sketch subscribes to the CheerLights ThingSpeak Channel and relays the last color from the Internet to a FastLED compatible RGB Light like Neopixels or RGB-123 light panels. This sketch uses DHCP to obtain an IP address automatically an...
Update FastLED sketch
Update FastLED sketch
Arduino
bsd-2-clause
nothans/CheerLights
39ae9fee0d627cc5acf038b78d9d569a4aaa04e8
arduino/main.ino
arduino/main.ino
#include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif #define PIN 6 // Parameter 1 = number of pixels in strip // Parameter 2 = Arduino pin number (most are valid) // Parameter 3 = pixel type flags, add together as needed: // NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LED...
#include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif #define PIN 6 #define PINCOUNT 60 // Parameter 1 = number of pixels in strip // Parameter 2 = Arduino pin number (most are valid) // Parameter 3 = pixel type flags, add together as needed: // NEO_KHZ800 800 KHz bitstream (most NeoPixel p...
Remove some of the strandtest code
Remove some of the strandtest code
Arduino
mit
ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight,ambientsound/wirelight
0f2c0f13678fe5b5c259032583f6d099ad85dca6
OONTZ_Step_Seq/OONTZ_Step_Seq.ino
OONTZ_Step_Seq/OONTZ_Step_Seq.ino
// Simple Trellis MIDI step sequencer. // Requires a PJRC Teensy or an Arduino Leonardo w/TeeOnArdu config, // software on host computer for synth or to route to other devices. #include <Wire.h> #include <Adafruit_Trellis.h> #define LED 13 // Pin for heartbeat LED (shows code is working) // The TrellisSet for this e...
// Simple Trellis MIDI step sequencer. // Requires a PJRC Teensy or an Arduino Leonardo w/TeeOnArdu config, // software on host computer for synth or to route to other devices. #include <Wire.h> #include <Adafruit_Trellis.h> #define LED 13 // Pin for heartbeat LED (shows code is working) // The TrellisSet for this e...
Reduce RAM usage of step sequencer
Reduce RAM usage of step sequencer
Arduino
bsd-3-clause
adafruit/Adafruit_UNTZtrument,plaidpants/Adafruit_UNTZtrument
291860f1cad968f92c30849b034fc3a539fa79ca
DroidMain/Sensors.ino
DroidMain/Sensors.ino
/* * Sensor reading and json publish functions * */ // Read temperature (C) and humidity values from DHT11 and publish json void JsonReportSensorDHT() { // Create Json and publish String jsonDHT = String("{\"sensor\":\"temp_hum\",\"time\":\"" + TimeStr + "\",\"data\":[" + dht.readTemperature() + "," + dh...
/* * Sensor reading and json publish functions * */ // Read temperature (C) and humidity values from DHT11 and publish json void JsonReportSensorDHT() { // Create Json and publish String jsonDHT = String("{\"sensor\":\"temp_hum\",\"time\":\"" + TimeStr + "\",\"data\":[" + dht.readTemperature() + "," + dht...
Update Sensors.ino
Update Sensors.ino
Arduino
mit
TampereTC/IOT-Rally-2016-MQTT,TampereTC/IOT-Rally-2016-MQTT
a07135953d243ad2fc7869da66244bdd9ec70006
examples/DoorSensor/DoorSensor.ino
examples/DoorSensor/DoorSensor.ino
#include <Homie.h> const int doorPin = 16; Bounce debouncer = Bounce(); // Bounce is built into Homie, so you can use it without including it first unsigned long lastDoorValue = -1; HomieNode doorNode("door", "door"); void loopHandler() { int doorValue = debouncer.read(); if (doorValue != lastDoorValue) { ...
#include <Homie.h> const int PIN_DOOR = 16; Bounce debouncer = Bounce(); // Bounce is built into Homie, so you can use it without including it first unsigned long lastDoorValue = -1; HomieNode doorNode("door", "door"); void loopHandler() { int doorValue = debouncer.read(); if (doorValue != lastDoorValue) { ...
Fix caps in constant example
Fix caps in constant example
Arduino
mit
euphi/homie-esp8266,marvinroger/homie-esp8266,marvinroger/homie-esp8266,euphi/homie-esp8266,marvinroger/homie-esp8266,euphi/homie-esp8266,marvinroger/homie-esp8266,euphi/homie-esp8266
9bd49cb2c16cdfe38341d2cc39e56401f6958138
Bluetooth/nRF51822/Arduino/BLE-Buzzy-Pixel/BLE-Buzzy-Pixel.ino
Bluetooth/nRF51822/Arduino/BLE-Buzzy-Pixel/BLE-Buzzy-Pixel.ino
// Import libraries (BLEPeripheral depends on SPI) #include <SPI.h> #include <BLEPeripheral.h> #include <Adafruit_NeoPixel.h> // Parameter 1 = number of pixels in strip // Parameter 2 = Arduino pin number (most are valid) // Parameter 3 = pixel type flags, add together as needed: // NEO_KHZ800 800 KHz bitstream (mo...
// Import libraries (BLEPeripheral depends on SPI) #include <SPI.h> #include <BLEPeripheral.h> #include <Adafruit_NeoPixel.h> // Parameter 1 = number of pixels in strip // Parameter 2 = Arduino pin number (most are valid) // Parameter 3 = pixel type flags, add together as needed: // NEO_KHZ800 800 KHz bitstream (mo...
Set status by pressing first/home LED
Set status by pressing first/home LED
Arduino
mpl-2.0
kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot,kdsolo/project_haiku.iot
919e1579eb0234fba8d0f6b3e0e38cb2d90c7fcd
resilient-network.ino
resilient-network.ino
// resilient network #include <SoftwareSerialWithHalfDuplex.h> // which one? #include "Arduino.h" #include "timers.h" #define isSource false // ToDo: control through jumper #define leds1pin 11 #define leds2pin 3 #define button1pin 2 // not used #define button2pin 4 #define SERIAL_DEBUG true #define ENERGY 0 #defin...
// resilient network #include <SoftwareSerialWithHalfDuplex.h> // which one? #include "Arduino.h" #include "timers.h" #define isSource false // ToDo: control through jumper, use button2pin? #define leds1pin 11 #define leds2pin 3 #define button1pin 2 // not used #define button2pin 4 #define SERIAL_DEBUG true #defin...
comment update
comment update
Arduino
mit
knopjesmuseum/resilient-network,knopjesmuseum/resilient-network
87deedbc212b18eb2800defb2c8cc3b74a954d87
module/module.ino
module/module.ino
#include <SoftwareSerial.h> #include "RFID.h" SoftwareSerial RFID(RFID_RX, RFID_TX); SoftwareSerial WIFI(WIFI_RX, WIFI_TX); void setup() { // Set up pins pinMode(ledPin, OUTPUT); pinMode(driverX, INPUT); pinMode(driverY, INPUT); pinMode(wifi_rst, OUTPUT); pinMode(speakerPin, OUTPUT); // Set up serial communic...
#include <SoftwareSerial.h> #include "RFID.h" SoftwareSerial RFID(RFID_RX, RFID_TX); SoftwareSerial WIFI(WIFI_RX, WIFI_TX); void setup() { // Set up pins pinMode(ledPin, OUTPUT); pinMode(driverX, INPUT); pinMode(driverY, INPUT); pinMode(wifi_rst, OUTPUT); pinMode(speakerPin, OUTPUT); // Set up serial communic...
Clean up
Clean up
Arduino
mit
MakerLabsVan/ACM,MakerLabsVan/ACM,MakerLabsVan/ACM,MakerLabsVan/ACM
53a610ba6bc13c603eb81af4a742d876d1579d95
brotherKH930_arduino.ino
brotherKH930_arduino.ino
#include "brotherKH930.h" PinSetup pins = kniticV2Pins(); BrotherKH930 brother(pins, onChange, 0); void setup() { Serial.begin(115200); brother.start(); Serial.println("Ready."); for (int i=0; i<200; i++) brother.needle(0, false); } boolean changed = true; void onChange(void* c) { changed = true; } ...
#include "brotherKH930.h" PinSetup pins = kniticV2Pins(); BrotherKH930 brother(pins, onChange, 0); void setup() { Serial.begin(115200); brother.start(); Serial.println("Ready."); for (int i=0; i<200; i++) brother.needle(0, false); } boolean changed = true; void onChange(void* c) { changed = true; } ...
Fix parsing of patterns.
Fix parsing of patterns.
Arduino
apache-2.0
msiegenthaler/brotherKH930_arduino
6898888c96525519a192bf1ef92e731eea09147a
testing/arduino/servo-radar2.ino
testing/arduino/servo-radar2.ino
#include "Arduino.h" #include "Servo.h" #include "NewPing.h" // Base Date const uint16_t initialDelay = 2500; // Ultrasonic Sensor const uint8_t trigPin = 9; const uint8_t echoPin = 10; const uint16_t maxDistance = 300; NewPing sonar(trigPin, echoPin, maxDistance); long rangeData_Left[15]; long average_Left; long ...
#include "Arduino.h" #include "Servo.h" #include "NewPing.h" // Base Date const uint16_t initialDelay = 2500; // Ultrasonic Sensor const uint8_t trigPin = 9; const uint8_t echoPin = 10; const uint16_t maxDistance = 300; NewPing sonar(trigPin, echoPin, maxDistance); long rangeData_Left[15]; long average_Left; long r...
improve servo range and delay
improve servo range and delay
Arduino
apache-2.0
MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI
c358d9b1eb41dce85aaac152a88e8b7c4879932f
software/Arduino/ServoController/ServoController.ino
software/Arduino/ServoController/ServoController.ino
/********************************************************************** * Arduino Uno Program - Controls Servos and Reads IMU * * Project: Eclipse Tracking (2017) * * Version: 2.0 (4/15/2017) * * Max Bowman / Jeremy Seeman / ...
/********************************************************************** * Arduino Uno Program - Controls Servos and Reads IMU * * Project: Eclipse Tracking (2017) * * Version: 2.0 (4/15/2017) * * Max Bowman / Jeremy Seeman / ...
Update ServoController.ino
Update ServoController.ino
Arduino
mit
AdlerFarHorizons/eclipse-tracking,AdlerFarHorizons/eclipse-tracking,AdlerFarHorizons/eclipse-tracking,AdlerFarHorizons/eclipse-tracking
ee8e8f393073e8a0e87a19fc576331982412c809
examples/etherEventQueueExample2/etherEventQueueExample2.ino
examples/etherEventQueueExample2/etherEventQueueExample2.ino
//Example script for the EtherEventQueue library. Demonstrates advanced features. //Periodically queues a test event, sends queued events, receives events and prints them to the serial monitor. #include <SPI.h> //these libraries are required by EtherEvent #include "Ethernet.h" #include "MD5.h" //#include "Entropy.h" ...
//Example script for the EtherEventQueue library. Demonstrates advanced features. //Periodically queues a test event, sends queued events, receives events and prints them to the serial monitor. #include <SPI.h> //these libraries are required by EtherEvent #include "Ethernet.h" #include "MD5.h" //#include "Entropy.h" ...
Correct type for nodeTimeoutDuration
Correct type for nodeTimeoutDuration
Arduino
mit
per1234/EtherEventQueue
c5f3f85f76d4c880899de058a3bb60adc0baccf6
crypt-gears/gear_arduino/gear_arduino.ino
crypt-gears/gear_arduino/gear_arduino.ino
// hard-coded pin numbers for input/output int gear_connections[3][12] = {{ 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, 33, 34, 35, 36, 37}}; ...
// hard-coded pin numbers for input/output int gear_connections[3][12] = {{ 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, 33, 34, 35, 36, 37}}; ...
Add logic for when we win
Add logic for when we win
Arduino
mit
bhomberg/heterodyne,bhomberg/heterodyne,bhomberg/heterodyne,bhomberg/heterodyne,bhomberg/heterodyne
83d838b4211671ce3b14cf8c317db2284c3eb7b1
arduino/magsensor/magsensor.ino
arduino/magsensor/magsensor.ino
#include <EEPROM.h> #include <RCSwitch.h> #include <LowPower.h> #include "limits.h" #include "protocol.h" #include "sensor_types.h" RCSwitch rfDevice = RCSwitch(); int SERIAL_COMMUNICATION_SPEED = 9600; // How long do we sleep. The longer, the better for the battery but the // resolution of our switch will suffer. //...
#include <EEPROM.h> #include <RCSwitch.h> #include <LowPower.h> #include "limits.h" #include "protocol.h" #include "sensor_types.h" RCSwitch rfDevice = RCSwitch(); int SERIAL_COMMUNICATION_SPEED = 9600; // How long do we sleep. The longer, the better for the battery but the // resolution of our switch will suffer. //...
Fix typo.
Fix typo.
Arduino
apache-2.0
jdmichaud/domos,jdmichaud/domos,jdmichaud/domos,jdmichaud/domos,jdmichaud/domos,jdmichaud/domos
dd5c1a72c404f36bcc311c4bbc458b706e328da8
r2d2/arduino/arduino.ino
r2d2/arduino/arduino.ino
#include "Sound.h" int speakerPin = 9; // speaker connected to digital pin 9 Sound sound(speakerPin); void setup() { Serial.begin(9600); } void loop() { sound.laugh(); delay(3000); };
#include <NewPing.h> #include "Sound.h" int speakerPin = 9; // speaker connected to digital pin 9 Sound sound(speakerPin); NewPing sonar(12, 11, 200); void setup() { Serial.begin(9600); } void loop() { sound.laugh(); delay(3000); };
use pin library
use pin library
Arduino
mit
chloeleichen/cbot,chloeleichen/cbot,chloeleichen/cbot
762bd601e95f0e4378669da1e982c005bb1463fe
src/WiFiSensor/measurements.ino
src/WiFiSensor/measurements.ino
void dhtmeasure(){ //struct measurements tmp; bool dhtOK = false; int retries = 0; if(dht1d5){ while( !dhtOK){ //Loop to wait for good DHT value dhtOK = true; //assume it is going to work dht.read(); lastmeasurement.humidity = dht.readHumidity(); if( isnan(lastmeasurement.humidity)){ dhtOK = false; ...
void dhtmeasure(){ //struct measurements tmp; bool dhtOK = false; int retries = 0; if(dht1d5){ while( !dhtOK){ //Loop to wait for good DHT value dhtOK = true; //assume it is going to work dht.read(); lastmeasurement.humidity = dht.readHumidity(); if( isnan(lastmeasurement.humidity)){ dhtOK = false; ...
Fix 7 0.0.7
Fix 7 0.0.7 Removed the voltage corrector to establish the adjustment needed.
Arduino
apache-2.0
brickmen/WiFiSensor,brickmen/WiFiSensor
be4b7f2dd9d63cd443be13cd9a97f5066baa1222
src/homie-sonoff-touch.ino
src/homie-sonoff-touch.ino
#include <ClickButton.h> #include <Homie.h> #define FW_NAME "homie-sonoff-touch" #define FW_VERSION "2.0.2" /* Magic sequence for Autodetectable Binary Upload */ const char *__FLAGGED_FW_NAME = "\xbf\x84\xe4\x13\x54" FW_NAME "\x93\x44\x6b\xa7\x75"; const char *__FLAGGED_FW_VERSION = "\x6a\x3f\x3e\x0e\xe1" FW_VERSION ...
#include <ClickButton.h> #include <Homie.h> #define FW_NAME "homie-sonoff-touch" #define FW_VERSION "2.0.3" /* Magic sequence for Autodetectable Binary Upload */ const char *__FLAGGED_FW_NAME = "\xbf\x84\xe4\x13\x54" FW_NAME "\x93\x44\x6b\xa7\x75"; const char *__FLAGGED_FW_VERSION = "\x6a\x3f\x3e\x0e\xe1" FW_VERSION ...
Reboot if there's no connection for over 5 minutes.
Reboot if there's no connection for over 5 minutes.
Arduino
mit
kylegordon/homie-sonoff-touch
bde922c228bf62a78552a348acd231bb04c8163c
examples/PlayDRO/PlayDRO.ino
examples/PlayDRO/PlayDRO.ino
/** * This is an example sketch from the OPL2 library for Arduino. It plays a DRO audio file from SD card using the YM3812 * audio chip. * * OPL2 board is connedted as follows: * Pin 8 - Reset * Pin 9 - A0 * Pin 10 - Latch * Pin 11 - Data (Use pin 51 for Arduino Mega) * Pin 13 - Shift (Use pin 52 for ...
/** * This is an example sketch from the OPL2 library for Arduino. It plays a DRO audio file from SD card using the YM3812 * audio chip. * * OPL2 board is connedted as follows: * Pin 8 - Reset * Pin 9 - A0 * Pin 10 - Latch * Pin 11 - Data (Use pin 51 for Arduino Mega) * Pin 13 - Shift (Use pin 52 for ...
Update PlayDRO.ino
Update PlayDRO.ino
Arduino
mit
DhrBaksteen/ArduinoOPL2,DhrBaksteen/ArduinoOPL2,DhrBaksteen/ArduinoOPL2
8c164c4060077e5c75d8628b290af727ae691c75
FastLED/Beacon.ino
FastLED/Beacon.ino
#include "captouch.h" #include "FastLED.h" #define RING_PIN 3 #define RING_LEDS 64 CRGB ringLeds[RING_LEDS]; #define STRIP_PIN 3 #define STRIP_LEDS 64 CRGB stripLeds[STRIP_LEDS]; CRGB red = CHSV( 0, 0, 0); CRGB green = CHSV( 85, 0, 0); CRGB blue = CHSV( 150, 0, 0); CRGB beaconColor = CHSV( 0, 0, 0); u...
#include "captouch.h" #include "FastLED.h" #define RING_PIN 3 #define RING_LEDS 64 CRGB ringLeds[RING_LEDS]; #define STRIP_PIN 3 #define STRIP_LEDS 64 CRGB stripLeds[STRIP_LEDS]; CRGB red = CHSV( 0, 0, 0); CRGB green = CHSV( 85, 0, 0); CRGB blue = CHSV( 150, 0, 0); CRGB beaconColor = CHSV( 0, 0, 0); CR...
Update Beacon.ino
Update Beacon.ino
Arduino
apache-2.0
Blaze420McYoloSwag/LiteHaus
bdf4cf2c449237abcfd14fafaca04c292cab5860
examples/ping.ino
examples/ping.ino
/* * SnowPlow Arduino Tracker: Ping Example * * @description Simple ping example for SnowPlow Arduino Tracker * @version 0.0.1 * @author Alex Dean * @copyright SnowPlow Analytics Ltd * @license Apache License Version 2.0 * * Copyright (c) 2012 SnowPlow Analytics Ltd. All rights reserved. * * ...
/* * SnowPlow Arduino Tracker: Ping Example * * @description Simple ping example for SnowPlow Arduino Tracker * @version 0.0.1 * @author Alex Dean * @copyright SnowPlow Analytics Ltd * @license Apache License Version 2.0 * * Copyright (c) 2012 SnowPlow Analytics Ltd. All rights reserved. * * ...
Switch on logging
Switch on logging
Arduino
apache-2.0
snowplow/snowplow-arduino-tracker,snowplow/snowplow-arduino-tracker,MicBrain/snowplow-arduino-tracker
c4807c7e473dc2431ca068970a575c191614e37c
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...
Remove protocol from get/post requests
Remove protocol from get/post requests
Arduino
mit
kirberich/barf,kirberich/barf
ca1eb956d156c8722ff23e41bfe5449558e6323d
code/ArduCAM_online_example/ArduCAM_online_example.ino
code/ArduCAM_online_example/ArduCAM_online_example.ino
// ArduCAM demo (C)2013 Lee // web: http://www.ArduCAM.com // This program is a demo of how to use most of the functions // of the library with a supported camera modules. // // This demo was made for Omnivision OV2640 sensor. // 1. Set the sensor to JPEG output mode. // 2. Capture and buffer the image to FIFO. // 3. ...
// ArduCAM demo (C)2013 Lee // web: http://www.ArduCAM.com // This program is a demo of how to use most of the functions // of the library with a supported camera modules. // // This demo was made for Omnivision OV2640 sensor. // 1. Set the sensor to JPEG output mode. // 2. Capture and buffer the image to FIFO. // 3. ...
Switch .ino to reference local libary, not global
Switch .ino to reference local libary, not global
Arduino
mit
timkrentz/SunTracker,timkrentz/SunTracker,timkrentz/SunTracker,timkrentz/SunTracker,timkrentz/SunTracker,timkrentz/SunTracker,timkrentz/SunTracker,timkrentz/SunTracker
b7da415d6f1376c2a3b0118bc59eb6911503e1e6
build/shared/examples/02.Digital/Debounce/Debounce.ino
build/shared/examples/02.Digital/Debounce/Debounce.ino
/* Debounce Each time the input pin goes from LOW to HIGH (e.g. because of a push-button press), the output pin is toggled from LOW to HIGH or HIGH to LOW. There's a minimum delay between toggles to debounce the circuit (i.e. to ignore noise). The circuit: * LED attached from pin 13 to ground * pushbutt...
/* Debounce Each time the input pin goes from LOW to HIGH (e.g. because of a push-button press), the output pin is toggled from LOW to HIGH or HIGH to LOW. There's a minimum delay between toggles to debounce the circuit (i.e. to ignore noise). The circuit: * LED attached from pin 13 to ground * pushbutt...
Fix Debounce example to work as described
Fix Debounce example to work as described This alters the debounce example code to toggle the LED rather than just use the button state to set the LED state. Fixes #293
Arduino
lgpl-2.1
cscenter/Arduino,NaSymbol/Arduino,plinioseniore/Arduino,fungxu/Arduino,toddtreece/esp8266-Arduino,PaoloP74/Arduino,rodibot/Arduino,NicoHood/Arduino,rodibot/Arduino,onovy/Arduino,bugobliterator/BUAGI,ThoughtWorksIoTGurgaon/Arduino,ThoughtWorksIoTGurgaon/Arduino,bigjosh/Arduino,raimohanska/Arduino,stevemarple/Arduino-org...
10ebf7f083a4337bd44eac3db03d2c23ad0a48a7
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 5 // Parameter 1 = number of pixels in strip // Parameter 2 = pin number (most are valid) // Parameter...
#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 5 // Parameter 1 = number of pixels in strip // Parameter 2 = pin number (most are valid) // Parameter...
add command 'b' (brightness min value)
add command 'b' (brightness min value)
Arduino
mit
karappo/ptw-wheel
a6937ed76be70a8d1007ca59b1a5b85087990c02
sketches/control/single_bench/single_bench.ino
sketches/control/single_bench/single_bench.ino
/** * Control the BlinkMs for a single bench with one painting. Fire off * the appropriate MaxMs at the correct intervals during the daily * operational time. * * The MaxMs that actually control the light pattern for one group * of LED clusters (Blasters) are preloaded with their light scripts. * The MaxMs are c...
/** * Control the BlinkMs for a single bench with one painting. Fire off * the appropriate MaxMs at the correct intervals during the daily * operational time. * * The MaxMs that actually control the light pattern for one group * of LED clusters (Blasters) are preloaded with their light scripts. * The MaxMs are c...
Set wake periods to Orcas Center 9/2015 schedule
Set wake periods to Orcas Center 9/2015 schedule
Arduino
mit
wmadill/grant-lighting,wmadill/grant-lighting
f1c32523c13401878e9bc87b9d035af6e421b9cc
Blink2/Blink2.ino
Blink2/Blink2.ino
/* Blink 2 Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: void setup() { // initialize the digit...
/* Blink 2 Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. (but actually, we'll soon be putting most of this out there under the Apache Software Licene) */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = ...
Comment about license
Comment about license
Arduino
apache-2.0
liamstar97/DIY_Dalek,liamstar97/DIY_Dalek,liamstar97/DIY_Dalek
bbbdd16f3836784be1f852ebe1f2ec11e53c178a
pt_ex/pt_ex4_led_individually.ino
pt_ex/pt_ex4_led_individually.ino
#define PT_USE_TIMER #define PT_USE_SEM #include "pt.h" static struct pt thread1, thread2, thread3, thread4, thread5, thread6, thread7, thread8; int state1, state2, state3, state4, state5, state6, state7; void recive(); void setup() { //Set Hardware Serial.begin(9600); pinMode(2, OUTPUT); pinM...
#define PT_USE_TIMER #define PT_USE_SEM #include "pt.h" static struct pt thread1, thread2, thread3, thread4, thread5, thread6, thread7, thread8; int state1, state2, state3, state4, state5, state6, state7; void recive(); void setup() { //Set Hardware Serial.begin(9600); pinMode(2, OUTPUT); pinM...
Update pt_ex4_led_individually.ino
Update pt_ex4_led_individually.ino
Arduino
mit
billhhh/bill_ProtoThreads_arduino,billhhh/bill_ProtoThreads_arduino,billhhh/bill_ProtoThreads_arduino
b5f87ee810c5d91bab8a247345e1d7bac57ecacc
main.ino
main.ino
#include <Adafruit_GFX.h> #include <Adafruit_PCD8544.h> #include <SoftwareSerial.h> #include "Sds011.h" static const int PM25_NORM=25; static const int PM10_NORM=40; // RX, TX SoftwareSerial mySerial(8,9); // SCLK, DIN, DC, CS, RST /* Adafruit_PCD8544 display = Adafruit_PCD8544(A5, A4, A3, A2, A1); */ Adafruit_PCD85...
#include <Adafruit_GFX.h> #include <Adafruit_PCD8544.h> #include <SoftwareSerial.h> #include "Sds011.h" static const int PM25_NORM=25; static const int PM10_NORM=40; // RX, TX SoftwareSerial mySerial(8,9); // SCLK, DIN, DC, CS, RST /* Adafruit_PCD8544 display = Adafruit_PCD8544(A5, A4, A3, A2, A1); */ Adafruit_PCD85...
Move display configuration to setup().
Move display configuration to setup().
Arduino
mit
kadamski/arduino_sds011,kadamski/arduino_sds011,kadamski/arduino_sds011
88264e199807e84eb0143cd433bb2599d6577e2c
examples/CTCSS/CTCSS.ino
examples/CTCSS/CTCSS.ino
/* Hamshield * Example: CTCSS * This is a simple example to demonstrate HamShield receive * and transmit functionality using CTCSS. The HamShield will * have audio output muted until it receives the correct * sub-audible tone. It does this by polling a tone detection * flag on the HamShield, but it's also possibl...
/* Hamshield * Example: CTCSS * This is a simple example to demonstrate HamShield receive * and transmit functionality using CTCSS. The HamShield will * have audio output muted until it receives the correct * sub-audible tone. It does this by polling a tone detection * flag on the HamShield, but it's also possibl...
fix mute in ctcss example
fix mute in ctcss example
Arduino
agpl-3.0
EnhancedRadioDevices/HamShield,EnhancedRadioDevices/HamShield
bbacdc4bb3ec0c4cd1f2561eca326b2618b31f03
examples/Sandbox/CosaNEXAreceiver/CosaNEXAreceiver.ino
examples/Sandbox/CosaNEXAreceiver/CosaNEXAreceiver.ino
/** * @file CosaNEXAreceiver.ino * @version 1.0 * * @section License * Copyright (C) 2013, 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...
/** * @file CosaNEXAreceiver.ino * @version 1.0 * * @section License * Copyright (C) 2013, 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...
Prepare NEXA example for ATtiny.
Prepare NEXA example for ATtiny.
Arduino
lgpl-2.1
dansut/Cosa,kc9jud/Cosa,SinishaDjukic/Meshwork,mikaelpatel/Cosa,SinishaDjukic/Meshwork,kc9jud/Cosa,mikaelpatel/Cosa,rrobinet/Cosa,jeditekunum/Cosa,jeditekunum/Cosa,rrobinet/Cosa,dansut/Cosa,SinishaDjukic/Meshwork,rrobinet/Cosa,SinishaDjukic/Meshwork,jeditekunum/Cosa,mikaelpatel/Cosa,dansut/Cosa,jeditekunum/Cosa,dansut/...
5c0c1ae3f499b216c31d04fb9cebe72c145bac8a
WeatherSensor_rev2/WeatherSensor_rev2.ino
WeatherSensor_rev2/WeatherSensor_rev2.ino
#include <avr/sleep.h> #include <avr/power.h> #include <avr/wdt.h> #include <avr/io.h> #include <avr/interrupt.h> #include <Wire.h> #include "Adafruit_Si7021.h" #include "SparkFunMPL3115A2.h" //Pressure sensor - Search "SparkFun MPL3115" and install from Library Manager #define WDTCR |= _BV(WDIE) Adafruit_Si7021 sen...
#include <avr/sleep.h> #include <avr/power.h> #include <avr/wdt.h> #include <avr/io.h> #include <avr/interrupt.h> #include <Wire.h> #include "Adafruit_Si7021.h" #include "SparkFunMPL3115A2.h" //Pressure sensor - Search "SparkFun MPL3115" and install from Library Manager #define WDTCR |= _BV(WDIE) Adafruit_Si7021 sen...
add xbee sleep
add xbee sleep Signed-off-by: Robert Nelson <d6c41255011d14bfa93d8562b946ca186cfa0c7b@gmail.com>
Arduino
mit
eewiki/WeatherStation,eewiki/WeatherStation,eewiki/WeatherStation,eewiki/ws_bm_rtc,eewiki/ws_bm_rtc,eewiki/ws_bm_rtc,eewiki/WeatherStation,eewiki/WeatherStation
d524622bffee39841233aaddc6cc4b4192bcb387
RouterReset_Yun/RouterReset_Yun.ino
RouterReset_Yun/RouterReset_Yun.ino
/* Testing an Arduino Yun: light up green or red when internet is on * * 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 checkInternet.py installed in /...
/* Testing an Arduino Yun: light up green or red when internet is on * * 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 checkInternet.py installed in /...
Make blue LED not so bright
Make blue LED not so bright
Arduino
mit
karlduino/RouterReset,karlduino/RouterReset
8e2b4136a2d6b3f3a75911ff07027fa0ef4d70c1
ableton-midi-foot-controller.ino
ableton-midi-foot-controller.ino
#include "Button.h" #include "base64/Base64.h" //#define DEBUG_BUTTONS true byte counter; const byte CLOCK = 248; const byte START = 250; const byte CONTINUE = 251; const byte STOP = 252; // LEDs const byte ledPin = 13; const byte bpmLed = 17; const byte ledPins[] = {10, 11, 12, 14, 15, 16}; const byte bankDownLed =...
#include "Button.h" #include "base64/Base64.h" //#define DEBUG_BUTTONS true byte counter; const byte CLOCK = 248; const byte START = 250; const byte CONTINUE = 251; const byte STOP = 252; // LEDs const byte ledPin = 13; const byte bpmLed = 17; const byte ledPins[] = {10, 11, 12, 14, 15, 16}; const byte bankDownLed =...
Add all buttons array
Add all buttons array
Arduino
apache-2.0
LeovR/ableton-midi-foot-controller,LeovR/amtrac,LeovR/ableton-midi-foot-controller,LeovR/amtrac,LeovR/amtrac,LeovR/amtrac,LeovR/ableton-midi-foot-controller,LeovR/ableton-midi-foot-controller,LeovR/ableton-midi-foot-controller,LeovR/amtrac
c98f90aba03b66285014f8fa0a3bfe64136655d9
arduino/WifiController/WifiController.ino
arduino/WifiController/WifiController.ino
#include <Adafruit_CC3000.h> #include <SPI.h> #include <AFMotor.h> #include <String.h> #include "utility/debug.h" #include "utility/socket.h" // These are the interrupt and control pins #define ADAFRUIT_CC3000_IRQ 3 // MUST be an interrupt pin! // These can be any two pins #define ADAFRUIT_CC3000_VBAT 5 #define AD...
#include <Adafruit_CC3000.h> #include <SPI.h> #include <AFMotor.h> #include <String.h> #include "utility/debug.h" #include "utility/socket.h" // These are the interrupt and control pins #define ADAFRUIT_CC3000_IRQ 3 // MUST be an interrupt pin! // These can be any two pins #define ADAFRUIT_CC3000_VBAT 5 #define AD...
update wifi controller.
update wifi controller.
Arduino
apache-2.0
Neway6655/RemoteCar,Neway6655/RemoteCar
eb70654d9c6b6b03d1f8ed774982b53164cd1484
arduino/beacon433/src/beacon433.ino
arduino/beacon433/src/beacon433.ino
/* * Act as a RF 433 Mhz beacon. * Will first send 01010101 once * Then will send, every second (or more): * 01010101010101010000000000000001 * 01010101010101010000000000000010 * 01010101010101010000000000000011 * etc... */ #include <RCSwitch.h> #define PING_MESSAGE "01010101" int SERIAL_COMMUNICATION_SPEED =...
/* * Act as a RF 433 Mhz beacon. * Will first send 01010101 once * Then will send, every second (or more): * 01010101010101010000000000000001 * 01010101010101010000000000000010 * 01010101010101010000000000000011 * etc... */ #include <RCSwitch.h> #define PING_MESSAGE "01010101" int SERIAL_COMMUNICATION_SPEED =...
Add some comment
Add some comment
Arduino
apache-2.0
jdmichaud/domos,jdmichaud/domos,jdmichaud/domos,jdmichaud/domos,jdmichaud/domos,jdmichaud/domos