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
8e77f3796611af7d4b8f54a4f4adf0435384d672
Arduino/McLighting/version_info.ino
Arduino/McLighting/version_info.ino
/* * 07 May 2018 v 2.1.0 * - Start of versioning v2.1, added version support * - '/esp_status' returns lot more info * * 11 May 2018 v 2.1.1 * - Use ArduinoJSON to send JSON replies * - Add strip.trigger() * * 17 Jun 2018 v 2.1.2 * - Upgrade to ArduinoJSON 6.xx from ArduinoJSON 5.xx * - Added example for s...
/* * 07 May 2018 v 2.1.0 * - Start of versioning v2.1, added version support * - '/esp_status' returns lot more info * * 11 May 2018 v 2.1.1 * - Use ArduinoJSON to send JSON replies * - Add strip.trigger() * * 17 Jun 2018 v 2.1.2 * - Upgrade to ArduinoJSON 6.xx from ArduinoJSON 5.xx * - Added example for s...
Update version_info.ino
Update version_info.ino
Arduino
mit
toblum/McLighting,toblum/McLighting,toblum/McLighting,toblum/McLighting
0ec15ee63daedb617c9959a66ada0f118c3b1b4e
software/arduino/iota-test/z_report.ino
software/arduino/iota-test/z_report.ino
#include <ESP8266HTTPClient.h> boolean reported = false; void report() { Serial.println("Reporting"); updateTemperature(); updateLight(); const char* light_state = ((lastLux > 0) ? "1" : "0"); const char* temp_state = ((lastTemperature > 0) ? "1" : "0"); char temp_value[10]; dtostrf(lastTemperature, 1...
#include <ESP8266HTTPClient.h> boolean reported = false; void report() { Serial.println("Reporting"); updateTemperature(); updateLight(); const char* light_state = ((lastLux > 0) ? "1" : "0"); const char* temp_state = ((lastTemperature > 0) ? "1" : "0"); char temp_value[10]; dtostrf(lastTemperature, 1...
test sketch: fix build
test sketch: fix build
Arduino
mit
topicusonderwijs/iota
086ba3b0bd07d021acbcd4ae2e172fe9c74a316c
src/homie-sonoff-touch.ino
src/homie-sonoff-touch.ino
/* WARNING: untested */ /* Some functional ideas Single, double and triple tap. Single and double tap and hold Single tap = regular on/off Single hold = dim up Double tap = Unknown Double tap and hold = dim down Triple tap = toggle state of onboard relay */ #include <ClickButton.h> #include <Homie.h> #...
/* WARNING: untested */ /* Some functional ideas Single, double and triple tap. Single and double tap and hold Single tap = regular on/off Single hold = dim up Double tap = Unknown Double tap and hold = dim down Triple tap = toggle state of onboard relay */ #include <ClickButton.h> #include <Homie.h> #...
Remove superfluous code
Remove superfluous code
Arduino
mit
kylegordon/homie-sonoff-touch
f00957d832c46050ed17cee132d56df54c4c3c91
arduino/monitor/monitor.ino
arduino/monitor/monitor.ino
/* Totally happy and ultra fluffy ESD safe weather tracker of doom. Copyright (C) 2014 Greg Lincoln. Released under the FreeBSD License. Inspired by Nathan Seidle's WIMP. (https://github.com/sparkfun/Wimp_Weather_Station) */ #include <Wire.h> #include <SoftwareSerial.h> #include <HTU21D.h> #include <SFE_BMP180.h> c...
/* Totally happy and ultra fluffy ESD safe weather tracker of doom. Copyright (C) 2014 Greg Lincoln. Released under the FreeBSD License. Inspired by Nathan Seidle's WIMP. (https://github.com/sparkfun/Wimp_Weather_Station) */ #include <Wire.h> #include <SoftwareSerial.h> #include <HTU21D.h> #include <SFE_BMP180.h> c...
Add voltage monitoring.
Add voltage monitoring.
Arduino
bsd-2-clause
tetious/FluffyWeather,tetious/FluffyWeather,tetious/FluffyWeather
86852182c56088b5a838f5a9a5c80ad01200523d
arduino/monitor/monitor.ino
arduino/monitor/monitor.ino
/* Totally happy and ultra fluffy ESD safe weather tracker of doom. Copyright (C) 2014 Greg Lincoln. Released under the FreeBSD License. Inspired by Nathan Seidle's WIMP. (https://github.com/sparkfun/Wimp_Weather_Station) */ #include <Wire.h> #include <SoftwareSerial.h> #include <HTU21D.h> #include <SFE_BMP180.h> #i...
/* Totally happy and ultra fluffy ESD safe weather tracker of doom. Copyright (C) 2014 Greg Lincoln. Released under the FreeBSD License. Inspired by Nathan Seidle's WIMP. (https://github.com/sparkfun/Wimp_Weather_Station) */ #include <Wire.h> #include <SoftwareSerial.h> #include <HTU21D.h> #include <SFE_BMP180.h> #i...
Fix resistance constants for wind direction based on new board.
Fix resistance constants for wind direction based on new board.
Arduino
bsd-2-clause
tetious/FluffyWeather,tetious/FluffyWeather,tetious/FluffyWeather
b17d9690cc74e347708d25c99361915a5f425da8
GarHAge.ino
GarHAge.ino
/* * GarHAge * aka the Home-Assistant-friendly ESP8266-based MQTT Garage Door Controller * Licensed under the MIT License, Copyright (c) 2017 marthoc */ #include <ESP8266WiFi.h> #include <PubSubClient.h> #include "config.h" // Mapping NodeMCU Ports to Arduino GPIO Pins // Allows use of NodeMCU Port nomenclature...
/* * GarHAge * aka the Home-Assistant-friendly ESP8266-based MQTT Garage Door Controller * Licensed under the MIT License, Copyright (c) 2017 marthoc */ #include <ESP8266WiFi.h> #include <PubSubClient.h> #include "config.h" // Mapping NodeMCU Ports to Arduino GPIO Pins // Allows use of NodeMCU Port nomenclature...
Fix typo
Fix typo Missing two closing "}"
Arduino
mit
marthoc/GarHAge
28cd8bce88853ddbee667150cea625ad6034d954
main/main.ino
main/main.ino
#include <mcp_can.h> #include <mcp_can_dfs.h> #include <global.h> #include <LiquidCrystal.h> #include <math.h> //RS,EN,DB4,DB5,DB6,DB7 LiquidCrystal lcd(14, 3, 4, 5, 6, 7); int brightness = 255; byte fill1[8] = { B10000, B10000, B10000, B10000, B10000, B10000, B10000, B10000 }; byte fill2[8] = { ...
#include <mcp_can.h> #include <mcp_can_dfs.h> #include <global.h> #include <LiquidCrystal.h> #include <math.h> //RS,EN,DB4,DB5,DB6,DB7 LiquidCrystal lcd(14, 3, 4, 5, 6, 7); int brightness = 255; byte fill1[8] = { B10000, B10000, B10000, B10000, B10000, B10000, B10000, B10000 }; byte fill2[8] = { ...
remove unused longLabel
remove unused longLabel
Arduino
apache-2.0
srenner/meguinauge
b31ced4d20595bc128506856b339fe74553cb923
intel_curie/ble_command_service/ble_command_service.ino
intel_curie/ble_command_service/ble_command_service.ino
#include <CurieBLE.h> #define ledPin 3 //Definimos un servicio BLE BLEService servicioBLE_Comandos("db938b80-f010-44b6-8aa9-1835adf9419a"); // create service //Definimos una característica que pueda ser leida o escrita desde una central BLE, con capacidad de 20 bytes por mensaje. BLECharacteristic caracteristicaBLE_C...
#include <CurieBLE.h> #define ledPin 13 //Definimos un servicio BLE BLEService servicioBLE_Comandos("db938b80-f010-44b6-8aa9-1835adf9419a"); // create service //Definimos una característica que pueda ser leida o escrita desde una central BLE, con capacidad de 20 bytes por mensaje. BLECharacteristic caracteristicaBLE_...
correct LED pin to 13
correct LED pin to 13
Arduino
mit
janunezc/robotics,janunezc/robotics,janunezc/robotics,janunezc/robotics
cbb08cd5999de6ef1c8eb89567fb67512d5f2a57
anavi-gas-detector/diy-breathalyzer/diy-breathalyzer.ino
anavi-gas-detector/diy-breathalyzer/diy-breathalyzer.ino
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino // For OLED display #include <U8g2lib.h> U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); // Configure pins const int pinAlarm = 16; const int pinButton = 0; const int pinCustom = 2; const int pinGreen = 13; const int...
/** * "The Breathanalyzer" * * This Arduino sketch is for a fun hobby project for adults: * do it yourselft breathalyzer with Lego parts, MQ-3 gas sensor, * mini OLED I2C SSD1306 display, ANAVI Gas Detector and male to * female jumper wires. * * MQ-3 is not very accurate and needs calibration. This is a * fun ...
Add notes
diy-breathalyzer.ino: Add notes Add notes about the hobby project and MQ-3 calibration. Signed-off-by: Leon Anavi <be92910ae7bb6f58bb9b7c6f845bc30640119592@anavi.org>
Arduino
mit
AnaviTech/anavi-examples,AnaviTech/anavi-examples
f80bfcc9cfbc05638364b22e255d6dad0118afcb
MStation/MStation.ino
MStation/MStation.ino
// // FILE: MStation.ino // AUTHOR: Edgar Cherkasov // VERSION: 0.1 // PURPOSE: Code for DIY meteostation // URL: // // Released to the public domain // #include <dht.h> #include <LiquidCrystal.h> #include <OneWire.h> #define DS18B20_ID 0x28 #define DHT11_PIN 2 #define LED 13 #define DS18B20_TRYOUT 5 #define ...
// // FILE: MStation.ino // AUTHOR: Edgar Cherkasov // VERSION: 0.1.1 // PURPOSE: Code for DIY meteostation // URL: // // Released to the public domain // #include <dht.h> #include <LiquidCrystal.h> #include <OneWire.h> #define DS18B20_ID 0x28 #define DHT11_PIN 2 #define LED 13 #define DS18B20_TRYOUT 5 #defin...
Improve data calculation
Improve data calculation
Arduino
mit
edgar-ch/mstation,edgar-ch/mstation
a780c2cab4a70cab878cad7344198343df961a89
ESP/ESP/ESP.ino
ESP/ESP/ESP.ino
#include "FSM.h" #include "ticker_func.h" #include "wifi_func.h" #include <Wire.h> // Only needed for Arduino 1.6.5 and earlier #include <SSD1306.h> // alias for `#include "SSD1306Wire.h"` const char* ssid = "Spieleserver2"; const char* password = "Gotchawlan"; const char* host = "10.11.12.1"; const int Port = 8888; ...
#include "FSM.h" #include "ticker_func.h" #include "wifi_func.h" #include <Wire.h> // Only needed for Arduino 1.6.5 and earlier #include <SSD1306.h> // alias for `#include "SSD1306Wire.h"` const char* ssid = "Spieleserver2"; const char* password = "Gotchawlan"; const char* host = "10.11.12.1"; const int Port = 8888; ...
test commit
test commit
Arduino
mit
maxmr/Projekt-KT,maxmr/Projekt-KT
9f3f29a95c8d071b1048177052ecb56a36fa05a8
arduino/walt/walt.ino
arduino/walt/walt.ino
/* * Copyright (C) 2015 The Android Open Source Project * * 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 app...
/* * Copyright (C) 2015 The Android Open Source Project * * 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 app...
Use the LEDs present on r0.7 PCB
Use the LEDs present on r0.7 PCB Also clean up some of the old defines.
Arduino
apache-2.0
google/walt,google/walt,google/walt,google/walt
9bb7382de874d9d1a68655870fb4d60e01ed9c8b
sketch_NetLCD/sketch_NetLCD.ino
sketch_NetLCD/sketch_NetLCD.ino
#include "SPI.h" #include "Adafruit_GFX.h" #include "Adafruit_ILI9341.h" #include "Humblesoft_ILI9341.h" #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <ESP8266mDNS.h> #include "conf.h" #include "netLcd.h" IMPORT_BIN("fontx/ILGH16XB.FNT", font_h); IMPORT_BIN("fontx/ILGZ16XB.FN...
#include <SPI.h> #include <Adafruit_GFX.h> // https://github.com/adafruit/Adafruit-GFX-Library #include <Adafruit_ILI9341.h> // https://github.com/adafruit/Adafruit_ILI9341 #include <Fontx.h> // https://github.com/h-nari/Fontx #include <FontxGfx.h> // https://github.com/h-nari/FontxGfx #include <Humbleso...
embed fontx via header file
embed fontx via header file
Arduino
mit
h-nari/NetLCD,h-nari/NetLCD,h-nari/NetLCD
b51f548c57a0ea8e78bf8f50b6f5922ccaba16de
capteurQ/capteurQ.ino
capteurQ/capteurQ.ino
/* capteurQ Copyright (c) 2017 IOT-4DL Licensed under the MIT license. */ // includes #include <dht.h> // defines #define DHT11_PIN 5 //#define DHT22_PIN 5 dht DHT; // the setup function runs once when you press reset or power the board void setup() { } // the loop function runs over and over again fore...
/* capteurQ Copyright (c) 2017 IOT-4DL Licensed under the MIT license. */ // includes #include "dht.h" // defines #define DHT11_PIN 5 //#define DHT22_PIN 5 dht DHT; // the setup function runs once when you press reset or power on the board void setup() { } // the loop function runs over and over again f...
modify include
modify include
Arduino
mit
IOT-4DL/capteurQ
8329be025173ec29fa7965c106320d36e5dc9aed
aquacontrol2.ino
aquacontrol2.ino
#include <Time.h> #include <WiFiUdp.h> #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <EEPROM.h> #include <FS.h> /* extern "C" { #include "user_interface.h" } */ //https://gist.github.com/dogrocker/f998dde4dbac923c47c1 const char *defaultHostname = "aquacontrol2"; String WIFIssid; String WI...
#include <Time.h> #include <WiFiUdp.h> #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <EEPROM.h> #include <FS.h> /* extern "C" { #include "user_interface.h" } */ //https://gist.github.com/dogrocker/f998dde4dbac923c47c1 const char *defaultHostname = "aquacontrol2"; String WIFIssid; String WI...
Make WiFi non persistent.
Make WiFi non persistent.
Arduino
mit
CelliesProjects/aquacontrol2,CelliesProjects/aquacontrol2
13edc4ff908bd2edf1fd232bd258f01d669ea50b
examples/ProductionSketch/ProductionSketch.ino
examples/ProductionSketch/ProductionSketch.ino
// This is the example sketch that gets loaded on every BlinkyTape during production! #include <EEPROM.h> #include <FastLED.h> #include "BlinkyTape.h" #include "ColorLoop.h" #include "SerialLoop.h" #include "Shimmer.h" #include "Scanner.h" #include "Flashlight.h" // LED data array struct CRGB leds[MAX_LEDS]; // Spa...
// This is the example sketch that gets loaded on every BlinkyTape during production! #include <EEPROM.h> #include <FastLED.h> #include "BlinkyTape.h" #include "ColorLoop.h" #include "SerialLoop.h" #include "Shimmer.h" #include "Scanner.h" #include "Flashlight.h" // LED data array struct CRGB leds[MAX_LEDS]; // Spa...
use a brighter minimum value
Bugfix: use a brighter minimum value
Arduino
mit
Blinkinlabs/BlinkyTape_Arduino
ea1792926b12fb3c6eadecfd331fbd88ecafb084
Examples/ESPMetRED/ESPMetRED.ino
Examples/ESPMetRED/ESPMetRED.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 ESPMetRED.ino
Update ESPMetRED.ino
Arduino
mit
HobbytronicsPK/ESPMetRED
460b4630a6a8307b4caba8f0112e7fabc41b3c58
Device_Ameba/Example/GemtekLoRa/GemtekLoRa.ino
Device_Ameba/Example/GemtekLoRa/GemtekLoRa.ino
/* Version: 0.1.00 Purpose: This sample use Ameba and Gemtek LoRa module, to test your module is ready or not. Simply send an "AT" command to LoRa module, and it should give you "OK" response, otherwise your module is not ready yet, you should check your wire conne...
/* Version: 0.1.00 Purpose: This sample use Ameba and Gemtek LoRa module, to test your module is ready or not. Simply send an "AT" command to LoRa module, and it should give you "OK" response, otherwise your module is not ready yet, you should check your wire conne...
add Gemtek Lora verify sample
add Gemtek Lora verify sample
Arduino
mit
LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS,LinkItONEDevGroup/LASS
ee851978e041208b09e16cf678fab69d56c08906
midicontroller.ino
midicontroller.ino
#include "Button.h" #include "base64/Base64.h" #include <Adafruit_GFX.h> #include <SPI.h> #include <Wire.h> #include <Adafruit_SSD1306.h> byte counter; const byte CLOCK = 248; const byte START = 250; const byte CONTINUE = 251; const byte STOP = 252; const int ledPin = 13; const byte bpmLed = 22; const byte channe...
#include "Button.h" #include "base64/Base64.h" #include <Adafruit_GFX.h> #include <SPI.h> #include <Wire.h> #include <Adafruit_SSD1306.h> #define DEBUG_BUTTONS true byte counter; const byte CLOCK = 248; const byte START = 250; const byte CONTINUE = 251; const byte STOP = 252; const int ledPin = 13; const byte bpmLe...
Add midi test code
Add midi test code
Arduino
apache-2.0
LeovR/ableton-midi-foot-controller,LeovR/amtrac,LeovR/amtrac,LeovR/amtrac,LeovR/ableton-midi-foot-controller,LeovR/ableton-midi-foot-controller,LeovR/amtrac,LeovR/ableton-midi-foot-controller,LeovR/ableton-midi-foot-controller,LeovR/amtrac
abe64eda2389445ce564429cb6099dd21339634b
Esp32Application/Esp32Application.ino
Esp32Application/Esp32Application.ino
/** * @file * * MIT License * * @copyright (c) 2018 Daniel Schenk <danielschenk@users.noreply.github.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, inc...
/** * @file * * MIT License * * @copyright (c) 2018 Daniel Schenk <danielschenk@users.noreply.github.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, inc...
Apply style change to application too
Apply style change to application too I missed this one due to the differend extension. See 7e8c598360efbed51f455c1a09d4f488d659161b
Arduino
mit
danielschenk/mlc2,danielschenk/mlc2,danielschenk/mlc2
c0d52fb2f4a07a8722c47fc755f21ed956d0d023
examples/Simple/Simple.ino
examples/Simple/Simple.ino
/** * Author Teemu Mäntykallio * Initializes the library and turns the motor in alternating directions. */ #define EN_PIN 38 // Nano v3: 16 Mega: 38 //enable (CFG6) #define DIR_PIN 55 // 19 55 //direction #define STEP_PIN 54 // 18 54 //step #define CS_PIN 40 // 17 64 //chip select bool dir ...
/** * Author Teemu Mäntykallio * Initializes the library and turns the motor in alternating directions. */ #define EN_PIN 38 // Nano v3: 16 Mega: 38 //enable (CFG6) #define DIR_PIN 55 // 19 55 //direction #define STEP_PIN 54 // 18 54 //step #define CS_PIN 40 // 17 64 //chip select bool dir ...
Rename object
Rename object
Arduino
agpl-3.0
teemuatlut/TMC2130Stepper
6e159900dd28dc781698698ccd23ac60fdaa5d26
src/monitor-firmware.ino
src/monitor-firmware.ino
// Firmware for monitor board #include "debounced_switch.h" #include "edge_trigger.h" #include "mx7219.h" #include "pins.h" // 16-bit address bus value unsigned int address_bus; // 8-bit data bus value byte data_bus; // Status bits byte status_bits; // Showing display test and time at which test started bool showi...
// Firmware for monitor board #include "debounced_switch.h" #include "edge_trigger.h" #include "mx7219.h" #include "pins.h" // 16-bit address bus value unsigned int address_bus; // 8-bit data bus value byte data_bus; // Status bits byte status_bits; // Showing display test and time at which test started bool showi...
remove vim modeline
monitor-firmware.ino: remove vim modeline
Arduino
mit
rjw57/buri,rjw57/buri,rjw57/buri,rjw57/buri,rjw57/buri
a6f88cdb681f286099c2014896cb4ce37a5ab268
bare_transmitter/bare_transmitter.ino
bare_transmitter/bare_transmitter.ino
#include <Wire.h> #include <ArduinoNunchuk.h> #include <SPI.h> #include "nRF24L01.h" #include "RF24.h" #define BAUDRATE 57600 const int led_pin = 8; ArduinoNunchuk nunchuk = ArduinoNunchuk(); class RF24Test: public RF24 { public: RF24Test(int a, int b): RF24(a, b) {} }; RF24Test radio(9, 10); // Radio pipe addr...
#include <Wire.h> #include <ArduinoNunchuk.h> #include <SPI.h> #include "nRF24L01.h" #include "RF24.h" #define BAUDRATE 57600 const int led_pin = 8; ArduinoNunchuk nunchuk = ArduinoNunchuk(); RF24 radio(9, 10); // Radio pipe addresses for the 2 nodes to communicate. const uint64_t pipes[2] = { 0xF0F0F0F0E1LL, 0xF...
Update bare_transmitter.ino
Update bare_transmitter.ino
Arduino
mit
futureshocked/arduauto
b23107ccfd109c65535a9c6e75cb7e115aa26732
SonoffBoilerplate.ino
SonoffBoilerplate.ino
/* 1MB flash sizee sonoff header 1 - vcc 3v3 2 - rx 3 - tx 4 - gnd 5 - gpio 14 esp8266 connections gpio 0 - button gpio 12 - relay gpio 13 - green led - active low gpio 14 - pin 5 on header */ #define SONOFF_BUTTON 0 #define SONOFF_INPUT 14 #define ...
/* 1MB flash sizee sonoff header 1 - vcc 3v3 2 - rx 3 - tx 4 - gnd 5 - gpio 14 esp8266 connections gpio 0 - button gpio 12 - relay gpio 13 - green led - active low gpio 14 - pin 5 on header */ #define SONOFF_BUTTON 0 #define SONOFF_INPUT 14 #define ...
initialise the global to a nullptr
initialise the global to a nullptr
Arduino
mit
rossbeazley/SonoffBoilerplate,rossbeazley/SonoffBoilerplate,rossbeazley/SonoffBoilerplate,rossbeazley/SonoffBoilerplate,rossbeazley/SonoffBoilerplate
8224c70efa8919c429d077c09ab77a64b2c54092
LoaderTest/LoaderTest.ino
LoaderTest/LoaderTest.ino
// Concept tester for loading programs into the // Gigatron TTL microcomputer // Marcel van Kervinck / Chris Lord // May 2018 // The object file is embedded (in PROGMEM) in GT1 format. It would be // GREAT if we can find a way to receive the file over the Arduino's // serial interface without adding upstream complexi...
// Concept tester for loading programs into the // Gigatron TTL microcomputer // Marcel van Kervinck / Chris Lord // May 2018 // The object file is embedded (in PROGMEM) in GT1 format. It would be // GREAT if we can find a way to receive the file over the Arduino's // serial interface without adding upstream complexi...
Update TODO
Update TODO
Arduino
bsd-2-clause
kervinck/gigatron-rom,kervinck/gigatron-rom,kervinck/gigatron-rom,kervinck/gigatron-rom,kervinck/gigatron-rom,kervinck/gigatron-rom,kervinck/gigatron-rom
830119647a6e90d335f05414a200bc72afe8cc2f
dayrider/dayrider.ino
dayrider/dayrider.ino
#include <Bridge.h> #include <Mailbox.h> #include <Dagu4Motor.h> // pwm, dir, cur(analog), encA, encB Dagu4Motor left_front(5, 4, 0, 0, 0); Dagu4Motor left_back(3, 2, 0, 0, 0); Dagu4Motor right_front(11, 12, 0, 0, 0); Dagu4Motor right_back(9, 8, 0, 0, 0); void setup() { //Serial.begin(9600); pin...
#include <Bridge.h> #include <Mailbox.h> #include <Dagu4Motor.h> #include <Adafruit_NeoPixel.h> #include "NeoPixel.h" // pwm, dir, cur(analog), encA, encB Dagu4Motor left_front(5, 4, 0, 0, 0); Dagu4Motor left_back(3, 2, 0, 0, 0); Dagu4Motor right_front(11, 12, 0, 0, 0); Dagu4Motor right_back(9, 8, 0, ...
Enable KIT neopixel in main loop() - NOT TESTED!
Enable KIT neopixel in main loop() - NOT TESTED!
Arduino
mit
Projectplace/Dayrider
0e07ecd40a86994359c7b19f288e3a89916e43c9
document/arduino/motor_control/motor_control.ino
document/arduino/motor_control/motor_control.ino
/* Copyright 2017 ADLINK Technology Inc. Developer: Chester, Tseng (for pySerial & encoder) HaoChih, LIN (for controller) Email: chester.tseng@adlinktech.com 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 ...
/* Copyright 2017 ADLINK Technology Inc. Developer: Chester, Tseng (for pySerial & encoder) HaoChih, LIN (for controller) Email: chester.tseng@adlinktech.com 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 ...
update controller
update controller
Arduino
apache-2.0
Adlink-ROS/adlink_ddsbot,Adlink-ROS/adlink_ddsbot
6800d806046bd99d9826bae67042f32c5f75fa75
examples/normal/normal.ino
examples/normal/normal.ino
#include <Ethernet.h> //for loading components required by the iot device object. #include <PubSubClient.h> #include <allthingstalk_arduino_standard_lib.h> #include <SPI.h> //required to have support for signed/unsigned long type. /* AllThingsTalk Makers Arduino Example ### Instructions 1. S...
#include <Ethernet.h> //for loading components required by the iot device object. #include <PubSubClient.h> #include <allthingstalk_arduino_standard_lib.h> #include <SPI.h> //required to have support for signed/unsigned long type. /* AllThingsTalk Makers Arduino Example ### Instructions 1. S...
Update normal.ino
Update normal.ino
Arduino
apache-2.0
allthingstalk/arduino-client
17d81eb12220f14fe20760ac1d571a2607e993c3
firmware4/src/IoTBox4.ino
firmware4/src/IoTBox4.ino
/* * Project IoTBox4 * Description: A internet-connected box which can be opened from API (version 4 trays) * Author: Peacemoon * Date: 19.12.2018 */ #include "OpenOperation.h" #include "PinManager.h" #include "clickButton.h" #include "VisualLEDs.h" #define ONE_DAY_MILLIS (24 * 60 * 60 * 1000) #define BUTTONPIN...
/* * Project IoTBox4 * Description: A internet-connected box which can be opened from API (version 4 trays) * Author: Peacemoon * Date: 19.12.2018 */ #include "OpenOperation.h" #include "PinManager.h" #include "clickButton.h" #include "VisualLEDs.h" #define ONE_DAY_MILLIS (24 * 60 * 60 * 1000) #define BUTTONPIN...
Remove debug
Remove debug
Arduino
mit
peacemoon/IoTBox,peacemoon/IoTBox,peacemoon/IoTBox,peacemoon/IoTBox,peacemoon/IoTBox
4d358d35dd8c952250cebb5ccf4ec6661ca5367d
testing/arduino/arm_with_trigger.ino
testing/arduino/arm_with_trigger.ino
#include "Arduino.h" #include "Servo.h" // Servo Servo ServoMotor_Bottom; const uint8_t servoPin_Bottom = 3; Servo ServoMotor_Top; const uint8_t servoPin_Top = 6; const uint8_t servoRotationAngel = 10; // Joystick const uint8_t buttonX = A0; const uint8_t buttonY = A1; const uint8_t buttonSW = 4; void setup() { ...
#include "Arduino.h" #include "Servo.h" // Servo Servo ServoMotor_Bottom; const uint8_t servoPin_Bottom = 3; Servo ServoMotor_Top; const uint8_t servoPin_Top = 6; Servo ServoMotor_Trigger; const uint8_t servoPin_Trigger = 9; const uint8_t servoRotationAngel = 10; // Joystick const uint8_t buttonX = A0; const uint...
add trigger to arm
add trigger to arm
Arduino
apache-2.0
MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI
d5c05dc1aa622dc62e7e3452614b396b06cc3660
Photon/IoTlib/examples/everything/everything.ino
Photon/IoTlib/examples/everything/everything.ino
// Example usage for IoT library by Ron Lisle. #include <IoT.h> // Include the IoT functionality in your sketch. IoT *iot; void setup() { iot = IoT::getInstance(); iot->setControllerName("lislerv"); iot->setPublishName("RonTest"); iot->begin(); } void loop() { long currentMillis = millis(); ...
/******************************************************* Everything ParticleIoT Example This example contains one of each IoT device type supported by ParticleIoT. This include the following: * 4 LED Lights (Red, Green) * 4 Switches (left, right) * DHT11 Temperature & Humidity sensor * HC-SR04 Ultrasonic Proxim...
Add all devices
Add all devices
Arduino
mit
rlisle/Patriot,rlisle/ParticleIoT,rlisle/Patriot,rlisle/Patriot,rlisle/ParticleIoT,rlisle/ParticleIoT,rlisle/Patriot
6d93409b67cac85af4be949f66f5d658d503ef08
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 ...
Update FirebaseStream_ESP8266.ino
Update FirebaseStream_ESP8266.ino OLED_RESET should be at "3" otherwise example does not work. Pulled this directly from adafruit's own example: https://learn.adafruit.com/digital-display-badge/code
Arduino
apache-2.0
gguuss/firebase-arduino,proppy/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,FirebaseExtended/firebase-arduino,aliafshar/firebase-arduino,gguuss/firebase-arduino,aliafshar/firebase-arduino,ed7coyne/firebase-arduino,FirebaseExtended/firebase-arduino
f46f7253c97cbf2cf80147def93c6b449cf1d008
firmware/examples/ADXL362_SimpleRead/ADXL362_SimpleRead.ino
firmware/examples/ADXL362_SimpleRead/ADXL362_SimpleRead.ino
/* ADXL362_SimpleRead.ino - Simple XYZ axis reading example for Analog Devices ADXL362 - Micropower 3-axis accelerometer go to http://www.analog.com/ADXL362 for datasheet License: CC BY-SA 3.0: Creative Commons Share-alike 3.0. Feel free to use and abuse this code however you'd like. If you find it useful p...
/* ADXL362_SimpleRead.ino - Simple XYZ axis reading example for Analog Devices ADXL362 - Micropower 3-axis accelerometer go to http://www.analog.com/ADXL362 for datasheet License: CC BY-SA 3.0: Creative Commons Share-alike 3.0. Feel free to use and abuse this code however you'd like. If you find it useful p...
Update ADXL362_SimpleRead.ino
Update ADXL362_SimpleRead.ino
Arduino
cc0-1.0
gregoryfenton/adxl362
2e92d269a6181849aff25299ba54cd82ff45ea41
gestureDetection/gestureDetection.ino
gestureDetection/gestureDetection.ino
/*setup() is the initilization stuff typically encountered in c and loop() is a while(true) infinite loop, *these two functions can be replaced by standard C code *include necessary fils at the top of this file such as the <Wire.h>, be careful of including large libraries since memory is limited *Gesture detection ...
/*setup() is the initilization stuff typically encountered in c and loop() is a while(true) infinite loop, *these two functions can be replaced by standard C code *include necessary fils at the top of this file such as the <Wire.h>, be careful of including large libraries since memory is limited *Gesture detection ...
add comment
add comment
Arduino
mit
AlbertZheng36/ProjectDavid,AlbertZheng36/ProjectDavid
04f41bbc44c3a75b6ae46ef85756af7b73128f67
examples/Sandbox/CosaString/CosaString.ino
examples/Sandbox/CosaString/CosaString.ino
/** * @file CosaString.ino * @version 1.0 * * @section License * Copyright (C) 2014, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the L...
/** * @file CosaString.ino * @version 1.0 * * @section License * Copyright (C) 2014, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the L...
Check refactoring of String/IOStream.
Check refactoring of String/IOStream.
Arduino
lgpl-2.1
jeditekunum/Cosa,dansut/Cosa,rrobinet/Cosa,kc9jud/Cosa,kc9jud/Cosa,rrobinet/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,kc9jud/Cosa,dansut/Cosa,jeditekunum/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa,dansut/Cosa,dansut/Cosa,kc9jud/Cosa,rrobinet/Cosa,rrobinet/Cosa
a8ef94f13a462f967abe20162b1556c2eaf0bfe0
examples/cymatic-triangles/cymatic-triangles.ino
examples/cymatic-triangles/cymatic-triangles.ino
#include "pixelmap/pixelmap.h" #include <FastLED.h> #include <Logging.h> // Weird thing I had to do to get the Logging library working with teensy extern "C"{ int _getpid(){ return -1;} int _kill(int pid, int sig){ return -1; } int _write(){return -1;} } #define LOGLEVEL LOG_LEVEL_INFOS using namespace pixelma...
#include "pixelmap/pixelmap.h" #include <FastLED.h> #include <Logging.h> // Weird thing I had to do to get the Logging library working with teensy extern "C"{ int _getpid(){ return -1;} int _kill(int pid, int sig){ return -1; } int _write(){return -1;} } #define LOGLEVEL LOG_LEVEL_DEBUG using namespace pixelma...
Fix logging during setup() not working
Fix logging during setup() not working
Arduino
mit
nijotz/pixl
586df9ca02f7aa9250c2cd1ee06fd82112bb6957
_86-meross-garage-to-remote/meross-to-remote.ino
_86-meross-garage-to-remote/meross-to-remote.ino
// INPUT #define REED_SENSOR_PIN 14 #define HKIT_CMD_PIN 10 #define HKIT_GND_PIN 16 // OUTPUT #define AWNING_OPEN_CMD_PIN 8 #define AWNING_CLOSE_CMD_PIN 9 bool AWNING_REEDS_STATUS; unsigned long DURATION; void setup() { pinMode(REED_SENSOR_PIN, INPUT); pinMode(HKIT_CMD_PIN, INPUT_PULLUP); pinMode(HKIT_...
// INPUT #define REED_SENSOR_PIN 14 #define HKIT_CMD_PIN 10 #define HKIT_GND_PIN 16 // OUTPUT #define AWNING_OPEN_CMD_PIN 8 #define AWNING_CLOSE_CMD_PIN 9 bool AWNING_REEDS_STATUS; unsigned long DURATION; void setup() { pinMode(REED_SENSOR_PIN, INPUT); pinMode(HKIT_CMD_PIN, INPUT_PULLUP); pinMode(HKIT_...
add 60 sec delay to ignore following cmds
add 60 sec delay to ignore following cmds
Arduino
lgpl-2.1
chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino
2bc791584afdce3b37d0427cf85705de89e105dd
examples/Modules/SIM800L/ATCOM/AT/AT.ino
examples/Modules/SIM800L/ATCOM/AT/AT.ino
/* Description: SIM800L serial transparent transmission debugging program */ #include <M5Stack.h> #define RX_PIN 16 #define TX_PIN 17 #define RESET_PIN 5 void header(const char *string, uint16_t color){ M5.Lcd.fillScreen(color); M5.Lcd.setTextSize(1); M5.Lcd.setTextColor(TFT_MAGENTA, TFT...
/* Description: SIM800L serial transparent transmission debugging program */ #include <M5Stack.h> #define RX_PIN 16 #define TX_PIN 17 #define RESET_PIN 5 void header(const char *string, uint16_t color){ M5.Lcd.fillScreen(color); M5.Lcd.setTextSize(1); M5.Lcd.setTextColor(TFT_MAGENTA, TFT...
Update AT.ino
Update AT.ino
Arduino
mit
m5stack/M5Stack,m5stack/M5Stack,m5stack/M5Stack
125e2b7990a6036b5178105b8d596a24d167d945
examples/Pins/CosaAnalogPins/CosaAnalogPins.ino
examples/Pins/CosaAnalogPins/CosaAnalogPins.ino
/** * @file CosaAnalogPins.ino * @version 1.0 * * @section License * Copyright (C) 2012, 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 t...
/** * @file CosaAnalogPins.ino * @version 1.0 * * @section License * Copyright (C) 2012, 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 t...
Remove compiler warning on program memory.
Remove compiler warning on program memory.
Arduino
lgpl-2.1
rrobinet/Cosa,rrobinet/Cosa,jeditekunum/Cosa,SinishaDjukic/Meshwork,kc9jud/Cosa,kc9jud/Cosa,jeditekunum/Cosa,jeditekunum/Cosa,dansut/Cosa,rrobinet/Cosa,mikaelpatel/Cosa,kc9jud/Cosa,mikaelpatel/Cosa,dansut/Cosa,SinishaDjukic/Meshwork,rrobinet/Cosa,mikaelpatel/Cosa,SinishaDjukic/Meshwork,dansut/Cosa,jeditekunum/Cosa,mika...
934c294c55024effba7266b4d6d7101f5d672854
arduino-plantmoisture.ino
arduino-plantmoisture.ino
#include <SPI.h> #include <MySensor.h> #define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5)) #define N_ELEMENTS(array) (sizeof(array)/sizeof((array)[0])) #define CHILD_ID_MOISTURE 0 #define CHILD_ID_BATTERY 1 #define SLEEP_TIME 1800000 // Sleep time between reads (in milliseconds) #define THRESHOLD 1.1 // Only ma...
#include <SPI.h> #include <MySensor.h> #define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5)) #define N_ELEMENTS(array) (sizeof(array)/sizeof((array)[0])) #define CHILD_ID_MOISTURE 0 #define CHILD_ID_BATTERY 1 #define SLEEP_TIME 1800000 // Sleep time between reads (in milliseconds) #define THRESHOLD 1.1 // Only ma...
Change battery full/empty levels
Change battery full/empty levels Now that I know how to disable BOD, the sensor can go as low as 2.43V. 2xAA full battery deliver 3.143V according to my measurements.
Arduino
bsd-2-clause
mfalkvidd/arduino-plantmoisture
e7585367ca004ef1dc5b2534b9801c50bdbf946c
matrixscroller.ino
matrixscroller.ino
//We always have to include the library #include "LedControl.h" #include "font.h" static LedControl lc = LedControl(/*data*/ 11, /*clk*/ 13, /*cs*/ 10, /*#devices*/ 1); #define GLYPH_WIDTH 6 #define GLYPH_HEIGHT 8 void setup(void) { /* The MAX72XX is in power-saving mode on startup, we have to do a w...
//We always have to include the library #include "LedControl.h" #include "font.h" static LedControl lc = LedControl(/*data*/ 11, /*clk*/ 13, /*cs*/ 10, /*#devices*/ 1); #define GLYPH_WIDTH 6 #define GLYPH_HEIGHT 8 void setup(void) { /* The MAX72XX is in power-saving mode on startup, we have to do a w...
Update revbits function
Update revbits function
Arduino
bsd-2-clause
bertrik/matrixscroller,bertrik/matrixscroller
c82f0ba15189059a355cd0c8301910dd855834b2
KugelmatikFirmware/KugelmatikFirmware.ino
KugelmatikFirmware/KugelmatikFirmware.ino
// Kugelmatik V3.1 (ESP32) // Firmware // Henrik Kunzelmann 2016 - 2017 // Rainer Wieland // Hardware // ESP32 // MCP23S17 // L293DNE // Includes #include <limits.h> #include <NewMCP23017.h> #include <Wire.h> #include "constants.h" #include "util.h" #include "leds.h" #include "config.h" #include "stepper.h" #in...
// Kugelmatik V3.1 (ESP8266) // Firmware // Henrik Kunzelmann 2016 - 2017 // Rainer Wieland // Hardware // ESP8266 // MCP23S17 // L293DNE // Includes #include <limits.h> #include <NewMCP23017.h> #include <Wire.h> #include "constants.h" #include "util.h" #include "leds.h" #include "config.h" #include "stepper.h"...
Add ESP8266 branding
Add ESP8266 branding
Arduino
mit
henrik1235/Kugelmatik,henrik1235/Kugelmatik,henrik1235/Kugelmatik
948ab7d2165338f2b73a32215bf8b085fc037f2e
voteino.ino
voteino.ino
/* * Voteino by Silver Kuusik ( Multiuser Voting system for Arduino ) * Copyright (C) 2012 Silver Kuusik * * 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....
/* * Voteino by Silver Kuusik ( Multiuser Voting system for Arduino ) * Copyright (C) 2012 Silver Kuusik * * 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....
Update voteino.ino
Update voteino.ino added comment
Arduino
mit
silps/voteino,silps/voteino,silps/voteino,silps/voteino
c2c7cc3a7145f80d6d289bc85626b7e9faccc994
libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino
libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino
#include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> const char* ssid = ".........."; const char* password = ".........."; void setup() { Serial.begin(115200); Serial.println("Booting"); WiFi.mode(WIFI_STA); WiFi.begin(ssid, password); while (WiFi.waitForConnectResu...
#include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> const char* ssid = ".........."; const char* password = ".........."; void setup() { Serial.begin(115200); Serial.println("Booting"); WiFi.mode(WIFI_STA); WiFi.begin(ssid, password); while (WiFi.waitForConnectResu...
Print a newline properly.
Print a newline properly.
Arduino
lgpl-2.1
edog1973/Arduino,martinayotte/ESP8266-Arduino,martinayotte/ESP8266-Arduino,me-no-dev/Arduino,esp8266/Arduino,KaloNK/Arduino,quertenmont/Arduino,esp8266/Arduino,quertenmont/Arduino,toastedcode/esp8266-Arduino,sticilface/Arduino,esp8266/Arduino,NullMedia/Arduino,lrmoreno007/Arduino,Lan-Hekary/Arduino,gguuss/Arduino,NextD...
8dbe3e959210abd15e05c01ab4cfce16d22ff39b
moros/moros.ino
moros/moros.ino
// For the breakout, you can use any (4 or) 5 pins #define cs_1 4 #define dc_1 5 #define rst_1 6 #define cs_2 7 #define dc_2 8 #define rst_2 9 #include <SPI.h> #include <TFT.h> #define NONE -1 #define DISPLAY_FONT_SIZE 7 #define CHAR_HEIGHT_PX DISPLAY_FONT_SIZE * 10 #define CHAR_WIDTH_PX 42 #define DISPL...
#include <SPI.h> #include <TFT.h> #define NONE -1 #define DISPLAY_FONT_SIZE 7 #define CHAR_HEIGHT_PX DISPLAY_FONT_SIZE * 10 #define CHAR_WIDTH_PX 42 #define DISPLAY_WIDTH_CHAR 4 //#define INITIAL_TIME_MS 300000 #define INITIAL_TIME_MS 5000 int active_player = NONE; volatile int button_pressed = NONE; inline void ...
Declare screens as an array rather than #defines
Declare screens as an array rather than #defines
Arduino
mit
adamf/Moros,adamf/Moros,adamf/Moros,adamf/Moros
23bd9be72d1168d6c74a95f20f721afcbbef701f
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[] = { 0x90, 0xA2, 0xDA, 0x00, 0x86, 0x67 }; // 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[] = { 0x90, 0xA2, 0xDA, 0x00, 0x86, 0x67 }; // physical mac address // The printerType controls the format of the data sent from the server...
Enable debug by default.
Enable debug by default. It's just more convenient right now.
Arduino
mit
exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer,exciting-io/printer
10618074481c2b30b78a335bcac6ab61ae569a26
Caravan_Thermostat_TX/Caravan_Thermostat_TX.ino
Caravan_Thermostat_TX/Caravan_Thermostat_TX.ino
/* Caravan Thermostat TX Copyright 2016 Jon Burrows */ // Setup the includes #include <SPI.h> #include <TFT.h> // Arduino LCD library #include <dht.h> // DHT11 Library #include <TimeLib.h> #include <DS1307RTC.h> // RTC Library #include <IRremote.h> // IR Library #include <SoftwareSerial.h> // Define the pins....
/* Caravan Thermostat TX Copyright 2016 Jon Burrows */ // Setup the includes #include <SPI.h> #include <TFT.h> // Arduino LCD library #include <dht.h> // DHT11 Library #include <TimeLib.h> #include <DS1307RTC.h> // RTC Library #include <IRremote.h> // IR Library #include <SoftwareSerial.h> // Define the pins....
Add bluetooth code in
Add bluetooth code in
Arduino
mit
fantawttw/Arduino-Caravan-Thermostat,fantawttw/Arduino-Caravan-Thermostat
5872c711752256e70b68f3e8fcba19848336b2a0
dee-oh-tee.ino
dee-oh-tee.ino
/** * A simple sketch for drawing fun shapes with a laser that's attached to a pan/tilt * servo. (Cat not included.) * * This sketch is designed for the Trinket microcontroller, which is Arduino-compatible * and made by Adafruit. It should be easily portable to any Arduino platform. * * This type of servo work...
/** * A simple sketch for drawing fun shapes with a laser that's attached to a pan/tilt * servo. (Cat not included.) * * This sketch is designed for the Trinket microcontroller, which is Arduino-compatible * and made by Adafruit. It should be easily portable to any Arduino platform. * * This type of servo work...
Refactor drawEllipse() in terms of moveToPoint()
Refactor drawEllipse() in terms of moveToPoint()
Arduino
apache-2.0
acj/dee-oh-tee
0e5ceb7d391301b18a2c85c82909d3feacd5a6f9
riptide_hardware/firmware/thruster_controller/thruster_controller.ino
riptide_hardware/firmware/thruster_controller/thruster_controller.ino
#include <Wire.h> #include <ros.h> #include <riptide_msgs/PwmStamped.h> #include <riptide_msgs/EscStamped.h> // Thrusters off! int STOP = 1500; // Checksum size int ONE_BYTE = 1; // Addresses int ESC_BOARD[] = {1, 2, 4, 8, 16}; // Function prototypes int16_t valid(int16_t pwm); void callback(const riptide_msgs::PwmSt...
#include <Wire.h> #include <ros.h> #include <riptide_msgs/PwmStamped.h> #include <riptide_msgs/EscStamped.h> // Thrusters off! int STOP = 1500; // Checksum size int ONE_BYTE = 1; // Addresses int ESC_BOARD[] = {1, 2, 4, 8, 16}; // Function prototypes int16_t valid(int16_t pwm); void callback(const riptide_msgs::PwmSt...
Correct thruster controller firmware.
Correct thruster controller firmware.
Arduino
bsd-2-clause
JustBenj/riptide_software,JustBenj/riptide_software,dmae1600/riptide-ros,dmae1600/riptide-ros,tsender/riptide_software,tsender/riptide_software,JustBenj/riptide_software,tsender/riptide_software,tsender/riptide_software,dmae1600/riptide-ros,osu-uwrt/riptide-ros,JustBenj/riptide_software,dmae1600/riptide-ros,osu-uwrt/ri...
0cae5440f3a89f11edef177403b3e9a4c96afc69
examples/chibitronics/effects/effects.ino
examples/chibitronics/effects/effects.ino
// Love to Code // Easy Effects #include "Arduino.h" #include "ChibiOS.h" enum effects { NONE = 0, BLINK = 1, HEARTBEAT = 2, TWINKLE = 3, }; struct effects_thread_arg { uint8_t effect; uint8_t tempo; uint8_t pin; }; static thread_t *light_threads[6]; static effects_thread_arg port[6]; ////// configur...
// Love to Code // Easy Effects #include "Arduino.h" #include "ChibiOS.h" enum effects { NONE = 0, BLINK = 1, HEARTBEAT = 2, TWINKLE = 3, }; struct effects_thread_arg { uint8_t effect; uint8_t tempo; uint8_t pin; }; static thread_t *light_threads[6]; static effects_thread_arg port[6]; ////// configur...
tweak aestheticts of the heartbeat effect
tweak aestheticts of the heartbeat effect
Arduino
mit
chibitronics/ltc-webview-layer,chibitronics/ltc-webview-layer,chibitronics/ltc-webview-layer,chibitronics/ltc-webview-layer
c351df98b4413a788e7a67efd14029e5c936063b
2_example/example01s_led/example01s_led.ino
2_example/example01s_led/example01s_led.ino
/******************************************************************************* Example 1S: LEDを点滅させる HTTP版 固定IPアドレス WiFi.config( IPAddress(192,168,0,12), /* 固定IPアドレス */ IPAddress(192,168,0,1), /* ゲートウェイアドレス */ IPAddress(255,255,255,0) /* ネットマスク */ ...
/******************************************************************************* Example 1S: LEDを点滅させる HTTP版 固定IPアドレス Copyright (c) 2016-2017 Wataru KUNINO *******************************************************************************/ #include <ESP8266WiFi.h> ...
Update example01s_led.ino
Update example01s_led.ino
Arduino
mit
bokunimowakaru/esp,bokunimowakaru/esp,bokunimowakaru/esp,bokunimowakaru/esp,bokunimowakaru/esp,bokunimowakaru/esp
680a4a2953e968cb0386d3296de30c8dcac7b0c7
Arduino/ODriveArduino/examples/ODriveArduinoTest/ODriveArduinoTest.ino
Arduino/ODriveArduino/examples/ODriveArduinoTest/ODriveArduinoTest.ino
#include <SoftwareSerial.h> #include <ODriveArduino.h> // Printing with stream operator template<class T> inline Print& operator <<(Print &obj, T arg) { obj.print(arg); return obj; } template<> inline Print& operator <<(Print &obj, float arg) { obj.print(arg, 4); return obj; } // Serial to the ODrive S...
// includes #include <SoftwareSerial.h> #include <ODriveArduino.h> // Printing with stream operator helper functions template<class T> inline Print& operator <<(Print &obj, T arg) { obj.print(arg); return obj; } template<> inline Print& operator <<(Print &obj, float arg) { obj.print(arg, 4); return obj; }...
improve ardiuno serial connection guide
improve ardiuno serial connection guide
Arduino
mit
madcowswe/ODriveFirmware,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODriveFirmware,madcowswe/ODrive,madcowswe/ODriveFirmware,madcowswe/ODriveFirmware,madcowswe/ODrive
1d1d650f28c632ccbeb6a1c99cd7deeeeb990270
examples/rapifire-mqtt-simple-publish/rapifire-mqtt-simple-publish.ino
examples/rapifire-mqtt-simple-publish/rapifire-mqtt-simple-publish.ino
#include <YunClient.h> #include <PubSubClient.h> #include <RapifireMqttClient.h> #define THING_ID "YOUR_THING_ID" #define THING_KEY "YOUR_THING_KEY" #define DATA_TOPIC "YOUR_DATA_TOPIC" YunClient client; RapifireMqttClient rapifire(THING_ID, THING_KEY, DATA_TOPIC, client); int counter = 0; void setup() { Serial.b...
#include <YunClient.h> #include <PubSubClient.h> #include <RapifireMqttClient.h> #define THING_ID "YOUR_THING_ID" #define THING_KEY "YOUR_THING_KEY" #define DATA_TOPIC "YOUR_DATA_TOPIC" YunClient client; RapifireMqttClient rapifire(THING_ID, THING_KEY, DATA_TOPIC, client); int counter = 0; void setup() { Serial.b...
Update simple publish example
Update simple publish example
Arduino
mit
rapifireio/rapifire-arduino-mqtt
78d19f4ce95f1d9b6755dddec48c84164a0c4098
firmware/door-sign.ino
firmware/door-sign.ino
#include "application.h" #include "LiquidCrystal_I2C.h" LiquidCrystal_I2C *lcd; String eventName = ""; String eventLocation = ""; String eventCal = ""; String titleText = ""; void setup() { lcd = new LiquidCrystal_I2C(0x27, 20, 4); lcd->init(); lcd->backlight(); lcd->clear(); // Placeholder tex...
#include "application.h" #include "LiquidCrystal_I2C.h" LiquidCrystal_I2C *lcd; String eventName = ""; String eventLocation = ""; String eventCal = ""; String titleText = ""; void setup() { lcd = new LiquidCrystal_I2C(0x27, 20, 4); lcd->init(); lcd->backlight(); lcd->clear(); // Placeholder tex...
Update door-sign.ino
Update door-sign.ino
Arduino
mit
ryz1620/door-sign,ryz1620/door-sign
e6df6445b32a8bfc802c592fd53135048e9beda7
src/src.ino
src/src.ino
#include <math.h> typedef struct Location { double lat; double lng; } Location; typedef struct Destination { char name[16]; Location loc; } Destination; // Updated by on_new_gps // Location Location current_loc = {0}; // Time in milliseconds unsigned long current_time = 0; unsigned long last_time = 0; double...
#include <math.h> // A physical location typedef struct Location { double lat; double lng; } Location; // A name attached to a physical location typedef struct Destination { char name[16]; Location loc; } Destination; // Waypoints to be used for navigation Destination dests[] = { {"Test", {0.0, 10.0}}, {...
add averaging, layout, comments
sketch: add averaging, layout, comments
Arduino
mit
mplewis/sternidae
9e65f6d3e5fb3a88f6abc7f81d52d1c14b59f26e
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.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 ...
Remove incorrect fix.
Remove incorrect fix.
Arduino
mit
kylegordon/homie-sonoff-touch
a88f0666407494297e21c06302a6f61c914bce1d
ArduinoSensorBoard/ArduinoSensorBoard.ino
ArduinoSensorBoard/ArduinoSensorBoard.ino
#include <SPI.h> #include "nRF24L01.h" #include "RF24.h" RF24 radio(9,10); const uint64_t pipes[2] = { 0xF0F0F0F001LL, 0xF0F0F0F002LL }; const byte shortAddr = 0x02; int led = 13; byte lampStatus = 0; byte switchStatus = 0; void setup(void) { Serial.begin(57600); radio.begin(); radio.setAutoAck(false); radi...
#include <SPI.h> #include "nRF24L01.h" #include "RF24.h" RF24 radio(9,10); const uint64_t pipes[2] = { 0xF0F0F0F001LL, 0xF0F0F0F002LL }; const byte shortAddr = 0x02; int led = 13; byte lampStatus = 0; byte switchStatus = 0; void setup(void) { Serial.begin(57600); radio.begin(); radio.setAutoAck(false); radi...
Add addressing scheme
Add addressing scheme
Arduino
apache-2.0
Ertinfagor/RCHome,Ertinfagor/RCHome,Ertinfagor/RCHome
317c0b6054e3b01b8540915091d65abe178faf6f
examples/More/ButtonInterrupt/ButtonInterrupt.ino
examples/More/ButtonInterrupt/ButtonInterrupt.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 ButtonInterrupt.ino
Update ButtonInterrupt.ino
Arduino
mit
okhiroyuki/blynk-library,CedricFinance/blynk-library,blynkkk/blynk-library,flashvnn/blynk-library,flashvnn/blynk-library,radut/blynk-library,al1271/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library,sstocker46/blynk-library,sstocker46/blynk-library,flashvnn/blynk-library,al1271/blynk-library,sstocker46/b...
e6f9e38ece6bd2d82d255be7954451de688c8373
KugelmatikFirmware/KugelmatikFirmware.ino
KugelmatikFirmware/KugelmatikFirmware.ino
// Kugelmatik V3.1 // Firmware // Henrik Kunzelmann 2016 - 2017 // Rainer Wieland // Hardware // AVR-NET-I/O mit ATmega32 und ENC28J60 // MCP23S17 // L293DNE // Project Defines // #define ETHERCARD_TCPCLIENT 0 // #define ETHERCARD_TCPSERVER 0 // #define ETHERCARD_STASH 0 // #define SERIAL_TX_BUFFER_SIZE 8 // #de...
// Kugelmatik V3.1 // Firmware // Henrik Kunzelmann 2016 - 2017 // Rainer Wieland // Hardware // AVR-NET-I/O mit ATmega32 und ENC28J60 // MCP23S17 // L293DNE // Project Defines // #define ETHERCARD_TCPCLIENT 0 // #define ETHERCARD_TCPSERVER 0 // #define ETHERCARD_STASH 0 // #define SERIAL_TX_BUFFER_SIZE 8 // #de...
Remove EEPROM clearing in setup()
Remove EEPROM clearing in setup()
Arduino
mit
henrik1235/Kugelmatik,henrik1235/Kugelmatik,henrik1235/Kugelmatik
216a87d5de456ab69343da591086c0821791dacf
compare-arduino/compare-arduino.ino
compare-arduino/compare-arduino.ino
// Compare PM 2.5 detectors: A4 vs. G3 // Compare temperature sensors: DHT-22 vs. SHT-31 // Runs on the Arduino part of LinkIt Smart 7688 Duo // A4 pin 1 -> +5V // A4 pin 2 -> GND // A4 pin 5 -> 7688 Duo pin D0 // G3 pin 5 -> 7688 Duo pin D11 // SHT-31 SDA -> 7688 Duo pin D2 // SHT-31 SCL -> 7688 Duo pin D3 //...
// Compare PM 2.5 detectors: A4 vs. G3 // Compare temperature sensors: DHT-22 vs. SHT-31 // Runs on the Arduino part of LinkIt Smart 7688 Duo // A4 pin 1 -> +5V // A4 pin 2 -> GND // A4 pin 5 -> 7688 Duo pin D0 // G3 pin 5 -> 7688 Duo pin D11 // SHT-31 SDA -> 7688 Duo pin D2 // SHT-31 SCL -> 7688 Duo pin D3 //...
fix typo and assign vars
fix typo and assign vars
Arduino
mit
miaoski/pm25-sensors-comparison,miaoski/pm25-sensors-comparison
b4b215477dc025517f409d917d4d78d15fb7d6f0
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 ...
Add logging for actual motor speeds.
Add logging for actual motor speeds.
Arduino
agpl-3.0
cstroe/cosmin-public,cstroe/cosmin-public,cstroe/cosmin-public
372e07d9779f2e89b29e5816a12040f1aeed6782
motor_pump/motor_pump.ino
motor_pump/motor_pump.ino
#include <Average.h> // Reserve space for 10 entries in the average bucket. // Change the type between < and > to change the entire way the library works. Average<int> moistoure(12); const int switchPin =2; const int motorPin =10; int switchstate = 0; const int Input = A5; //float moistoure[]{0,0,0,0,0,0,0,0,0,0,0,0...
/* TSA microcontroller Watering system code Ethan Bartlett git hub link: https://www.github.com/portalmaster12/plant/ */ //Includes Average library to make caculating averages 10x easier #include <Average.h> //names the set of measures for calculating the mean and states it //has 12 entries Average<int> moistoure(...
clean up code comment on code so judges understand
clean up code comment on code so judges understand
Arduino
mit
portalmaster12/plant
def166c22f48b582c09d28eeee3bed403b4c98e2
crypt-gears/gear_arduino/gear_arduino.ino
crypt-gears/gear_arduino/gear_arduino.ino
// hard-coded pins 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}}; int output_lights[7] = ...
// 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 state vars
add state vars
Arduino
mit
bhomberg/heterodyne,bhomberg/heterodyne,bhomberg/heterodyne,bhomberg/heterodyne,bhomberg/heterodyne
5159a15f9f107529d52bac8156854a5b5e336796
src/homie-sonoff-touch.ino
src/homie-sonoff-touch.ino
/* WARNING: untested */ /* Some functional ideas Single, double and triple tap. Single and double tap and hold Single tap = regular on/off Single hold = dim up Double tap = Unknown Double tap and hold = dim down Triple tap = toggle state of onboard relay */ #include <ClickButton.h> #include <Homie.h> #...
/* WARNING: untested */ /* Some functional ideas Single, double and triple tap. Single and double tap and hold Single tap = regular on/off Single hold = dim up Double tap = Unknown Double tap and hold = dim down Triple tap = toggle state of onboard relay */ #include <ClickButton.h> #include <Homie.h> #...
Handle hold and release events
Handle hold and release events
Arduino
mit
kylegordon/homie-sonoff-touch
28b9cefdd5bf39ee6730bc95a7ebfc5f11ea07cb
Arduino/Complete/src/src.ino
Arduino/Complete/src/src.ino
// Copyright (c) 2013 Nautilabs // https://github.com/baptistelabat/robokite // This file used SoftwareSerial example (Copyright (c) 2012 Dimension Engineering LLC) for Sabertooth http://www.dimensionengineering.com/software/SabertoothSimplifiedArduinoLibrary/html/index.html // See license.txt in the Sabertooth ardui...
// Copyright (c) 2013 Nautilabs // https://github.com/baptistelabat/robokite // This file used SoftwareSerial example (Copyright (c) 2012 Dimension Engineering LLC) for Sabertooth http://www.dimensionengineering.com/software/SabertoothSimplifiedArduinoLibrary/html/index.html // See license.txt in the Sabertooth ardui...
Add lhe linear encoder code, and use the modified software library to be able to compile
Add lhe linear encoder code, and use the modified software library to be able to compile
Arduino
mit
baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite
96534c46d4ddcaee8bc6f04dbafbc5a1d400f23f
AQUAPUNO_ETH.ino
AQUAPUNO_ETH.ino
/* dimodif dari file */ /* Web_Parms_1.pde - very simple Webduino example of parameter passing and parsing */ /* bergantung pada library webduino https://github.com/sirleech/Webduino */ /* AQUAPUNO_ETH Deskripsi --------- AQUAPUNO adalah system terpadu AQUAPONIK dibantu dengan microcontroller arduino. meng...
/* dimodif dari file */ /* Web_Parms_1.pde - very simple Webduino example of parameter passing and parsing */ /* bergantung pada library webduino https://github.com/sirleech/Webduino */ /* AQUAPUNO_ETH Deskripsi --------- AQUAPUNO adalah system terpadu AQUAPONIK dibantu dengan microcontroller arduino. meng...
add json format
add json format
Arduino
cc0-1.0
irzaip/AQUAPUNO_ETH,irzaip/AQUAPUNO_ETH
c0d361a9bae643a94bffd488da9ed45f8ee51b5b
tests/NdefMessageTest/NdefMessageTest.ino
tests/NdefMessageTest/NdefMessageTest.ino
#include <Wire.h> #include <Adafruit_NFCShield_I2C.h> #include <Ndef.h> #include <ArduinoUnit.h> TestSuite suite; // Custom Assertion void assertNoLeak(Test& __test__, void (*callback)()) { int start = freeMemory(); (*callback)(); int end = freeMemory(); assertEquals(0, (start - end)); } void assertBytesEqua...
#include <Wire.h> #include <Adafruit_NFCShield_I2C.h> #include <NdefMessage.h> #include <NdefRecord.h> #include <ArduinoUnit.h> TestSuite suite; // Custom Assertion void assertNoLeak(Test& __test__, void (*callback)()) { int start = freeMemory(); (*callback)(); int end = freeMemory(); assertEquals(0, (start -...
update for refactoring
update for refactoring runs 1x then hangs uno. not sure if the tests or problem with updated ArduinoUnit
Arduino
bsd-3-clause
jlkalberer/NDEF,abcd-ca/NDEF,jlkalberer/NDEF,abcd-ca/NDEF
d8b0ffaad7105054a8f0fcb75062f15dfe8c078b
libraries/IRSendRev/examples/revTest/revTest.ino
libraries/IRSendRev/examples/revTest/revTest.ino
#include <IRSendRev.h> //#include <IRSendRevInt.h> void setup() { Serial.begin(38400); IR.Init(A4); Serial.println("init over"); } unsigned char dta[20]; void loop() { if(IR.IsDta()) { IR.Recv(dta); } }
#include <IRSendRev.h> //#include <IRSendRevInt.h> void setup() { Serial.begin(38400); IR.Init(A0); Serial.println("init over"); } unsigned char dta[20]; void loop() { if(IR.IsDta()) { IR.Recv(dta); } }
Update revTest.ino
Update revTest.ino infrared receive pin change to A0
Arduino
mit
Seeed-Studio/sketch_sidekick
2bc1b5f66c15de79e21c368abfd3aef60166c099
anklet_code/anklet_code.ino
anklet_code/anklet_code.ino
const int xPin = 2; const int yPin = 1; const int zPin = 0; double x, y, z; int minVal = 265; int maxVal = 500; int accumulatedXValues[20]; int accumulatedYValues[20]; int accumulatedZValues[20]; int count = 0; void setup() { Serial.begin(9600); } void loop() { // This portion of code reads data from the in...
#include <VirtualWire.h> const int xPin = 2; const int yPin = 1; const int zPin = 0; int steps = 0; void setup() { // Initializations for RF transmitter vw_set_ptt_inverted(true); vw_setup(2000); vw_set_tx_pin(11); } // Helper function to get the length of an array of floats int arrayLength(float numbers[])...
Update code for anklet component
Update code for anklet component
Arduino
mit
captainsafia/tether,captainsafia/tether
c210b475936dfa66b3cd57501d536055c9fd45b7
KomaRoof.ino
KomaRoof.ino
/* * Copyright (c) 2016 Jari Saukkonen * * 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, publ...
/* * Copyright (c) 2016 Jari Saukkonen * * 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, publ...
Add kludge for wiring mistake. Update reference values and add some forward declarations
Add kludge for wiring mistake. Update reference values and add some forward declarations
Arduino
mit
vehnae/komaroof,vehnae/komaroof
2ac26340d5e6584e5a54195b46e233a284a26889
Arduino/Arduino.ino
Arduino/Arduino.ino
// arduino.ino #include <stdio.h> #include <adk.h> #define LED_GREEN 22 #define LED_YELLOW 24 #define LED_RED 26 #define BUFFSIZE 255 #define MAX_POWER 400 #define DELAY 50 // Smaller delay breaks everything about communication // Android --> Arduino codes #define CMD_NULL_VALUE 0 #define CMD_MOVE_FORWARD 1 #defin...
// arduino.ino #include <stdio.h> #include <adk.h> #define LED_GREEN 22 #define LED_YELLOW 24 #define LED_RED 26 #define BUFFSIZE 255 #define MAX_POWER 400 #define DELAY 50 // Smaller delay breaks everything about communication // Android --> Arduino codes #define CMD_NULL_VALUE 0 #define CMD_MOVE_FORWARD 1 #defin...
Add a safety instruction on Arduino which stop the robot if the Android app is not responding
Add a safety instruction on Arduino which stop the robot if the Android app is not responding
Arduino
bsd-2-clause
DMIAlumni/mobile-tanker,mariotsi/mobile-robot-arduino-android
eaa006625d99cc6ad252478704a1775b01e47bc8
examples/ttn-abp/ttn-abp.ino
examples/ttn-abp/ttn-abp.ino
/******************************************************************************* * Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman * * Permission is hereby granted, free of charge, to anyone * obtaining a copy of this document and accompanying files, * to do whatever they want with them without any restric...
/******************************************************************************* * Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman * * Permission is hereby granted, free of charge, to anyone * obtaining a copy of this document and accompanying files, * to do whatever they want with them without any restric...
Print downlink ack status in examples
Print downlink ack status in examples When a packet is received that has the ack flag set, print a notice about that.
Arduino
mit
mcci-catena/arduino-lmic,mcci-catena/arduino-lmic,mcci-catena/arduino-lmic
1e4986fd0764c437862688568c900e726bf2997f
Arduino/arduino/arduino.ino
Arduino/arduino/arduino.ino
#include <SPI.h> #include <Ethernet.h> #include <String.h> #include <aJSON.h> // ---------------------------------- CONFIGURATION DE L'ARDUINO DUEMILANOVE // adresse MAC de l'Arduino DUEMILANOVE byte macArduino[] = { 0x90, 0xA2, 0xDA, 0x00, 0x1D, 0xA7 }; String strMacArduino="90:A2:DA:00:1D:A7"; IPAddress ipArduino(192...
#include <SPI.h> #include <Ethernet.h> #include <String.h> #include <aJSON.h> // ---------------------------------- CONFIGURATION DE L'ARDUINO DUEMILANOVE // adresse MAC de l'Arduino DUEMILANOVE byte macArduino[] = { 0x90, 0xA2, 0xDA, 0x00, 0x1D, 0xA7 }; String strMacArduino="90:A2:DA:00:1D:A7"; IPAddress ipArduino(192...
Update arduino.ino
Update arduino.ino
Arduino
apache-2.0
yjajkiew/projet-ei5,yjajkiew/projet-ei5
6b613d143b3f2600532dd979e945e76e86f82c1a
Sattrack.ino
Sattrack.ino
#include <ESPAsyncWebServer.h> #include <ESPAsyncTCP.h> #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <Sgp4.h> #include <Ticker.h> #include <ArduinoOTA.h> #include <EEPROM.h> #include <NeoPixelBus.h> #include <WebSocketsServer.h> #include <Hash.h> #include "FS...
#include <ESPAsyncWebServer.h> #include <ESPAsyncTCP.h> #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <Sgp4.h> #include <Ticker.h> #include <ArduinoOTA.h> #include <EEPROM.h> #include <NeoPixelBus.h> #include <WebSocketsServer.h> #include <Hash.h> #include "FS...
Debug printing of wifi IP
Debug printing of wifi IP
Arduino
mit
Hopperpop/Sattrack,Hopperpop/Sattrack,Hopperpop/Sattrack,Hopperpop/Sattrack,Hopperpop/Sattrack
b06062e5bd16da6a5e2c69f233723af91c3123a0
sensor/sensor.ino
sensor/sensor.ino
#include <util/delay.h> #include <avr/wdt.h> #include <avr/sleep.h> // Sleep Modes #include <avr/power.h> // Power management #include <VirtualWire.h> #include <math.h> #define LED_DEBUG 13 #define PIN_TX 7 // PD7 #define PIN_TX_POWER 8 // PD8 #define PIN_SENSOR_POWER 9 // PB1 (used for all se...
#include <util/delay.h> #include <avr/wdt.h> #include <avr/sleep.h> // Sleep Modes #include <avr/power.h> // Power management #include <VirtualWire.h> #include <math.h> #define LED_DEBUG 13 #define PIN_TX 7 // PD7 #define PIN_TX_POWER 8 // PD8 #define PIN_SENSOR_POWER 9 // PB1 (used for all se...
Use vcc for internal temperature calculation
Use vcc for internal temperature calculation
Arduino
mit
theapi/solar,theapi/solar,theapi/solar,theapi/solar,theapi/solar
ae1384f94be2877062e4d9c16b11af406f6ce934
examples/More/ArduinoClient/Arduino_Ethernet/Arduino_Ethernet.ino
examples/More/ArduinoClient/Arduino_Ethernet/Arduino_Ethernet.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, tutorials: h...
/************************************************************* 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, tutorials: h...
Fix build
Fix build
Arduino
mit
ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,ivankravets/blynk-library
c2530992bc3c95232821ac4d87f94593195746f5
PinewoodDerbyPracticeTrackTimer/PinewoodDerbyPracticeTrackTimer.ino
PinewoodDerbyPracticeTrackTimer/PinewoodDerbyPracticeTrackTimer.ino
#include <LiquidCrystal.h> #define END_SENSOR A1 #define START_SENSOR A2 #define SENSOR_LOW 0 #define SENSOR_HIGH 250 LiquidCrystal lcd(8, 9, 4, 5, 6, 7); int LastKeyPressed = -1; bool DebugMode = false; void setup() { lcd.begin(16, 2); lcd.clear(); pinMode(START_SENSOR, INPUT); pinMode(END_SENSOR, INPUT); ...
#include <LiquidCrystal.h> #define END_SENSOR A1 #define START_SENSOR A2 #define SENSOR_LOW 0 #define SENSOR_HIGH 150 //250 // sensor % is used // as a multiplier against the ambient // light #define SENSOR_PCT 0.8 #define SENSOR_SAMPLES 1000 LiquidCrystal lcd(8, 9, 4, 5, 6, 7); int LastKeyPressed = -1; bool DebugMod...
Determine sensor thresholds based upon sampling ambient light prior to start.
Determine sensor thresholds based upon sampling ambient light prior to start.
Arduino
mit
craighagan/hackprojects
06b19feaf24a171a1013f9399cae5e4b27115a3e
RightpointLabs.Pourcast.Arduino/RightpointLabs.Pourcast.Arduino.ino
RightpointLabs.Pourcast.Arduino/RightpointLabs.Pourcast.Arduino.ino
#include <SPI.h> #include <Dhcp.h> #include <Dns.h> #include <Ethernet.h> #include <EthernetClient.h> #include <EthernetServer.h> #include <EthernetUdp.h> #include <util.h> #include <SoftwareSerial.h> #include <Streaming.h> #include <PString.h> #include <Time.h> #include "ApplicationMonitor.h" #include "MemoryFree.h...
#include <SPI.h> #include <Dhcp.h> #include <Dns.h> #include <Ethernet.h> #include <EthernetClient.h> #include <EthernetServer.h> #include <EthernetUdp.h> #include <util.h> #include <SoftwareSerial.h> #include <Streaming.h> #include <PString.h> #include <Time.h> #include "ApplicationMonitor.h" #include "MemoryFree.h...
Restructure to avoid the heap memory
Restructure to avoid the heap memory
Arduino
mit
RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast
1c487b00891441117afca566c66cc56e0930c187
homie-dht.ino
homie-dht.ino
#include <Homie.h> #include "Sensor.hpp" //#define _DEBUG static Sensor sensor; static HomieSetting<long> publishIntervalSetting("publishInterval", "publish interval in seconds"); static HomieSetting<bool> deepSleepSetting("deepSleep", "ESP deep sleep mode"); static void setupHandler() { Homie.getLogger() << "homi...
#include <Homie.h> #include "Sensor.hpp" //#define _DEBUG static Sensor sensor; static HomieSetting<long> publishIntervalSetting("publishInterval", "publish interval in seconds"); static HomieSetting<bool> deepSleepSetting("deepSleep", "ESP deep sleep mode"); static void setupHandler() { Homie.getLogger() << "homi...
Fix issue #2
Fix issue #2 Disable the software watchdog timer while reading the sensor
Arduino
mit
nuccleon/homie-dht
6322d85eadff13b52325155ab9cd2588473b7a4b
Arduino/nodeMCU/plant/config.ino
Arduino/nodeMCU/plant/config.ino
/************************ Adafruit IO Config *******************************/ // visit io.adafruit.com if you need to create an account, // or if you need your Adafruit IO key. #define IO_USERNAME "diomede" #define IO_KEY "30e0f9943a9243768e5c6af82fbbc16a" #define MQTT_SERVER "io.adafruit.com" #define MQTT...
/************************ Adafruit IO Config *******************************/ // visit io.adafruit.com if you need to create an account, // or if you need your Adafruit IO key. #define IO_USERNAME "XXXX" #define IO_KEY "XXXX" #define MQTT_SERVER "io.adafruit.com" #define MQTT_PORT 1883 /*****************...
Update config.ino
Update config.ino
Arduino
agpl-3.0
doceo/plant,doceo/plant,doceo/plant,doceo/plant
9d79a481f8bf2cdfe3bbfeb5c946cb76fe999c22
arduino/monitor/monitor.ino
arduino/monitor/monitor.ino
/* Totally happy and ultra fluffy ESD safe weather tracker of doom. Copyright (C) 2014 Greg Lincoln. Released under the FreeBSD License. Inspired by Nathan Seidle's WIMP. (https://github.com/sparkfun/Wimp_Weather_Station) */ #include <Wire.h> #include <SoftwareSerial.h> #include <HTU21D.h> #include <SFE_BMP180.h> #i...
/* Totally happy and ultra fluffy ESD safe weather tracker of doom. Copyright (C) 2014 Greg Lincoln. Released under the FreeBSD License. Inspired by Nathan Seidle's WIMP. (https://github.com/sparkfun/Wimp_Weather_Station) */ #include <Wire.h> #include <SoftwareSerial.h> #include <HTU21D.h> #include <SFE_BMP180.h> #i...
Revert "Give the xbee a bit more time to reconnect."
Revert "Give the xbee a bit more time to reconnect." This reverts commit e0897c24a514b9d63e6364a3e507a3ffb138cb12.
Arduino
bsd-2-clause
tetious/FluffyWeather,tetious/FluffyWeather,tetious/FluffyWeather
c1d7c9740fcea2195fa18b3e41b7c2adebd8961e
system_monitor/system_monitor.ino
system_monitor/system_monitor.ino
/* Thanksgiving Cabin Power System Monitor Ardunio-based system to be used to monitor power generation and use at the Thanksgiving Cabin. Donated by the UVic Caving Club Created: 2017-09-30 Stuart de Haas stuartdehaas@gmail.com */ #include <SPI.h> #include <SD.h> #include <Wire.h> #include "RTClib.h" #define AREF_V...
/* Thanksgiving Cabin Power System Monitor Ardunio-based system to be used to monitor power generation and use at the Thanksgiving Cabin. Donated by the UVic Caving Club Created: 2017-09-30 Stuart de Haas stuartdehaas@gmail.com */ #include <SPI.h> #include <SD.h> #include <Wire.h> #include "RTClib.h" #define AREF_V...
test function added. It outputs stuff :)
test function added. It outputs stuff :)
Arduino
mit
edinnen/Thanksgiving_Intranet,edinnen/Thanksgiving_Intranet,edinnen/Thanksgiving_Intranet
baf84e874592662f84357374ba9a1d408b718a9e
arduino/arduino.ino
arduino/arduino.ino
// button pin int pinNumber = 7; // debugger led int led = 13; // simple switch variable bool buttonClicked = false; void setup() { // set the bps Serial.begin(9600); // set the input pin pinMode(pinNumber, INPUT); } void loop() { // read the button state int tmpButtonState = digitalRead(pinNumber); //...
// button pin int pinNumber = 7; // debugger led int led = 13; // simple switch variable bool buttonClicked = false; void setup() { // set the bps Serial.begin(9600); // set the input pin pinMode(pinNumber, INPUT); // initialize the LED pin as an output: pinMode(led, OUTPUT); } void loop() { // read ...
debug led enabled
debug led enabled
Arduino
mit
GianlucaGuarini/nodejs-arduino-example
3f9eba896aaa6f81f6bbac4e0775a7a811625855
Arduino/tippingbucket/tippingbucket.ino
Arduino/tippingbucket/tippingbucket.ino
/*************************** * Name: Marco Meijer * Description: arduino code to keep track of the rain meter, more information at: https://docs.google.com/document/d/1lL3xof9Kub50YlRxNvad5bsnVTUUYBEN0Mo9YKesPtc/edit?usp=sharing * Project: The Tscrump Weather Station * Group: Tscrump * Date: 19/11/2016 **********...
/*************************** * Name: Marco Meijer * Description: arduino code to keep track of the rain meter, more information at: https://docs.google.com/document/d/1lL3xof9Kub50YlRxNvad5bsnVTUUYBEN0Mo9YKesPtc/edit?usp=sharing * Project: The Tscrump Weather Station * Group: Tscrump * Date: 19/11/2016 **********...
Update tippingbucket.ino
Update tippingbucket.ino
Arduino
mit
diondokter/Tscrump-Weather-Station,diondokter/Tscrump-Weather-Station,diondokter/Tscrump-Weather-Station,diondokter/Tscrump-Weather-Station,diondokter/Tscrump-Weather-Station
4fe915bc9fdcc6ba9e884a7bc8a9d81b1092565d
software/arduino/iota-ifttt/iota-ifttt.ino
software/arduino/iota-ifttt/iota-ifttt.ino
#include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> #include "OneButton.h" #define WIFI_SSID "My Wifi" #define WIFI_PASSWORD "My Password" #define IFTTT_URL "http://maker.ifttt.com" #define IFTTT_KEY "IFTTT KEY"; #define IFTTT_EVENT "IFTTT EVENT NAME"; #define BUTTON_P...
#include <LM75.h> #include <Wire.h> #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> #include "OneButton.h" #define WIFI_SSID "My Wifi" #define WIFI_PASSWORD "My Password" #define IFTTT_URL "http://maker.ifttt.com" #define IFTTT_KEY "IFTTT KEY"; #define IFTTT_EVENT ...
Update IFTTT-sketch: temperatuur versturen
Update IFTTT-sketch: temperatuur versturen
Arduino
mit
topicusonderwijs/iota
01c94ebf418f89c929b99da0e338969ebd1b6062
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 =...
Change midi offsets with bank buttons
Change midi offsets with bank buttons
Arduino
apache-2.0
LeovR/amtrac,LeovR/ableton-midi-foot-controller,LeovR/amtrac,LeovR/ableton-midi-foot-controller,LeovR/ableton-midi-foot-controller,LeovR/ableton-midi-foot-controller,LeovR/amtrac,LeovR/ableton-midi-foot-controller,LeovR/amtrac,LeovR/amtrac
05da3c3bbf93ca4fc06737836f139fbf8ece0b46
examples/ttn/ttn.ino
examples/ttn/ttn.ino
/******************************************************************************* * Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman * * Permission is hereby granted, free of charge, to anyone * obtaining a copy of this document and accompanying files, * to do whatever they want with them without any restric...
/******************************************************************************* * Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman * * Permission is hereby granted, free of charge, to anyone * obtaining a copy of this document and accompanying files, * to do whatever they want with them without any restric...
Remove trailing space
Remove trailing space
Arduino
mit
mcci-catena/arduino-lmic,mcci-catena/arduino-lmic,mcci-catena/arduino-lmic
7226b24888d0f50b8477c3ad56524cdfd0edd3ed
Pingduino/Pingduino.ino
Pingduino/Pingduino.ino
#include <Adafruit_NeoPixel.h> #include "WaveUtil.h" #include "WaveHC.h" #include "Button.h" #include "Game.h" #include "Display.h" #define P1PIN 2 #define P2PIN 3 #define LONGPRESS_TIME 1000 #define INACTIVEMILLIS 1200000 // 20 minutes // Game Logics volatile int p1Score = 0; volatile int p2Sc...
#include <Adafruit_NeoPixel.h> #include "Button.h" #include "Game.h" #include "Display.h" #define P1PIN 2 #define P2PIN 3 #define LONGPRESS_TIME 1000 #define INACTIVEMILLIS 1200000 // 20 minutes // Game Logics int p1Score = 0; int p2Score = 0; int requestReset = 0; // 0 = nobody, 1 = p1, 2 = p2...
Designate debug serial prints vs game play A Raspberry Pi or other device can be hooked to the serial port and watch for these events. This can be used to track statistics, provide a web app, tournament brackets, etc.
Designate debug serial prints vs game play A Raspberry Pi or other device can be hooked to the serial port and watch for these events. This can be used to track statistics, provide a web app, tournament brackets, etc.
Arduino
mit
rubyist/pingduino,rubyist/pingduino
68972fa9fc70b2d4e93f0e2c23ba10da55f76912
Arduino/noise_multiplier/noise_multiplier.ino
Arduino/noise_multiplier/noise_multiplier.ino
#include "AES.h" #define COLLECTING 0 #define CONDITIONING 1 AES128 aes128; byte key[32] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F}; void setup() { // Defining PB1 and PB2 as outputs by setting PORTB1 and PORTB2 // Setting DDB1 and DD...
#include "AES.h" #define COLLECTING 0 #define CONDITIONING 1 AES128 aes128; byte key[32] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F}; int state = COLLECTING; void setup() { // Defining PB1 and PB2 as outputs by setting PORTB1 and PORTB2 ...
Move bit collection into its own function
Move bit collection into its own function
Arduino
mit
robseward/Ziffer
8f43011fe605dd10c3173ca85785d40a9c470cac
SBR/SBR.ino
SBR/SBR.ino
#include <Wire.h> #include <Adafruit_RGBLCDShield.h> #include <utility/Adafruit_MCP23017.h> #include "RTClib.h" RTC_DS3231 rtc; Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield(); #define RED 0x1 #define YELLOW 0x3 #define GREEN 0x2 #define TEAL 0x6 #define BLUE 0x4 #define VIOLET 0x5 #define WHITE 0x7 int en1 = 2; //...
#include <Wire.h> #include <Adafruit_RGBLCDShield.h> #include <utility/Adafruit_MCP23017.h> #include "RTClib.h" RTC_DS3231 rtc; Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield(); #define RED 0x1 #define YELLOW 0x3 #define GREEN 0x2 #define TEAL 0x6 #define BLUE 0x4 #define VIOLET 0x5 #define WHITE 0x7 int en1 = 2; //...
Update SBR.ino
Update SBR.ino
Arduino
mit
dotsonlab/awsc,dotsonlab/awsc
bd1a70f19edfac4a6ddeb169cc1d3930572f9d70
PulseSensorAmped_Arduino_1dot4/AllSerialHandling.ino
PulseSensorAmped_Arduino_1dot4/AllSerialHandling.ino
////////// ///////// All Serial Handling Code, ///////// It's Changeable with the 'serialVisual' variable ///////// Set it to 'true' or 'false' when it's declared at start of code. ///////// void serialOutput(){ // Decide How To Output Serial. if (serialVisual == true){ arduinoSerialMonitorVisual('-'...
////////// ///////// All Serial Handling Code, ///////// It's Changeable with the 'serialVisual' variable ///////// Set it to 'true' or 'false' when it's declared at start of code. ///////// void serialOutput(){ // Decide How To Output Serial. if (serialVisual == true){ arduinoSerialMonitorVisual('-'...
Update AllSerialHandling.ino
Update AllSerialHandling.ino
Arduino
mit
WorldFamousElectronics/PulseSensor_Amped_Arduino
2b0a62b4e1dc84ffe60d7a4828d1f8a1f2ed83df
arduino/ClipperTracker.ino
arduino/ClipperTracker.ino
/* * Copyright 2017 Phil Haigh * * 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 in wr...
/* * Copyright 2017 Phil Haigh * * 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 in wr...
Fix number style bug
Fix number style bug
Arduino
apache-2.0
surfsoft/ClipperRaceTracker,surfsoft/ClipperRaceTracker,surfsoft/ClipperRaceTracker,surfsoft/ClipperRaceTracker
bb89bd83de6f787804f4312d6722ed1720aad2d5
arduino/blinkytape_orb.ino
arduino/blinkytape_orb.ino
#include "FastLED.h" // hardware #define NUM_LEDS 12 #define LED_CORRECTION TypicalSMD5050 #define DATA_PIN 13 #define BUTTON_IN 10 #define ANALOG_INPUT A9 #define EXTRA_PIN_A 7 #define EXTRA_PIN_B 11 // visuals #define PULSE_MAX_VAL 255 #define PULSE_MIN_VAL 160 #define PULSE_DURATION_SLOW 3000 #define PULSE_DURATI...
#include "FastLED.h" // hardware #define NUM_LEDS 12 #define LED_CORRECTION TypicalSMD5050 #define DATA_PIN 13 #define BUTTON_IN 10 #define ANALOG_INPUT A9 #define EXTRA_PIN_A 7 #define EXTRA_PIN_B 11 // visuals #define PULSE_MAX_VAL 255 #define PULSE_MIN_VAL 160 #define PULSE_DURATION_SLOW 3000 #define PULSE_DURATI...
Allow software brightness control
Allow software brightness control
Arduino
mit
jtai/blinkytape-orb,jtai/blinkytape-orb
f5f5788afe1c856107629cdb3ab58b34a8f3e6a1
examples/ReadUidMultiReader/ReadUidMultiReader.ino
examples/ReadUidMultiReader/ReadUidMultiReader.ino
/** * ---------------------------------------------------------------------------- * This is a MFRC522 library example; see https://github.com/miguelbalboa/rfid * for further details and other examples. * * NOTE: The library file MFRC522.h has a lot of useful info. Please read it. * * Released into the public do...
/** * -------------------------------------------------------------------------------------------------------------------- * Example sketch/program showing how to read data from more than one PICC to serial. * -----------------------------------------------------------------------------------------------------------...
Update ReadUidMultiReader.ino
Update ReadUidMultiReader.ino - description was wrong - added warning, because many trouble with example
Arduino
unlicense
Rotzbua/rfid,Rotzbua/rfid,miguelbalboa/rfid
183adb24e5f4cf382e906daebfd34b75c0276d4b
examples/catena_usercommand/catena_usercommand.ino
examples/catena_usercommand/catena_usercommand.ino
/* Module: catena_usercommand.ino Function: Example of how to add a user commmand. Copyright notice and License: See LICENSE file accompanying this project. Author: Terry Moore, MCCI Corporation April 2018 */ #include <Catena.h> #include <Catena_CommandStream.h> #include <Catena_Led.h> /...
/* Module: catena_usercommand.ino Function: Example of how to add a user commmand. Copyright notice and License: See LICENSE file accompanying this project. Author: Terry Moore, MCCI Corporation April 2018 */ #include <Catena.h> #include <Catena_CommandStream.h> #include <Catena_Led.h> /...
Fix typo in message
Fix typo in message
Arduino
mit
mcci-catena/Catena4410-Arduino-Library,mcci-catena/Catena4410-Arduino-Library
d0ba5be6a812de3255d54e2c289bf8bce01dcfff
c/wifi_avrisp_programmer/wifi_avrisp_programmer.ino
c/wifi_avrisp_programmer/wifi_avrisp_programmer.ino
#include <Arduino.h> #include <SPI.h> #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <ESP8266AVRISP.h> const char* host = "esp8266-avrisp"; const char* ssid = "IoT_Dobbi"; const char* pass = "was7thod"; const uint16_t port = 328; const uint8_t reset_pin = 5; ESP8266AVRISP avrprog(port, reset_pin); void ...
#include <Arduino.h> #include <SPI.h> #include <ESP8266WiFi.h> #include <ESP8266AVRISP.h> const char* host = "esp8266-avrisp"; const char* ssid = "ssid"; const char* pass = "password"; const uint16_t port = 328; const uint8_t reset_pin = 5; ESP8266AVRISP avrprog(port, reset_pin); void setup() { Serial.begin(115200...
update avrisp wifi
update avrisp wifi
Arduino
mit
vvzvlad/Iuppiter,vvzvlad/Iuppiter,vvzvlad/Iuppiter,vvzvlad/Iuppiter,vvzvlad/Iuppiter
26d9e9e59532d2b1b53cf65df5d13235a21dd4b8
examples/Provision/Provision.ino
examples/Provision/Provision.ino
//***************************************************************************** // // Provision // This example shows how to use Exosite's provision API to activate a device // as a type of product (vendor, model, unique serial number). This is used // to activate and get a CIK instead of using a generic hard-coded C...
//***************************************************************************** // // Provision // This example shows how to use Exosite's provision API to activate a device // as a type of product (vendor, model, unique serial number). This is used // to activate and get a CIK instead of using a generic hard-coded C...
add serial printout of MAC address when attempting to provision
add serial printout of MAC address when attempting to provision
Arduino
bsd-3-clause
exosite-garage/arduino_exosite_library
bf2ba1ebf23621708df3527c5e10adca6de08ae1
maze_robot.ino
maze_robot.ino
#include <Servo.h> #include <Metro.h> //#define Serial Serial1 #include <ResponsiveAnalogRead.h> #include <stdarg.h> void p(char *fmt, ... ){ char buf[128]; // resulting string limited to 128 chars va_list args; va_start (args, fmt ); vsnprintf(buf, 128, fmt, args); va_end (args); Serial.println(buf); Se...
#include <Servo.h> #include <Metro.h> //#define Serial Serial1 #include <ResponsiveAnalogRead.h> #include <stdarg.h> void p(char *fmt, ... ){ char buf[128]; // resulting string limited to 128 chars va_list args; va_start (args, fmt ); vsnprintf(buf, 128, fmt, args); va_end (args); Serial.println(buf); Se...
Support for "head" servo that looks where the robot will be going to.
Support for "head" servo that looks where the robot will be going to.
Arduino
mit
joonamo/maze_robot,joonamo/maze_robot,joonamo/maze_robot,joonamo/maze_robot
a3f428bf3164dae833ff0a09d08bf5498c1644d1
probe_firmware/Space_Probe/Space_Probe.ino
probe_firmware/Space_Probe/Space_Probe.ino
/* * The Space Probe firmware is a very thin stub program, which speaks a * simple serial command/response protocol. * * All numbers <X> are transmitted as 4-digit decimal integers, regardless of scale. * * Commands: * * Cmd: L<R>,<G>,<B>,<O>,<F>\n * Rsp: OK\n * * Set LEDs R,G,B levels (0-255) with blink cyl...
/* * The Space Probe firmware is a very thin stub program, implementing a simple web API * * See the help_handler method below for the help text (also available if you GET HTTP address /) * */ #include <Ethernet.h> #include <Flash.h> #include <SD.h> #include <TinyWebServer.h> #include <EthernetDHCP.h> boolean hel...
Clean up web server handler, add /is_alive URL
Clean up web server handler, add /is_alive URL
Arduino
mit
makehackvoid/MHV-Space-Probe
2687c219f660da496075e30f9e26a39c564faedb
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, 255, 0); // for ArduinoOSC const char* host = "192.168.1.200"; const int recv_port = 54321; const int...
change ip and subnet for simplicity
change ip and subnet for simplicity
Arduino
mit
hideakitai/ArduinoOSC,hideakitai/ArduinoOSC