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
fbd575d841537450249d24026086cb51e259b52b
Arduino/LightPlayer/LightPlayer.ino
Arduino/LightPlayer/LightPlayer.ino
#include <SPI.h> #include <SdFat.h> #include <FAB_LED.h> apa106<D, 6> LEDstrip; rgb frame[200]; // Test with reduced SPI speed for breadboards. // Change spiSpeed to SPI_FULL_SPEED for better performance // Use SPI_QUARTER_SPEED for even slower SPI bus speed const uint8_t spiSpeed = SPI_FULL_SPEED; //-------------...
#include <SPI.h> #include <SdFat.h> #include <FAB_LED.h> #define DEBUG 1 apa106<D, 6> LEDstrip; rgb frame[200]; // Test with reduced SPI speed for breadboards. // Change spiSpeed to SPI_FULL_SPEED for better performance // Use SPI_QUARTER_SPEED for even slower SPI bus speed const uint8_t spiSpeed = SPI_FULL_SPEED;...
Make debug output conditional on a DEBUG macro
Make debug output conditional on a DEBUG macro
Arduino
mit
godlygeek/LightRender,MaddAddaM/LightRender
854ce7421aa7050e938e4093f342ab14c448078a
roto2.ino
roto2.ino
/* Print Incoming Message USB MIDI Example Use the Arduino Serial Monitor to view the messages as Teensy receives them by USB MIDI You must select MIDI from the "Tools > USB Type" menu This example code is in the public domain. */ #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #inc...
/* Print Incoming Message USB MIDI Example Use the Arduino Serial Monitor to view the messages as Teensy receives them by USB MIDI You must select MIDI from the "Tools > USB Type" menu This example code is in the public domain. */ #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #inc...
Improve click on attack & release
Improve click on attack & release
Arduino
mit
pteichman/roto2
41926961c8c5d1a65c6476de3db7ca8127782c50
libraries/MCP23008/examples/CosaMCP23008/CosaMCP23008.ino
libraries/MCP23008/examples/CosaMCP23008/CosaMCP23008.ino
/** * @file CosaMCP23008.ino * @version 1.0 * * @section License * Copyright (C) 2015, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
/** * @file CosaMCP23008.ino * @version 1.0 * * @section License * Copyright (C) 2015, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
Improve MCP23008 example sketch; add measurements.
Improve MCP23008 example sketch; add measurements.
Arduino
lgpl-2.1
jeditekunum/Cosa,dansut/Cosa,jeditekunum/Cosa,dansut/Cosa,dansut/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,dansut/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa
1a0561a820f65d0f200bd56cf321a40037e11ff8
MQTT433gateway.ino
MQTT433gateway.ino
/* MQTT433gateway - MQTT 433.92 MHz radio gateway utilizing ESPiLight Project home: https://github.com/puuu/MQTT433gateway/ The MIT License (MIT) Copyright (c) 2016 Puuu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
/* MQTT433gateway - MQTT 433.92 MHz radio gateway utilizing ESPiLight Project home: https://github.com/puuu/MQTT433gateway/ The MIT License (MIT) Copyright (c) 2016 Puuu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
Store strings in flash instead of SRAM
MQTT433gateway.ino: Store strings in flash instead of SRAM This saves 464 bytes of dynamic memory.
Arduino
mit
puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway
6936bfa57e3433448b03ff52c42f99b63df36d44
arduino/arduino_md03_v_5_0/arduino_md03_v_5_0.ino
arduino/arduino_md03_v_5_0/arduino_md03_v_5_0.ino
/*************************************************** ArcEyes USB Serial ****************************************************/ /* #include <Wire.h> #include <LCD.h> #include <LiquidCrystal_I2C.h> //int LCD pins on I2C bus #define I2C_ADDR 0x27 #define BACKLIGHT_PIN 3 #define En_pin 2 #define Rw_p...
/*************************************************** ArcEyes USB Serial ****************************************************/ const int debug = 0; if (debug == 1){ #include <Wire.h> #include <LCD.h> #include <LiquidCrystal_I2C.h> //int LCD pins on I2C bus #define I2C_ADDR 0x27 #d...
Update arduino_md03_v_5_0.ino
Update arduino_md03_v_5_0.ino modified dbug code
Arduino
apache-2.0
Pitchless/arceye,Pitchless/arceye
3b27de15663e8958efaa01319d4653ff00c964c2
base2clock.ino
base2clock.ino
/*************************** + +Copyleft [2014] [Daniel Spicer] + +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 la...
/*************************** + +Copyleft [2014] [Daniel Spicer] + +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 la...
Update base2clock.ino
Update base2clock.ino Cleaned up initial time set.
Arduino
apache-2.0
linuxmania/base2clock
074ac640225102db97a30bfdee6d8abe038d1517
riptide_hardware/firmware/power_monitor/power_monitor.ino
riptide_hardware/firmware/power_monitor/power_monitor.ino
#include <ros.h> #include <riptide_msgs/BatStamped.h> ros::NodeHandle nh; riptide_msgs::BatStamped battery; ros::Publisher state_pub("state/batteries", &battery); int DELAY = 200; int timer; void setup() { nh.initNode(); nh.advertise(state_pub); timer = millis() + DELAY; } void loop() { nh.spinOnce(); ...
#include <ros.h> #include <riptide_msgs/BatStamped.h> ros::NodeHandle nh; riptide_msgs::BatStamped battery; ros::Publisher state_pub("state/batteries", &battery); void setup() { nh.initNode(); nh.advertise(state_pub); } void loop() { nh.spinOnce(); battery.port.current = (analogRead(A3) - 104) * 0.03755; ...
Update power monitor rate.
Update power monitor rate.
Arduino
bsd-2-clause
osu-uwrt/riptide-ros,dmae1600/riptide-ros,tsender/riptide_software,JustBenj/riptide_software,tsender/riptide_software,dmae1600/riptide-ros,JustBenj/riptide_software,dmae1600/riptide-ros,tsender/riptide_software,dmae1600/riptide-ros,osu-uwrt/riptide-ros,JustBenj/riptide_software,JustBenj/riptide_software,tsender/riptide...
11ad5ef9311c202e22b6192cc7f5856531b5981d
FastLED/Beacon.ino
FastLED/Beacon.ino
// This #include statement was automatically added by the Particle IDE. #include <FastLED.h> FASTLED_USING_NAMESPACE; //The FastLED variables #define RING_PIN D1 #define RING_LEDS 24 CRGB ringLeds[RING_LEDS]; #define STRIP_PIN D0 #define STRIP_LEDS 15 CRGB stripLeds[STRIP_LEDS]; //The fastLED color declar...
// This #include statement was automatically added by the Particle IDE. #include <FastLED.h> FASTLED_USING_NAMESPACE; //Gotta include the namespace because reasons /* __________________________FastLED variables__________________________ */ #define RING_PIN D1 #define RING_LEDS 24 CRGB ringLeds[RING_LEDS]; //Gott...
Update Beacon.ino
Update Beacon.ino
Arduino
apache-2.0
Blaze420McYoloSwag/LiteHaus
dcc3f878c7a071f6cff813eac8dbe1a757e5654f
examples/ADXL345_demo_code/ADXL345_demo_code.ino
examples/ADXL345_demo_code/ADXL345_demo_code.ino
/*****************************************************************************/ // Function: Get the accelemeter of X/Y/Z axis and print out on the // serial monitor. // Hardware: 3-Axis Digital Accelerometer(��16g) // Arduino IDE: Arduino-1.0 // Author: Frankie.Chu // Date: Jan 11,2013 // Version: v1....
/*****************************************************************************/ // Function: Get the accelemeter of X/Y/Z axis and print out on the // serial monitor. // Hardware: 3-Axis Digital Accelerometer(��16g) // Arduino IDE: Arduino-1.0 // Author: Frankie.Chu // Date: Jan 11,2013 // Version: v1....
Update ADXL345_demo_code.ino
Update ADXL345_demo_code.ino
Arduino
mit
Seeed-Studio/Accelerometer_ADXL345
1be086308bf3bede47cb2b173a00810176f56dfa
nuncha/nuncha.ino
nuncha/nuncha.ino
#include "Arduino.h" #include "Nunchuck.h" #include <Wire.h> #include <MozziGuts.h> #include <ADSR.h> #define CONTROL_RATE 128 // powers of 2 please #include <Oscil.h> // oscillator template #include <tables/sin2048_int8.h> // sine table for oscillator #include <tables/triangle2048_int8.h> // saw table for oscillator...
#include "Arduino.h" #include "Nunchuck.h" #include <Wire.h> #include <MozziGuts.h> #include <ADSR.h> #define CONTROL_RATE 128 // powers of 2 please #include <Oscil.h> // oscillator template #include <tables/sin2048_int8.h> // sine table for oscillator #include <tables/triangle2048_int8.h> // saw table for oscillator...
Remove the click
Remove the click
Arduino
agpl-3.0
mgalardini/nuncha
6ea1498fdba072ee75a86bc4f84cb82d63fbf9e7
tpsu1.ino
tpsu1.ino
#include <SPI.h> #include <EEPROM.h> #include <DAC_MCP49xx.h> // Reference voltage measured from device #define Vref 4881 // Vsense1 ratio #define VDRP 4925 #define DAC_P 9 #define DAC_N 7 #define OE_P 6 #define OE_N 8 #define ITE 5 #define AC_1 10 #define AC_2 12 #define AC_3 4 #define AC_4 3 #define Vsense_P 0 #d...
#include <SPI.h> #include <EEPROM.h> #include <DAC_MCP49xx.h> // Reference voltage measured from device #define Vref 4881 // Vsense1 ratio #define VDRP 4950 #define DAC_P 9 #define DAC_N 7 #define OE_P 6 #define OE_N 8 #define ITE 5 #define AC_1 10 #define AC_2 12 #define AC_3 4 #define AC_4 3 #define Vsense_P 0 #d...
Add serial offset calibration
Add serial offset calibration
Arduino
mit
calston/piwerlab,calston/piwerlab
40bc6cc63142f6e132f3d1314f6ec367805055be
examples/ReadColor/ReadColor.ino
examples/ReadColor/ReadColor.ino
/** * Read sensor and encode to color code * * Copyright (c) 2016 Ilham Imaduddin * * 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 t...
/** * Read sensor and encode to color code * * Copyright (c) 2016 Ilham Imaduddin * * 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 t...
Add ReadColor example
Add ReadColor example This example read the sensor and print the result in hex color code and 8 bit grayscale.
Arduino
mit
ilhamadun/TCS
3d7ffacd014d56e6c67a7f8e37d01c69893c6f66
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Chain/open_manipulator_chain/open_manipulator_chain.ino
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Chain/open_manipulator_chain/open_manipulator_chain.ino
/******************************************************************************* * Copyright 2018 ROBOTIS CO., LTD. * * 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.o...
/******************************************************************************* * Copyright 2018 ROBOTIS CO., LTD. * * 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.o...
delete serial state
delete serial state
Arduino
apache-2.0
ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR
ee69c92f5539b5299fd59aa5a544dcda2ab0c138
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
/* SDWebServer - Example WebServer with SD Card backend for esp8266 Copyright (c) 2015 Hristo Gochkov. All rights reserved. This file is part of the ESP8266WebServer library for Arduino environment. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser G...
/* SDWebServer - Example WebServer with SD Card backend for esp8266 Copyright (c) 2015 Hristo Gochkov. All rights reserved. This file is part of the ESP8266WebServer library for Arduino environment. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser G...
fix SDWebServer sample
fix SDWebServer sample
Arduino
lgpl-2.1
sanyaade-iot/Arduino-1,jomolinare/Arduino,ogahara/Arduino,weera00/Arduino,paulmand3l/Arduino,paulo-raca/ESP8266-Arduino,sanyaade-iot/Arduino-1,paulo-raca/ESP8266-Arduino,myrtleTree33/Arduino,ogahara/Arduino,noahchense/Arduino-1,spapadim/Arduino,SmartArduino/Arduino-1,wdoganowski/Arduino,drpjk/Arduino,piersoft/esp8266-A...
62cc85944d65ee90e3dde76eefd62ba3d4644e9d
VertigoLED.ino
VertigoLED.ino
//#define USE_OCTOWS2811 //#include<OctoWS2811.h> #include <SPI.h> #include <Ethernet.h> #include <ArtNode.h> #include "ArtNetFrameExtension.h" #include "OctoWS2811.h" #include "TeensyMAC.h" #include <EEPROM.h> #define VERSION_HI 0 #define VERSION_LO 4 #define PIN_RESET 9 #define PIN_DEBUG 1 EthernetUDP udp; uint8...
//#define USE_OCTOWS2811 //#include<OctoWS2811.h> #include <SPI.h> #include <Ethernet.h> #include <ArtNode.h> #include "ArtNetFrameExtension.h" #include "OctoWS2811.h" #include "TeensyMAC.h" #include <EEPROM.h> #define VERSION_HI 0 #define VERSION_LO 4 #define PIN_RESET 9 #define PIN_DEBUG 1 EthernetUDP udp; uint8...
clean up
clean up test with 6 ports giving from 57 to 60 fps
Arduino
mit
vertigo-dk/VertigoLED,vertigo-dk/BlackLED,vertigo-dk/VardeLED
bf51de3fdd6ca27a963b619cbdffc0fae2385b4c
build/shared/examples/09.EducationalBP_MKII/BuzzerKonami/BuzzerKonami.ino
build/shared/examples/09.EducationalBP_MKII/BuzzerKonami/BuzzerKonami.ino
/* Educational BoosterPack MK II - Konami/Contra Intro http://boosterpackdepot.info/wiki/index.php?title=Educational_BoosterPack_MK_II Play Konami/Contra Intro through the buzzer, demonstrating buzzer tune() API and pitch/tone/simple music generation Dec 2012 - Created for Educational BoosterPack b...
/* Educational BoosterPack MK II - Konami/Contra Intro http://boosterpackdepot.info/wiki/index.php?title=Educational_BoosterPack_MK_II Play Konami/Contra Intro through the buzzer, demonstrating buzzer tune() API and pitch/tone/simple music generation Dec 2012 - Created for Educational BoosterPack b...
Fix BuzzerKonami example indexes beyond the end of the defined array(!)
Fix BuzzerKonami example indexes beyond the end of the defined array(!)
Arduino
lgpl-2.1
croberts15/Energia,battosai30/Energia,vigneshmanix/Energia,vigneshmanix/Energia,croberts15/Energia,battosai30/Energia,battosai30/Energia,vigneshmanix/Energia,vigneshmanix/Energia,battosai30/Energia,croberts15/Energia,croberts15/Energia,battosai30/Energia,vigneshmanix/Energia,croberts15/Energia,battosai30/Energia,crober...
9157f847ca9a750b48d384fae4b3fa944db825f1
res/Examples/MIDI_SimpleSynth/MIDI_SimpleSynth.ino
res/Examples/MIDI_SimpleSynth/MIDI_SimpleSynth.ino
#include <MIDI.h> #include "noteList.h" #include "pitches.h" #ifdef ARDUINO_SAM_DUE // Due has no tone function (yet), overriden to prevent build errors. #define tone(...) #define noTone(...) #endif // This example shows how to make a simple synth out of an Arduino, using the // tone() function. It also outputs a gat...
#include <MIDI.h> #include "noteList.h" #include "pitches.h" #ifdef ARDUINO_SAM_DUE // Due has no tone function (yet), overriden to prevent build errors. #define tone(...) #define noTone(...) #endif // This example shows how to make a simple synth out of an Arduino, using the // tone() function. It also outputs a gat...
Fix the fix.
Fix the fix.
Arduino
mit
FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library,FortySevenEffects/arduino_midi_library
56a56ffede86bfc22b124cb37b02ecf5e98010e8
Arduino/RobotControl/RobotControl.ino
Arduino/RobotControl/RobotControl.ino
#include <WiFi.h> #include <WiFiUdp.h> #include <Servo.h> #include <String.h> char ssid[] = "android"; char pass[] = "android42"; int status = WL_IDLE_STATUS; int localPort = 12345; char packetBuffer[255]; char lastCommand[255]; char ReplyBuffer[] = "pong"; boolean CameraMoving = false; Servo ServoHorizontal, Ser...
#include <WiFi.h> #include <WiFiUdp.h> #include <Servo.h> #include <String.h> char ssid[] = "android"; char pass[] = "android42"; int status = WL_IDLE_STATUS; int localPort = 12345; char packetBuffer[255]; char lastCommand[255]; char ReplyBuffer[] = "pong"; boolean CameraMoving = false; Servo ServoHorizontal, Ser...
Update RobotControl.ino
Update RobotControl.ino
Arduino
mit
mouuff/Mind-Robot,mouuff/Mind-Robot
3f7d4225017f0a823064501bdc3a51b69668f8c0
src/main.ino
src/main.ino
/** * Ai-Thinker RGBW Light Firmware * * This file is part of the Ai-Thinker RGBW Light Firmware. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * Created by Sacha Telgenhof <stelgenhof at gmail dot com> * (https://www.sachatelgenhof....
/** * Ai-Thinker RGBW Light Firmware * * This file is part of the Ai-Thinker RGBW Light Firmware. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * Created by Sacha Telgenhof <stelgenhof at gmail dot com> * (https://www.sachatelgenhof....
Fix for default configuration parameter of REST API.
Fix for default configuration parameter of REST API.
Arduino
mit
stelgenhof/AiLight,stelgenhof/AiLight,stelgenhof/AiLight,stelgenhof/AiLight,stelgenhof/AiLight
9002a0fb58f3500385d25d43ce98830ba16470ff
arduino/GPS_HardwareSerial_Parsing_Mod/GPS_HardwareSerial_Parsing_Mod.ino
arduino/GPS_HardwareSerial_Parsing_Mod/GPS_HardwareSerial_Parsing_Mod.ino
// Test code for Ultimate GPS Using Hardware Serial (e.g. GPS Flora or FeatherWing) // // This code shows how to listen to the GPS module via polling. Best used with // Feathers or Flora where you have hardware Serial and no interrupt // // Tested and works great with the Adafruit GPS FeatherWing // ------> https://www...
// Test code for Ultimate GPS Using Hardware Serial (e.g. GPS Flora or FeatherWing) // // This code shows how to listen to the GPS module via polling. Best used with // Feathers or Flora where you have hardware Serial and no interrupt // // Tested and works great with the Adafruit GPS FeatherWing // ------> https://www...
Print String Output containing LatLong Information
Print String Output containing LatLong Information Addition of single string output containing full decimal LatLong data
Arduino
mit
laurengulland/009yellow-beacon,laurengulland/009yellow-beacon,laurengulland/009yellow-beacon,laurengulland/009yellow-beacon,laurengulland/009yellow-beacon,laurengulland/009yellow-beacon,laurengulland/009yellow-beacon
bf95ca6ed3d7e3d9f7f615ce48b7ea9d1bbef2e4
dee-oh-tee.ino
dee-oh-tee.ino
#include <Servo.h> const int buttonPin = 10; const int minServoAngle = 700; const int maxServoAngle = 2300; const int numberOfUsableDegrees = maxServoAngle - minServoAngle; const int centerServoAngle = minServoAngle + numberOfUsableDegrees / 2; Servo panServo; Servo tiltServo; void setup() { Serial.begin(9600); ...
#include <Servo.h> const int buttonPin = 10; const int minServoAngle = 700; const int maxServoAngle = 2300; const int numberOfUsableDegrees = maxServoAngle - minServoAngle; const int centerServoAngle = minServoAngle + numberOfUsableDegrees / 2; Servo panServo; Servo tiltServo; void setup() { Serial.begin(9600); ...
Add drawEllipse method
Add drawEllipse method
Arduino
apache-2.0
acj/dee-oh-tee
040b63b1d23533774edf7cb46604740bbe92d2ff
libraries/CurieBle/examples/ButtonLED/ButtonLED.ino
libraries/CurieBle/examples/ButtonLED/ButtonLED.ino
/* Copyright (c) 2015 Intel Corporation. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version...
/* Copyright (c) 2015 Intel Corporation. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version...
Set initial value of characteristics
Set initial value of characteristics
Arduino
lgpl-2.1
bigdinotech/corelibs-arduino101,yashaswini-hanji/corelibs-arduino101,facchinm/corelibs-arduino101,01org/corelibs-arduino101,linrjing/corelibs-arduino101,eriknyquist/corelibs-arduino101,01org/corelibs-arduino101,SidLeung/corelibs-arduino101,01org/corelibs-arduino101,sandeepmistry/corelibs-arduino101,linrjing/corelibs-ar...
dddb82b791aa5853aebc54dcbe97e9f73c517666
devices/cc3200_launchpad/example_energia_button/example_energia_button.ino
devices/cc3200_launchpad/example_energia_button/example_energia_button.ino
/** This firmware is only for TI CC3200 Launchpad. In order to test the COSSB system, we will support temporary open & public hardware platforms like TI Launchpad, Odroid, Raspberry Pi... If you have any questions for this sample code, please contact us(bhhwang@nsynapse.com). */ #include <WiFi.h> #include <WiFiUdp.h> ...
/** This firmware is only for TI CC3200 Launchpad. In order to test the COSSB system, we will support temporary open & public hardware platforms like TI Launchpad, Odroid, Raspberry Pi... If you have any questions for this sample code, please contact us(bhhwang@nsynapse.com). */ #include <WiFi.h> #include <WiFiUdp.h> ...
update cc3200 button firmware
update cc3200 button firmware
Arduino
mit
bhhwang/cossb,bhhwang/cossb,bhhwang/cossb
cf5352d99d1bf1439000757cc2bec80a5889762c
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Arduino/Chain/d_open_manipulator_chain/d_open_manipulator_chain.ino
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Arduino/Chain/d_open_manipulator_chain/d_open_manipulator_chain.ino
/******************************************************************************* * Copyright 2016 ROBOTIS CO., LTD. * * 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.o...
/******************************************************************************* * Copyright 2016 ROBOTIS CO., LTD. * * 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.o...
add controller functions
add controller functions
Arduino
apache-2.0
ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR
d3939128dcd861f9278b54f0f319ebd450e80baf
src/gps-oled-temp-controller.ino
src/gps-oled-temp-controller.ino
#include <Wire.h> // Include Wire if you're using I2C #include <SFE_MicroOLED.h> // Include the SFE_MicroOLED library #include <DHT.h> #define PIN_RESET 255 // #define DC_JUMPER 0 // I2C Addres: 0 - 0x3C, 1 - 0x3D #define DHTPIN D4 #define DHTTYPE DHT22 DHT dht(DHTPIN, DHTTYPE); ////////////////////////////////...
#include <Wire.h> // Include Wire if you're using I2C #include <SFE_MicroOLED.h> // Include the SFE_MicroOLED library #include <DHT.h> #define PIN_RESET 255 // #define DC_JUMPER 0 // I2C Addres: 0 - 0x3C, 1 - 0x3D - OLED Display #define DHTPIN D4 #define DHTTYPE DHT22 DHT dht(DHTPIN, DHTTYPE); /////////////////...
add i2c scanner
add i2c scanner
Arduino
mit
jakkrits/GPS-Oled-Temp-Controller
70bff5c1285df6da24b8fc15dd8ef52c2775ee54
examples/ChangeUID/ChangeUID.ino
examples/ChangeUID/ChangeUID.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 ChangeUID.ino
Update ChangeUID.ino Updated code to account for serial behavior change in ATMEGA32U4
Arduino
unlicense
hramrach/rfid,webdevbrian/rfid,yaalsn/rfid,irhastofa/rfid,r44947/rfid,prikevs/rfid,miguelbalboa/rfid,northDacoder/rfid,mangine/mraa_MFRC522,Rotzbua/rfid,mirko314/rfid,LaloHao/rfid,1upon0/rfid,Rotzbua/rfid,lpr0lpd/rfid,smallkid/rfid,tamchau2809/rfid,sophiekovalevsky/rfid,CapeSepias/rfid,juantejedavz/rfid
719f93b85ad8cf3be4e368d2df3b3f34d3bfed66
project-03/project-03.ino
project-03/project-03.ino
const int sensorPin = A0; const float baselineTemp = 23.73; // <-- change this value to the average value you see from the serial monitor before touching the TMP36 void setup() { Serial.begin(9600); // open a serial port Serial.println("Setting up the pins ..."); // <-- not a part of the original starter kit projec...
// -*-mode: c++; indent-tabs-mode: nil; -*- const int sensorPin = A0; const float baselineTemp = 23.73; // <-- change this value to the average value you see from the serial monitor before touching the TMP36 void setup() { Serial.begin(9600); // open a serial port Serial.println("Setting up the pins ..."); // <-...
Fix formatting by using spaces and an Emacs mode setting
Fix formatting by using spaces and an Emacs mode setting Otherwise, the formatting looks weird when rendered by GitHub.
Arduino
mit
bgoodr/arduino-starter-kit-using-mk-utils,bgoodr/arduino-starter-kit-using-mk-utils
2dcad04b57d6bf2f12b6936667bef1c024d4fba0
ArduinoGamepad/ArduinoGamepad.ino
ArduinoGamepad/ArduinoGamepad.ino
#include "Joystick.h" #define HAT_UP 0 #define HAT_DOWN 1 #define HAT_LEFT 2 #define HAT_RIGHT 3 const String COMMAND_BUTTON = "btn:"; const String COMMAND_HAT = "hat:"; const String COMMAND_AXIS = "axis:"; boolean isHatUpPressed = false; boolean isHatDownPressed = false; boolean isHatLeftPressed = fals...
#include "Joystick.h" #define HAT_UP 0 #define HAT_DOWN 1 #define HAT_LEFT 2 #define HAT_RIGHT 3 const String COMMAND_BUTTON = "btn:"; const String COMMAND_HAT = "hat:"; const String COMMAND_AXIS = "axis:"; boolean isHatUpPressed = false; boolean isHatDownPressed = false; boolean isHatLeftPressed = fals...
Remove unused code
Remove unused code
Arduino
apache-2.0
akexorcist/Droid2JoyStick
c5d5c6352103a7c0d9ef4ada06a61794a83e6537
vfobox.ino
vfobox.ino
/* DDS code based on Pete Juliano's super simple DDS code http://www.jessystems.com/Images/Arduino/AD9850_Signal_Generator.txt Rotary Encoder code based on my ATmega328 port http://blog.templaro.com/reading-a-rotary-encoder-demo-code-for-atmega328/ of Oleg Mazurov's code written for ATmega644p https://www.circuitsath...
/* DDS code based on Pete Juliano's super simple DDS code http://www.jessystems.com/Images/Arduino/AD9850_Signal_Generator.txt Rotary Encoder code based on my ATmega328 port http://blog.templaro.com/reading-a-rotary-encoder-demo-code-for-atmega328/ of Oleg Mazurov's code written for ATmega644p https://www.circuitsath...
save mem freq to eeprom
save mem freq to eeprom
Arduino
mit
dhakajack/ad9850vfo
1b58a3634c69692f06884b5fe7653250198f9b5c
WirelessTrigger.ino
WirelessTrigger.ino
// Standard libraries #include <Arduino.h> #include <printf.h> // Servo controller #include <Servo.h> // Radio comms #include <RF24_config.h> #include <nRF24L01.h> #include <RF24.h> // Smart switch utils #include "~Switch.h" #define ROLE_SENDER 0 #define ROLE_RECEIVER 1 // SET THE TARGET ROLE HER...
// Standard libraries #include <Arduino.h> #include <printf.h> // Servo controller #include <Servo.h> // Radio comms #include <RF24_config.h> #include <nRF24L01.h> #include <RF24.h> // Display #include <LiquidCrystal.h> // Smart switch utils #include "~Switch.h" #define ROLE_SENDER 0 #define ROL...
Update pinouts for new LCD
Update pinouts for new LCD
Arduino
mit
WasabiFan/aerial-release-system,WasabiFan/aerial-release-system
8bb12531b2ed3b695897ab9b4c3dd23ba7ecd5ad
PlainReflow.ino
PlainReflow.ino
/* PlainReflow * * @file PlainReflow.ino * @author Jonas Deitmerg * @date 2017 * @copyright MIT License * * Reflow oven controller running on Arduino Nano. * See https://github.com/jdeitmerg/PlainReflow * * Used libraries (please install via library manager): * * "PID" by Brett Beauregard * * "Plotter" by...
/* PlainReflow * * @file PlainReflow.ino * @author Jonas Deitmerg * @date 2017 * @copyright MIT License * * Reflow oven controller running on Arduino Nano. * See https://github.com/jdeitmerg/PlainReflow * * Used libraries (please install via library manager): * * "PID" by Brett Beauregard * * "Plotter" by...
Improve filtering of first stage low pass
Improve filtering of first stage low pass
Arduino
mit
jdeitmerg/PlainReflow
c338aecccdc2587821f139805c3683d08eafeef3
Valokepakko.ino
Valokepakko.ino
#include <avr/pgmspace.h> #include <math.h> #include <Adafruit_NeoPixel.h> #include "image.h" #ifdef __AVR__ #include <avr/power.h> #endif /****************************************************/ /* Here you choose which kind of interface is used. */ /* */ /* TIMER Tim...
#include <avr/pgmspace.h> #include <math.h> #include <Adafruit_NeoPixel.h> #include "image.h" #ifdef __AVR__ #include <avr/power.h> #endif /****************************************************/ /* Here you choose which kind of interface is used. */ /* */ /* TIMER Tim...
Comment code more thoroughly
Comment code more thoroughly
Arduino
mit
myrjola/Valokepakko,myrjola/Valokepakko,myrjola/Valokepakko
a91047ea8a8411ca1703b486b5c8eac65efed550
HC06_BT_config/HC06_BT_config.ino
HC06_BT_config/HC06_BT_config.ino
/* http://giltesa.com/?p=11738 09/08/2012 (CC) BY-NC-SA: giltesa.com ConfigBluetooth HC-06 from Arduino. Change name, password and baud using serial port, only configurate one time After upload code you have 10 seconds to connect the module BT ---- Arduino TX ----> RX RX <---- TX Once the LED off confi...
/* http://giltesa.com/?p=11738 09/08/2012 (CC) BY-NC-SA: giltesa.com Modified by Pablo García pabloeweb@gmail.com for Otto DIY robot ConfigBluetooth HC-06 from Arduino. Change name, password and baud using serial port, with no user interaction. 1.- Upload this code to Arduino nano (no bluetooth module conne...
Update HC06_BT_config.ino
Update HC06_BT_config.ino Improved comments on the code. Corrected default baudrate for HC-06 module (9600) Changed Arduino´s onboard LED (Digital 13)
Arduino
mit
OttoDIY/DIY,OttoDIY/DIY
3e582922879e8ff43cace2d2eb99594bd8d27b9b
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 debug
Remove debug
Arduino
mit
adamf/Moros,adamf/Moros,adamf/Moros,adamf/Moros
5e80b84327dd6c3783f900211118cc996a215e51
Gout.ino
Gout.ino
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino #include <DNSServer.h> #include <ESP8266WebServer.h> #include <WiFiManager.h> //https://github.com/tzapu/WiFiManager // new #include <WiFiClient.h> #include <ESP8266mDNS.h> ESP8266WebServer server(80); int flowPin = 4; unsigned long fl...
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino #include <DNSServer.h> #include <ESP8266WebServer.h> #include <WiFiManager.h> //https://github.com/tzapu/WiFiManager // new #include <WiFiClient.h> #include <ESP8266mDNS.h> ESP8266WebServer server(80); int flowPin = 4; unsigned long fl...
Change flow() function position
Change flow() function position
Arduino
mit
UFABC-NoBox/Gout
eede0043f19d40c5e2a777df3fe482740ae39ea9
examples/httpclient_progmem/httpclient_progmem.ino
examples/httpclient_progmem/httpclient_progmem.ino
/* * WiFlyHQ Example httpclient_progmem.ino * * This sketch implements a simple Web client that connects to a * web server, sends a GET, and then sends the result to the * Serial monitor. * * This example uses PROGMEM to reduce the amount of RAM needed * for the sketch. Most of the strings are stored in flash...
/* * WiFlyHQ Example httpclient_progmem.ino * * This sketch implements a simple Web client that connects to a * web server, sends a GET, and then sends the result to the * Serial monitor. * * This example uses PROGMEM to reduce the amount of RAM needed * for the sketch. Most of the strings are stored in flash...
Update to use flash string helper
Update to use flash string helper
Arduino
bsd-2-clause
harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ
5d95133c4540fa0b509054a285cae515ec4e4aff
sanro/sanro.ino
sanro/sanro.ino
/*************************************************************** * * * Taiko Sanro - Arduino * * Support Arduino models with ATmega32u4 microprocessors * * ...
/*************************************************************** * * * Taiko Sanro - Arduino * * Support Arduino models with ATmega32u4 microprocessors * * ...
refactor code
refactor code
Arduino
mit
ShikyC/Sanro-Arduino
a4eb1d283c2262f038ba84dea138e431d08c6d38
arduino/arduino.ino
arduino/arduino.ino
/* * Author: Gunther Cox * CC: Salvius Robot Project * Website: http://salviusrobot.blogspot.com * */ // FOR ETHERNET #include <Ethernet.h> #include <SPI.h> #include <Client.h> #include <Server.h> #include <Udp.h> // VARIABLES FOR MANUAL SETUP byte mac[] = { 0x90, 0xA2, 0xDA, 0x0D, 0x00, 0x8F }; // physical mac a...
/* * Author: Gunther Cox * CC: Salvius Robot Project * Website: http://salviusrobot.blogspot.com * * This project has been made possible with funding from the following individuals: * Jennifer Cox, Adam Iredale, Janet Wise */ // FOR ETHERNET #include <Ethernet.h> #include <SPI.h> #include <Client.h> #in...
Update arduino/arduino.ino
Update arduino/arduino.ino Updated sponsors
Arduino
mit
gunthercox/salvius,gunthercox/salvius
730e70ff93981554ea587cf7fae957f399eba4b4
examples/piface/piface.ino
examples/piface/piface.ino
#include "MCP23S17.h" MCP23S17 mcp23s17; void setup() { /* mcp23s17.setDDRA(0); mcp23s17.setDDRB(0xff); mcp23s17.writeA(0); mcp23s17.setPUB(0xff); */ Serial.begin(115200); int i; for (i=0; i < 8; ++i) { pinMode(mcp23s17.pin(i), OUTPUT); } for (i=8; i < 12; ++i) { pinMode(mcp23s17.pin(i)...
#include "MCP23S17.h" MCP23S17 mcp23s17; void setup() { /* mcp23s17.setDDRA(0); mcp23s17.setDDRB(0xff); mcp23s17.writeA(0); mcp23s17.setPUB(0xff); */ Serial.begin(115200); int i; for (i=0; i < 8; ++i) { pinMode(mcp23s17.pin(i), OUTPUT); } for (i=8; i < 12; ++i) { pinMode(mcp23s17.pin(i)...
add delay back
add delay back
Arduino
apache-2.0
rmd6502/arduino_mcp23s17
7d22ebcc2cc33fe3d67faea70fc70f360ea8cf83
Arduino/GroundUnit/GroundUnit.ino
Arduino/GroundUnit/GroundUnit.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 ard...
// 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 ard...
Test use of mavlink for feedback (not working so far)
Test use of mavlink for feedback (not working so far)
Arduino
mit
baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite
5a48735da20495392bf49fd44c197ddc927648a4
battery-monitor.ino
battery-monitor.ino
#define VCC 3273 #define BATTERY_PIN A0 #define R1 221200 // Resistor R1 Ohms #define R2 21440 // Resistor R2 Ohms #define CONNECT_WAIT_MILLIS 10000 #define LOW_THRESHOLD 12000 // milliVolts #define ADC_SAMPLES 20 #define SLEEP_SECS 3600 // 1 hour //#define SLEEP_SECS 15 // Set manual mode so that if no network is ava...
#define VCC 3273 #define BATTERY_PIN A0 #define R1 221200 // Resistor R1 Ohms #define R2 21440 // Resistor R2 Ohms #define CONNECT_WAIT_MILLIS 10000 #define LOW_THRESHOLD 12000 // milliVolts #define ADC_SAMPLES 20 #define ADC_DISPERSED 2 #define SLEEP_SECS 3600 // 1 hour //#define SLEEP_SECS 15 // Set manual mode so t...
Implement 'Averaging of N-X ADC samples'
Implement 'Averaging of N-X ADC samples'
Arduino
mit
chrisb2/battery-monitor
47b2430c6515a62522f84cf9ce5e51f1d9bedcbd
3/rgbled/rgbled.ino
3/rgbled/rgbled.ino
int RED = 3; int GREEN = 5; int BLUE = 6; void setup() { pinMode(RED, OUTPUT); pinMode(GREEN, OUTPUT); pinMode(BLUE, OUTPUT); } /** Dims an LED on the pin up to max brightness, then back down to off. */ void dimLED(int pin) { for(int i = 0; i <= 255; i++) { analogWrite(pin, i); delay...
int RED = 3; int GREEN = 5; int BLUE = 6; void setup() { pinMode(RED, OUTPUT); pinMode(GREEN, OUTPUT); pinMode(BLUE, OUTPUT); } void flashColor(int red, int green, int blue) { analogWrite(RED, red); analogWrite(GREEN, green); analogWrite(BLUE, blue); delay(50); } void loop() { flashCo...
Update rgbled.ino
Update rgbled.ino
Arduino
bsd-2-clause
peplin/electronics-and-programming-class
dacc33c3b535b3dd63d7e020948924aac964bd59
arduino/ac/ac.ino
arduino/ac/ac.ino
#include <ESP8266WiFi.h> #include <PubSubClient.h> #include <IRsend.h> const char *ssid = "SSID"; const char *pass = "PWD"; uint16_t acOn[98] = {4500,650, 1650,650, 550,650, 1650,650, 1650,650, 550,650, 550,650, 1650,650, 550,650, 550,650, 1650,650, 550,650, 550,650, 1650,650, 1650,650, 550,650, 1650,650, 550,600, ...
#include <ESP8266WiFi.h> #include <PubSubClient.h> #include <IRsend.h> const char *ssid = "SSID"; const char *pass = "PASS"; uint16_t acOn[98] = {4500,650, 1650,650, 550,650, 1650,650, 1650,650, 550,650, 550,650, 1650,650, 550,650, 550,650, 1650,650, 550,650, 550,650, 1650,650, 1650,650, 550,650, 1650,650, 550,600,...
Update ac.io to turn on/off ac
Update ac.io to turn on/off ac
Arduino
mit
hugogrochau/smart-room,hugogrochau/smart-room,hugogrochau/smart-room
add6fedeaff94a50908b2adc8bfd80b040c7817d
Arduino/AK60-6/AK60-6.ino
Arduino/AK60-6/AK60-6.ino
#include <CAN.h> #include <ServoInput.h> // github.com/dmadison/ServoInput int tab[8]; int8_t myIndex; int packetSize; // limit data to be within bounds float P_MIN = -12.5; float P_MAX = 12.5 ; float V_MIN = -41.87; float V_MAX = 41.87; float T_MIN = -9; float T_MAX = 9; float Kp_MIN = 0; float Kp_MAX = 500; float K...
#include <CAN.h> #include <ServoInput.h> // github.com/dmadison/ServoInput int tab[8]; int8_t myIndex; int packetSize; // limit data to be within bounds float P_MIN = -12.5; float P_MAX = 12.5 ; float V_MIN = -41.87; float V_MAX = 41.87; float T_MIN = -9; float T_MAX = 9; float Kp_MIN = 0; float Kp_MAX = 500; float K...
Add slewrate and tune PID to avoid loss of control Format serial output to use serial plotter
Add slewrate and tune PID to avoid loss of control Format serial output to use serial plotter
Arduino
mit
baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite
4d2e44e653db883bdbf7c85160ba49b38a566c5a
examples/SimpleClock/SimpleClock.ino
examples/SimpleClock/SimpleClock.ino
/* This a simple serial port clock application using the RTC Nanoshield. Copyright (c) 2013 Circuitar This software is released under the MIT license. See the attached LICENSE file for details. */ #include <Wire.h> #include <stdio.h> #include "Nanoshield_RTC.h" #include "Deuligne.h" Nanoshield_RTC rtc; Deuligne lcd;...
/* This a simple serial port clock application using the RTC Nanoshield. Copyright (c) 2013 Circuitar This software is released under the MIT license. See the attached LICENSE file for details. */ #include <Wire.h> #include <stdio.h> #include "Nanoshield_RTC.h" #include "Nanoshield_LCD.h" Nanoshield_RTC rtc; Nanoshi...
Update to use Nanoshield_LCD library
Update to use Nanoshield_LCD library
Arduino
mit
circuitar/Nanoshield_RTC,circuitar/Nanoshield_RTC
e4bd4ebeb5b10f12cc3d2b85d69b11a787830d36
Software/OpenCM9.04/RovMain/RovMain.ino
Software/OpenCM9.04/RovMain/RovMain.ino
//---------------------------------------------------------------------------- // 프로그램명 : RovMain // // 만든이 : // // 날 짜 : // // 최종 수정 : // // MPU_Type : // // 파일명 : RovMain.ino //---------------------------------------------------------------------------- #include <Servo...
//---------------------------------------------------------------------------- // 프로그램명 : RovMain // // 만든이 : // // 날 짜 : // // 최종 수정 : // // MPU_Type : // // 파일명 : RovMain.ino //---------------------------------------------------------------------------- #include <Servo...
Update RovMain.ino
Update RovMain.ino
Arduino
mit
oroca/oroca_rov,oroca/oroca_rov,oroca/oroca_rov,oroca/oroca_rov,oroca/oroca_rov
e7edbed6c37a8de4abdef71d83445f137da2c881
counter/counter.ino
counter/counter.ino
#include <Bridge.h> #include "logger.h" #include "thingspeakReceiver.h" ThingspeakReceiver thingspeakReceiver; #include <Adafruit_LEDBackpack.h> #include <Adafruit_GFX.h> #include <Wire.h> #define PIN_LED 13 Adafruit_7segment matrix = Adafruit_7segment(); void setup() { pinMode(PIN_LED, OUTPUT); Bridge.be...
#include <Bridge.h> #include "logger.h" ///////////////////////////////////////////// // Include of Iot Platform's connectors #include "thingspeakReceiver.h" ThingspeakReceiver thingspeakReceiver; int thingsSpeakCounter = 0; #include "shiftrConnector.h" ShiftrConnector shiftrConnector; int shiftrCounter = 0; ///////...
Use of ShiftrConnector as receiver
Use of ShiftrConnector as receiver
Arduino
mit
Zenika/bottleopener_iot,Zenika/bottleopener_iot,Zenika/bottleopener_iot,Zenika/bottleopener_iot
d64ff881fbf881f94bb4ba9098ca03293cf19c8c
WirelessTrigger.ino
WirelessTrigger.ino
#define ROLE_GROUND 0 #define ROLE_SKY 1 // SET THE TARGET ROLE HERE ------------------------------- #define ROLE ROLE_SKY // Standard libraries #include <Arduino.h> #include <printf.h> // Radio comms #include <RF24_config.h> #include <nRF24L01.h> #include <RF24.h> #if ROLE == ROLE_GROUND // Displ...
#define ROLE_GROUND 0 #define ROLE_SKY 1 // SET THE TARGET ROLE HERE ------------------------------- #define ROLE ROLE_SKY // Standard libraries #include <Arduino.h> #include <printf.h> // Radio comms #include <RF24_config.h> #include <nRF24L01.h> #include <RF24.h> #if ROLE == ROLE_GROUND // Displ...
Fix misc bugs
Fix misc bugs
Arduino
mit
WasabiFan/aerial-release-system,WasabiFan/aerial-release-system
25ca2a500b42388c62e4eb1df05e447c0fc2b47a
module/module.ino
module/module.ino
#include <SoftwareSerial.h> #include "RFID.h" #define MODULE SoftwareSerial WIFI(WIFI_RX, WIFI_TX); SoftwareSerial RFID(RFID_RX, RFID_TX); void setup() { // Set up pins pinMode(ledPin, OUTPUT); pinMode(driverX, INPUT); pinMode(driverY, INPUT); pinMode(speakerPin, OUTPUT); pinMode(interlock, OUTPUT); pinMode...
#include <SoftwareSerial.h> #include "RFID.h" #define MODULE SoftwareSerial WIFI(WIFI_RX, WIFI_TX); SoftwareSerial RFID(RFID_RX, RFID_TX); void setup() { // Set up pins pinMode(ledPin, OUTPUT); pinMode(driverX, INPUT); pinMode(driverY, INPUT); pinMode(speakerPin, OUTPUT); pinMode(interlock, OUTPUT); pinMode...
clean up
clean up
Arduino
mit
MakerLabsVan/ACM,MakerLabsVan/ACM,MakerLabsVan/ACM,MakerLabsVan/ACM
96942da4bed4f4ad7976e21c32751a0869d47167
Spinal_Cord/Spinal_Cord.ino
Spinal_Cord/Spinal_Cord.ino
#include <Servo.h> Servo SB, SF, HB, HF, EB, EF, KB, KF; String readString, amp, knee_amp, afreq, gait, phase, f_offset, b_offset, fk_offset, bk_offset; char pos[] = {0,1,2,3,4,5,6,7,8}; unsigned long previousMillis = 0; unsigned int sine_time = 0.05; unsigned int t = 0; void setup(){ //Start serial stream at 1152...
#include <Servo.h> Servo SB, SF, HB, HF, EB, EF, KB, KF; void setup(){ //Start serial stream at 115200 baud Serial.begin(115200); //Connect servos to Arduino HB.attach(2); KF.attach(3); SB.attach(4); EB.attach(5); HF.attach(6); KB.attach(7); SF.attach(8); EF.attach(9); delay(3000); } ...
Update Spinal_Cord.ino
Update Spinal_Cord.ino
Arduino
apache-2.0
alexmartinnnnnn/Mr_Runner_Servo
3ef8d91237478019e086ed4683ff650db7d23ebe
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 6000 #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 6000 #define PULSE_DURATI...
Handle brightness changes immediately and swallow invalid commands early
Handle brightness changes immediately and swallow invalid commands early This prevents us from rushting through the next fade only to realize the command was invalid.
Arduino
mit
jtai/blinkytape-orb,jtai/blinkytape-orb
9a60feb5087ec16a1b4bfa80d07ac4b1738827b0
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> const byte AIO_WIND_DIRECTION = A0; const by...
/* 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> const byte AIO_WIND_DIRECTION = A0; const by...
Switch to xbee serial.
Switch to xbee serial.
Arduino
bsd-2-clause
tetious/FluffyWeather,tetious/FluffyWeather,tetious/FluffyWeather
478349247d65cae49a60763fa6489c28ef23dba5
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Arduino/Test/path/path.ino
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Arduino/Test/path/path.ino
#include <OMDynamixel.h> #include <OMPath.h> #include <vector> #define DXL_SIZE 3 #define BAUD_RATE 57600 #define DEG2RAD (M_PI / 180.0) #define RAD2DEG (180.0 / M_PI) #define CONTROL_PERIOD 0.008f #define MOVE_TIME 3.0f JointTrajectory joint_trajectory(DXL_SIZE); std::vector<Trajectory> start_trajectory; std::vect...
#include <OMDynamixel.h> #include <OMPath.h> #include <vector> #define DXL_SIZE 3 #define BAUD_RATE 57600 #define DEG2RAD (M_PI / 180.0) #define RAD2DEG (180.0 / M_PI) #define CONTROL_PERIOD 0.008f #define MOVE_TIME 3.0f OM_PATH::JointTrajectory joint_trajectory(DXL_SIZE); std::vector<Trajectory> start_trajectory; ...
update namespace
update namespace
Arduino
apache-2.0
ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR
28a5778734a2cf1ebe5c7d357b2cb7ef26dd869a
testing/arduino/servo-radar3.ino
testing/arduino/servo-radar3.ino
#include "Arduino.h" #include "Servo.h" #include "NewPing.h" // Ultrasonic Sensor const uint16_t maxDistance = 300; // Ultrasonic Sensor #1 const uint8_t trigPin = 9; const uint8_t echoPin = 10; NewPing sonar1(trigPin, echoPin, maxDistance); // Ultrasonic Sensor #2 const uint8_t trigPin2 = 11; const uint8_t echoPin...
#include "Arduino.h" #include "Servo.h" #include "NewPing.h" // Ultrasonic Sensor const uint16_t maxDistance = 300; // Ultrasonic Sensor #1 const uint8_t trigPin = 9; const uint8_t echoPin = 10; NewPing sonar1(trigPin, echoPin, maxDistance); // Ultrasonic Sensor #2 const uint8_t trigPin2 = 11; const uint8_t echoPin...
add option to use a detailed scan and a default one
add option to use a detailed scan and a default one
Arduino
apache-2.0
MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI,MaxMorgenstern/EmeraldAI
fea5098b421308bc6e86c890728a682f7d19364c
barf_esp8266.ino
barf_esp8266.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...
Fix query string parsing
Fix query string parsing
Arduino
mit
kirberich/barf_esp8266,kirberich/barf_esp8266
0e401b357fb5ba4e2b5add9a1e60b0ab0256b74a
esp8266-arm-swd.ino
esp8266-arm-swd.ino
//////////////////////////////////////////////////////////////// // // Proof of Concept ESP8266 Wifi + HTTP web interface // for remote control of an ARM microcontroller // via its Serial Wire Debug port. // // Tested with the FRDM-KE04Z dev kit (KE04 Cortex M0+) // and the Fadecandy board (K20 Cortex...
//////////////////////////////////////////////////////////////// // // Proof of Concept ESP8266 Wifi + HTTP web interface // for remote control of an ARM microcontroller // via its Serial Wire Debug port. // // Tested with the FRDM-KE04Z dev kit (KE04 Cortex M0+) // and the Fadecandy board (K20 Cortex...
Fix overtiny buffer
Fix overtiny buffer
Arduino
mit
scanlime/esp8266-arm-swd,scanlime/esp8266-arm-swd,scanlime/esp8266-arm-swd
3cf97f9cc8351212300710c94074fa2cfdfdbd9d
microcoap.ino
microcoap.ino
/* * WARNING - UDP_TX_PACKET_MAX_SIZE is hardcoded by Arduino to 24 bytes * This limits the size of possible outbound UDP packets */ #include <SPI.h> #include <Ethernet.h> #include <stdint.h> #include <EthernetUdp.h> #include "coap.h" #define PORT 5683 static uint8_t mac[] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02}; Eth...
/* * WARNING - UDP_TX_PACKET_MAX_SIZE is hardcoded by Arduino to 24 bytes * This limits the size of possible outbound UDP packets */ #include <SPI.h> #include <Ethernet.h> #include <stdint.h> #include <EthernetUdp.h> #include "coap.h" #define PORT 5683 static uint8_t mac[] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02}; Eth...
Stop clearing request's memory
Stop clearing request's memory Clearing packetbuf wipes out data for the request packet. After memset the request token is lost and it cannot be copied to the response.
Arduino
mit
smart-connected/microcoap,mbialon/microcoap
5f4dbd65ce6061afeadff1d648f18f31c20c2fab
firmware/sentry.ino
firmware/sentry.ino
// // To flash your device: // particle flash <your-device-name> firmware/sentry.ino // // Test event command: // particle publish sentry/wipe-members // particle publish sentry/append-members $'0000000001\t1\tWelcome,\tAlex\n0000000002\t0\tGet lost,\tJoker' #include "LiquidCrystal.h" #include "RFID.h" #include ...
// // To flash your device: // particle flash <your-device-name> firmware/sentry.ino // // Test event command: // particle publish sentry/wipe-members // particle publish sentry/append-members $'0000000001\t1\tWelcome,\tAlex\n0000000002\t0\tGet lost,\tJoker' #include "LiquidCrystal.h" #include "RFID.h" #include ...
Initialize greetings to 16 space strings.
Initialize greetings to 16 space strings.
Arduino
mit
danawoodman/sentry,danawoodman/sentry,danawoodman/sentry,danawoodman/sentry
9b40ac103f2328a2c29c77459af2fe4bab450920
heatseek_sensor.ino
heatseek_sensor.ino
// CONFIG ====================================== // Select one of the following: //#define TRANSMITTER_WIFI #define TRANSMITTER_GSM // ============================================= //#include <Adafruit_Sensor.h> #include <Wire.h> #include "RTClib.h" #include "DHT.h" #include <SD.h> #ifdef TRANSMITTER_WIFI #inclu...
// CONFIG ====================================== // Select one of the following: //#define TRANSMITTER_WIFI #define TRANSMITTER_GSM // ============================================= #include <Wire.h> #include "RTClib.h" #include "DHT.h" #include "Fat16.h" #ifdef TRANSMITTER_WIFI #include <libmaple/iwdg.h> #incl...
add fona ; switch to smaller fat16 lib
add fona ; switch to smaller fat16 lib
Arduino
mit
TanookiLabs/heatseek-feather-sensor,TanookiLabs/heatseek-feather-sensor
d77cbb23bc67eebe97c1ee7820521e263ecafc68
blinker/blinker.ino
blinker/blinker.ino
#define SERIAL_BAUD 9600 #define RELAY_PIN 53 #define RELAY_ON LOW #define RELAY_OFF HIGH #define TIME_WAIT 6000 #define TIME_ON 1000 #define TIME_OFF 2000 #define TIME_DOT 1000 #define TIME_DASH 2000 #define TIME_MORSE 400 #define SEQ_WAIT "w" #define SEQ_BLINK "b" #define SEQ_SOS "...---...w" char* s...
#define SERIAL_BAUD 9600 #define RELAY_PIN 53 #define RELAY_ON LOW #define RELAY_OFF HIGH #define TIME_WAIT 3000 #define TIME_ON 500 #define TIME_OFF 300 #define TIME_DOT 500 #define TIME_DASH 1000 #define TIME_MORSE 300 #define SEQ_WAIT "w" #define SEQ_BLINK "b" #define SEQ_SOS "...---...w" char* sequ...
Add start and parse on-off cycle
Add start and parse on-off cycle
Arduino
mit
taheris/sota-client-responder
068134b2325ffae78bbaa7a364eafbd404553ffc
RightpointLabs.Pourcast.Arduino/Pourcast.ino
RightpointLabs.Pourcast.Arduino/Pourcast.ino
volatile int _tap1Pulses = 0; volatile int _tap2Pulses = 0; const int _startThreshold = 50; // prep - initialize serial (TX on pin 1) and wire up the interrupts for pulses from the taps (pins 2 and 3) void setup() { Serial.begin(9600); while(!Serial); attachInterrupt(0, tap1Pulse, RISING); attachInterrupt(1, t...
volatile long _tap1Pulses = 0; volatile long _tap2Pulses = 0; const long _startThreshold = 50; // prep - initialize serial (TX on pin 1) and wire up the interrupts for pulses from the taps (pins 2 and 3) void setup() { Serial.begin(9600); while(!Serial); attachInterrupt(0, tap1Pulse, RISING); attachInterrupt(1...
Use long on Arduino
Use long on Arduino long == int32 on Arduino. Tested to 30k pulses/sec :)
Arduino
mit
RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast
61772a4292988105123a2d63c76a7e3389f3871e
bottleopener/bottleopener.ino
bottleopener/bottleopener.ino
#include <Bridge.h> #include "logger.h" ///////////////////////////////////////////// // Include of Iot Platform's connectors #include "thingspeakSender.h" ThingspeakSender thingspeakSender; #include "shiftrConnector.h" ShiftrConnector shiftrConnector; //#include "carriotsConnector.h" //CarriotsConnector carriotsCo...
#include <Bridge.h> #include "logger.h" ///////////////////////////////////////////// // Include of Iot Platform's connectors #include "thingspeakSender.h" ThingspeakSender thingspeakSender; #include "shiftrConnector.h" ShiftrConnector shiftrConnector; #include "carriotsConnector.h" CarriotsConnector carriotsConne...
Use the Carriots and InitialState connector
Use the Carriots and InitialState connector
Arduino
mit
Zenika/bottleopener_iot,Zenika/bottleopener_iot,Zenika/bottleopener_iot,Zenika/bottleopener_iot
6a2d41b44f51d042eb4eedb16b71b26dde226902
_03-hx711-scale/_03-hx711-scale-v3-adaptor/_03-hx711-scale-esp-12/_03-hx711-scale-esp-12.ino
_03-hx711-scale/_03-hx711-scale-v3-adaptor/_03-hx711-scale-esp-12/_03-hx711-scale-esp-12.ino
#include <PubSubClient.h> #include <ESP8266WiFi.h> #include <Average.h> #if defined(ESP8266) #include <pgmspace.h> #else #include <avr/pgmspace.h> #endif #include <Wire.h> // wifi #ifdef __IS_MY_HOME #include "/usr/local/src/ap_setting.h" #else #include "ap_setting.h" #endif #define nemoisOnPin 14 #define ledPin 13 ...
#include <PubSubClient.h> #include <ESP8266WiFi.h> #include <Average.h> #if defined(ESP8266) #include <pgmspace.h> #else #include <avr/pgmspace.h> #endif #include <Wire.h> // wifi #ifdef __IS_MY_HOME #include "/usr/local/src/ap_setting.h" #else #include "ap_setting.h" #endif #define nemoisOnPin 14 #define ledPin 13 ...
remove subscribe & callback
remove subscribe & callback
Arduino
lgpl-2.1
chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino,chaeplin/esp8266_and_arduino
e84d69ce02a9e6dfa08c069df678c36d3253b931
ESP8266HueEmulator/ESP8266HueEmulator.ino
ESP8266HueEmulator/ESP8266HueEmulator.ino
/** * Emulate Philips Hue Bridge ; so far the Hue app finds the emulated Bridge and gets its config * and switch NeoPixels with it **/ #include <ESP8266WiFi.h> #include <NeoPixelBus.h> #include <NeoPixelAnimator.h> // instead of NeoPixelAnimator branch #include "LightService.h" // these are only used in LightHandl...
/** * Emulate Philips Hue Bridge ; so far the Hue app finds the emulated Bridge and gets its config * and switch NeoPixels with it **/ #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <NeoPixelBus.h> #include <NeoPixelAnimator.h> // instead of NeoPixelAnimator ...
Add Over The Air update
Add Over The Air update
Arduino
mit
Quanghoster/ESP8266HueEmulator
2813ad86d5137f8a29085c367436a46675cc64dd
HC05_BT_config/HC05_BT_config.ino
HC05_BT_config/HC05_BT_config.ino
/* ConfigBluetooth HC-05 from Arduino. Change name, password and baud using serial port with AT commands, only configurate one time After upload the sketch connect your module, the LED should blinking every 2 seconds. If LED is blinking too fast, you need to disconnect and connect again but this time pressing the reset...
/* ConfigBluetooth HC-05 from Arduino. Change name, password and baud using serial port with AT commands, only configurate one time After upload the sketch connect your module, the LED should blinking every 2 seconds. If LED is blinking too fast, you need to disconnect and connect again but this time pressing the r...
Update HC05_BT_config.ino
Update HC05_BT_config.ino
Arduino
mit
OttoDIY/DIY,OttoDIY/DIY
099c0f3af124611d444520fcf1d679cbb34c10c6
computer_box/computer_box.ino
computer_box/computer_box.ino
#include <stdlib.h> #include <OneWire.h> #include <DHT.h> #define DHTPIN 3 // DHT Temp & Humidity Pin #define DHTTYPE DHT22 // DHT 22 (AM2302) int ac_probe = 0; int dc_probe = 1; int led_pin = 13; int led_value = LOW; int fan_pin = 4; int ds18_01_pin = 2; const int num_ds18 = 3; // Number of DS18B20 Sensors ui...
#include <stdlib.h> #include <OneWire.h> #include <DHT.h> #define DHTPIN 3 // DHT Temp & Humidity Pin #define DHTTYPE DHT22 // DHT 22 (AM2302) int ac_probe = 0; int dc_probe = 1; int led_pin = 13; int led_value = LOW; int fan_pin = 4; int ds18_01_pin = 2; const int num_ds18 = 3; // Number of DS18B20 Sensors ui...
Use pin names
Use pin names
Arduino
mit
panoptes/POCS,panoptes/PACE,panoptes/POCS,AstroHuntsman/POCS,AstroHuntsman/POCS,panoptes/POCS,AstroHuntsman/POCS,AstroHuntsman/POCS,panoptes/POCS
0272252e6aee03d0ee82a0495bc3d7419ef99f30
hardware/arduino/avr/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
hardware/arduino/avr/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
/* Software serial multple serial test Receives from the hardware serial, sends to software serial. Receives from software serial, sends to hardware serial. The circuit: * RX is digital pin 10 (connect to TX of other device) * TX is digital pin 11 (connect to RX of other device) Note: Not all pins on the Me...
/* Software serial multple serial test Receives from the hardware serial, sends to software serial. Receives from software serial, sends to hardware serial. The circuit: * RX is digital pin 10 (connect to TX of other device) * TX is digital pin 11 (connect to RX of other device) Note: Not all pins on the Me...
Update SoftwareSerialExample.ino
Update SoftwareSerialExample.ino Also includes Micros per https://www.arduino.cc/en/Reference/SoftwareSerial
Arduino
lgpl-2.1
nandojve/Arduino,stickbreaker/Arduino,me-no-dev/Arduino-1,stickbreaker/Arduino,PaoloP74/Arduino,me-no-dev/Arduino-1,Chris--A/Arduino,Chris--A/Arduino,bsmr-arduino/Arduino,majenkotech/Arduino,bsmr-arduino/Arduino,stickbreaker/Arduino,PaoloP74/Arduino,bsmr-arduino/Arduino,Chris--A/Arduino,stickbreaker/Arduino,stickbreake...
4b13b243179ee84e4ef4552c36c5e665d0ae7a11
client_arduino/arduino_client.ino
client_arduino/arduino_client.ino
#include <Arduino.h> #include <ESP8266WiFi.h> #include <SoftwareSerial.h> #include <time.h> #include <WiFiClientSecure.h> #include PRIKMETER_CONFIG_INCLUDE #include "buildinfo.h" #include "telegram_reader.h" #define SERIAL_RX_PIN D5 #define LED_PIN D4 #define P1_BUFFER_SIZE_BYTES 64 #define READ_TIMEOUT_MILLIS 5000...
#include <Arduino.h> #include <ESP8266WiFi.h> #include <SoftwareSerial.h> #include <time.h> #include <WiFiClientSecure.h> #include PRIKMETER_CONFIG_INCLUDE #include "buildinfo.h" #include "telegram_reader.h" #define SERIAL_RX_PIN D5 #define LED_PIN D4 #define P1_BUFFER_SIZE_BYTES 4096 #define READ_TIMEOUT_MILLIS 50...
Enlarge P1 buffer to hold a full telegram to avoid missing data (somehow)
Enlarge P1 buffer to hold a full telegram to avoid missing data (somehow)
Arduino
bsd-3-clause
ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter,ttencate/prikmeter
0c017e644af755f7286e7d9366ba8a7bfb9ee753
xmas-pixels.ino
xmas-pixels.ino
#include <Adafruit_NeoPixel.h> #include "animations.h" #include "fade_animation.h" #include "rainbow_animation.h" #include "sparks_animation.h" #include "theaterchase_animation.h" #include "rainbowcycle_animation.h" #define PIN 6 #define BUTTON_PIN 2 Adafruit_NeoPixel strip = Adafruit_NeoPixel(12, PIN); FadeAnimation...
#include <Adafruit_NeoPixel.h> #include "animations.h" #include "fade_animation.h" #include "rainbow_animation.h" #include "sparks_animation.h" #include "theaterchase_animation.h" #include "rainbowcycle_animation.h" #define PIN 6 #define BUTTON_PIN 2 #define ANIMATION_CYCLE_INTERVAL 30000 Adafruit_NeoPixel strip = Ad...
add animation cycling every 30 secs
add animation cycling every 30 secs
Arduino
mit
mcampo/xmas-pixels
3af3af10bab5344ca1fa9e40a920b85f9a6bb7d4
2018-Firefighter/2018-Firefighter.ino
2018-Firefighter/2018-Firefighter.ino
#include <Servo.h> #include <Ultrasonic.h> #define LEFT_SERVO_PIN 4 #define RIGHT_SERVO_PIN 5 #define IR_PIN 6 #define EXTINGUISHER_PIN 7 #define MIC_PIN 43 #define FLAME_LED 9 #define MIC_LED 11 #define BABY_LED 17 #define CAMERA 15 #define CAMERA_LED 16 #define FRONT_US_ECHO 2 #define FRONT_US_TRIG 3 Servo ...
#include <Servo.h> #include <Ultrasonic.h> #define LEFT_SERVO_PIN 4 #define RIGHT_SERVO_PIN 5 #define IR_PIN 6 #define EXTINGUISHER_PIN 7 #define MIC_PIN 43 #define FLAME_LED 9 #define MIC_LED 11 #define BABY_LED 17 #define CAMERA 15 #define CAMERA_LED 16 #define FRONT_US_ECHO 2 #define FRONT_US_TRIG 3 Servo ...
Update 2018-Firefighter.ino
Update 2018-Firefighter.ino
Arduino
mit
GW-Robotics/2018-Firefighter
47e34d46d1aaae798fb542f07a41ef908a851143
examples/RF12/ledNode/ledNode.ino
examples/RF12/ledNode/ledNode.ino
// Programmable color ramps for the LED drivers on the LED Node // 2011-10-26 <jcw@equi4.com> http://opensource.org/licenses/mit-license.php #include <JeeLib.h> #include <EEPROM.h> #include <avr/sleep.h> #define EEPROM_BASE 0x100 // store ramps starting at this offset #define RAMP_LIMIT 100 // room for ramps 0..99...
// Programmable color ramps for the LED drivers on the LED Node // 2011-10-26 <jcw@equi4.com> http://opensource.org/licenses/mit-license.php #include <JeeLib.h> #include <EEPROM.h> #include <avr/sleep.h> #define EEPROM_BASE 0x100 // store ramps starting at this offset #define RAMP_LIMIT 100 // room for ramps 0..99...
fix the PWM sync
fix the PWM sync
Arduino
unlicense
jcw/jeelib,jcw/jeelib
995a98227d012a1b5dbf655ad3f2e9fc9bcdb381
Arduino/Arduino.ino
Arduino/Arduino.ino
// This will be the code uploaded to the main control Arduino // INCLUDES #include <Servo.h> // SERVOS Servo throttle; Servo rotatingFront; Servo rotatingBack; Servo leftRight; Servo upDown; int pos = 90; // variable to store the servo position int ByteReceived; // store byte recieved via serial void setup...
// This will be the code uploaded to the main control Arduino // INCLUDES #include <Servo.h> // SERVOS Servo throttle; Servo rotatingFront; Servo rotatingBack; Servo leftRight; Servo upDown; // VARIABLES int pos = 90; // variable to store the servo position int ByteReceived; // store byte recieved via serial...
Update comments
Update comments
Arduino
apache-2.0
MagnusFlieger/Arduino
94d29f23203df91d2738305de23ff8bf3dda34fd
OS_moveToTarget.ino
OS_moveToTarget.ino
//------------------------------------------------------------------------------------------------ // * moveToTarget // This function is responsible for moving the stage to an absolute location. It takes two // inputs: an array of floats defining how much to move the stage in each axis and the step size. // The leng...
//------------------------------------------------------------------------------------------------ // * moveToTarget // This function is responsible for moving the stage to an absolute location. It takes two // inputs: an array of floats defining how much to move the stage in each axis and the step size. // The leng...
Remove verbose flag
Remove verbose flag
Arduino
agpl-3.0
raacampbell13/openstage,raacampbell13/openstage
86bc4fa88dd808961f9faa874a7a4d7758359aca
examples/Basics/PowerOFF/PowerOFF.ino
examples/Basics/PowerOFF/PowerOFF.ino
#include <M5Stack.h> // the setup routine runs once when M5Stack starts up void setup(){ // initialize the M5Stack object M5.begin(); // Lcd display M5.Lcd.println("This is software power off demo"); M5.Lcd.println("Press the button A to power off."); // Set the wakeup button M5.Power.setWakeupButto...
#include <M5Stack.h> // the setup routine runs once when M5Stack starts up void setup(){ // initialize the M5Stack object M5.begin(); // Lcd display M5.Lcd.println("This is software power off demo"); M5.Lcd.println("Press the button A to power off."); } // the loop routine runs over and over again forever...
Remove settin wakeup button from poserOFF example
Remove settin wakeup button from poserOFF example
Arduino
mit
m5stack/M5Stack,m5stack/M5Stack,m5stack/M5Stack
cefe36904e256e9dbaedddce10f53cf0403f72dc
examples/send_Blink/send_Blink.ino
examples/send_Blink/send_Blink.ino
// demo: CAN-BUS Shield, send data #include <mcp_can.h> #include <SPI.h> // the cs pin of the version after v1.1 is default to D9 // v0.9b and v1.0 is default D10 const int SPI_CS_PIN = 9; const int ledHIGH = 1; const int ledLOW = 0; MCP_CAN CAN(SPI_CS_PIN); // Set CS pin vo...
// demo: CAN-BUS Shield, send data #include <mcp_can.h> #include <SPI.h> // the cs pin of the version after v1.1 is default to D9 // v0.9b and v1.0 is default D10 const int SPI_CS_PIN = 9; const int ledHIGH = 1; const int ledLOW = 0; MCP_CAN CAN(SPI_CS_PIN); // Set CS pin vo...
Update comments.
Update comments.
Arduino
mit
Seeed-Studio/CAN_BUS_Shield,Seeed-Studio/CAN_BUS_Shield
9b6a8fd1e2c92c6049870c835bf5f67505bbac0d
firmware/examples/Transports/SparkCore/SparkCore.ino
firmware/examples/Transports/SparkCore/SparkCore.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 SparkCore.ino
Update SparkCore.ino
Arduino
mit
yaneexy/blynk-library-spark,yaneexy/blynk-library-spark,vshymanskyy/blynk-library-spark,chieftuscan/blynk-library-spark,vshymanskyy/blynk-library-spark,domo-connect/blynk-library-spark,domo-connect/blynk-library-spark,chieftuscan/blynk-library-spark
8405c6297a045d889a359217847ed5ca0e1f8f64
Programmer.ino
Programmer.ino
/* Programmer.ino Programmer for flashing Nordic nRF24LE1 SOC RF chips using SPI interface from an Arduino. Data to write to flash is fed from standard SDCC produced Intel Hex format file using the accompanying programmer.pl perl script. Start the Arduino script first and then run the perl script. When upload...
/* Programmer.ino Programmer for flashing Nordic nRF24LE1 SOC RF chips using SPI interface from an Arduino. Data to write to flash is fed from standard SDCC produced Intel Hex format file using the accompanying programmer.pl perl script. Start the Arduino script first and then run the perl script. When upload...
Disable nRF serial in tri-state
Disable nRF serial in tri-state
Arduino
mit
baruch/nRF24LE1_Programmer
e6643e671d80c6f8db2222796a90ad5f425a6e0c
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Arduino/Chain/d_open_manipulator_chain/d_open_manipulator_chain.ino
arduino/opencr_arduino/opencr/libraries/OpenManipulator/example/Arduino/Chain/d_open_manipulator_chain/d_open_manipulator_chain.ino
/******************************************************************************* * Copyright 2016 ROBOTIS CO., LTD. * * 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.o...
/******************************************************************************* * Copyright 2016 ROBOTIS CO., LTD. * * 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.o...
update motion
update motion
Arduino
apache-2.0
ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR
db9b88947527eec7e5196357c445aac0a1242f00
state_indicator.ino
state_indicator.ino
//*************************************************************** /* Machine State Indicator example Marc Miller, Aug 2017 Creating this sketch was inspired by this post: https://plus.google.com/u/0/+MichaelAndresen/posts/1xVDuFPsxUc Different colors or color patterns can visually indicate to an operator what state(s...
//*************************************************************** /* Machine State Indicator example Marc Miller, Aug 2017 Creating this sketch was inspired by this post: https://plus.google.com/u/0/+MichaelAndresen/posts/1xVDuFPsxUc Different colors or color patterns can visually indicate to an operator what state(s...
Update state_indicator.ino
Update state_indicator.ino spelling
Arduino
mit
marmilicious/FastLED_examples
f68199943d2c525cb3d6fdcbd0cfaf07427aa18b
libraries/CurieBle/examples/CallbackLED/CallbackLED.ino
libraries/CurieBle/examples/CallbackLED/CallbackLED.ino
/* Copyright (c) 2015 Intel Corporation. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version...
/* Copyright (c) 2015 Intel Corporation. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version...
Correct UUID
Correct UUID
Arduino
lgpl-2.1
yashaswini-hanji/corelibs-arduino101,yashaswini-hanji/corelibs-arduino101,sgbihu/corelibs-arduino101,sgbihu/corelibs-arduino101,bigdinotech/corelibs-arduino101,sandeepmistry/corelibs-arduino101,bigdinotech/corelibs-arduino101,bigdinotech/corelibs-arduino101,01org/corelibs-arduino101,sgbihu/corelibs-arduino101,sandeepmi...
be88a4a1cd3d1db92891694d82b46811d211f664
code/MotorController/MotorController.ino
code/MotorController/MotorController.ino
#include <Bounce.h> #include <UserTimer.h> const int CLOCKWISE = 1; const int COUNTER_CLOCKWISE = 0; #if defined(__AVR_ATmega328P__) // Arduino Pins const int speedInPin = A0; const int rateOfSpeedChangeInPin = A1; const int speedOutPin = 9; const int onOffSwitchInPin = 7; const int directionSwitchInPin = 6; const i...
#include <Bounce.h> #include <UserTimer.h> #include <Adafruit_LEDBackpack.h> #include <Adafruit_GFX.h> #include <TinyWireM.h> // NOTE: Depending on the version of the Arduino IDE in use, you may // need to follow the instructions at https://github.com/TCWORLD/ATTinyCore/tree/master/PCREL%20Patch%20for%20GCC // in orde...
Add RPM display and move to ATTiny84
Add RPM display and move to ATTiny84
Arduino
mit
SaintGimp/MotorController
14a9b9cbba50a427b5d80b11b78cd443bc390ea4
plant-monitor/plant-monitor.ino
plant-monitor/plant-monitor.ino
#include "Adafruit_Sensor.h" #include "Adafruit_BME280.h" #include "SparkFunPhant.h" #include "elapsedMillis.h" #define SEALEVELPRESSURE_HPA (1013.25) // control led const int led = D7; // BME280 sensor Adafruit_BME280 bme; double temperature = 0; double pressure = 0; double altitude = 0; double humidity = 0; // mo...
#include "Adafruit_Sensor.h" #include "Adafruit_BME280.h" #include "SparkFunPhant.h" #include "elapsedMillis.h" #define SEALEVELPRESSURE_HPA (1013.25) // control led const int led = D7; // BME280 sensor Adafruit_BME280 bme; double temperature = 0; double pressure = 0; double altitude = 0; double humidity = 0; // mo...
fix json string
fix json string
Arduino
apache-2.0
mhaack/Particle-Photon-Apps
0915a938b71619a9cc658c3191c11fd27081f1ae
examples/AstronomyDemo/AstronomyDemo.ino
examples/AstronomyDemo/AstronomyDemo.ino
#include <ESP8266WiFi.h> #include <time.h> #include <Astronomy.h> /** * WiFi Settings */ const char* WIFI_SSID = "yourssid"; const char* WIFI_PASSWORD = "yourpassw0rd"; // initiate the WifiClient WiFiClient wifiClient; #define UTC_OFFSET 1 #define DST_OFFSET 1 #define NTP_SERVERS "us.pool.ntp.org", "time.nist...
/**The MIT License (MIT) Copyright (c) 2018 by ThingPulse 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,...
Add header to demo class
Add header to demo class
Arduino
mit
squix78/esp8266-weather-station
a852f5cda020742a2225ae5de40df05ffba84349
counter/counter.ino
counter/counter.ino
#include <Bridge.h> #include "thingspeakReceiver.h" ThingspeakReceiver thingspeakReceiver; #include <Adafruit_LEDBackpack.h> #include <Adafruit_GFX.h> #include <Wire.h> #define PIN_LED_KO 12 #define PIN_LED_OK 13 Adafruit_7segment matrix = Adafruit_7segment(); void setup() { pinMode(PIN_LED_KO, OUTPUT); ...
#include <Bridge.h> #include "logger.h" #include "thingspeakReceiver.h" ThingspeakReceiver thingspeakReceiver; #include <Adafruit_LEDBackpack.h> #include <Adafruit_GFX.h> #include <Wire.h> #define PIN_LED 13 Adafruit_7segment matrix = Adafruit_7segment(); void setup() { pinMode(PIN_LED, OUTPUT); Bridge.be...
Remove non-necessary code for the demo
Remove non-necessary code for the demo
Arduino
mit
Zenika/bottleopener_iot,Zenika/bottleopener_iot,Zenika/bottleopener_iot,Zenika/bottleopener_iot
d9e3c993efe508b8e3b0716bc653ecef5331f8e2
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...
Increase servo delay to account for refresh interval (20ms)
Increase servo delay to account for refresh interval (20ms)
Arduino
apache-2.0
acj/dee-oh-tee
63c633fb94e2e382d23ad904056088c91562e773
examples/httpserver/httpserver.ino
examples/httpserver/httpserver.ino
/* * WiFlyHQ Example httpserver.ino * * This sketch implements a simple Web server that waits for requests * and servers up a small form asking for a username, then when the * client posts that form the server sends a greeting page with the * user's name and an analog reading. * * This sketch is released to the...
/* * WiFlyHQ Example httpserver.ino * * This sketch implements a simple Web server that waits for requests * and serves up a small form asking for a username, then when the * client posts that form the server sends a greeting page with the * user's name and an analog reading. * * This sketch is released to the ...
Fix a couple of typos
Fix a couple of typos
Arduino
bsd-2-clause
harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ
a37fd03d59a1ca6d8c34461a605e215b9feda888
examples/si7051demo/si7051demo.ino
examples/si7051demo/si7051demo.ino
/************************************************************************************** This is example for ClosedCube Si7051 ±0.1°C Digital Temperature Sensor breakout board Initial Date: 15-May-2016 Hardware connections for Arduino Uno: VDD to 3.3V DC SCL to A5 SDA to A4 GND to common ground Written by AA for ...
/************************************************************************************** This is example for ClosedCube Si7051 ±0.1°C Digital Temperature Sensor breakout board Initial Date: 15-May-2016 Hardware connections for Arduino Uno: VDD to 3.3V DC SCL to A5 SDA to A4 GND to common ground Written by AA for ...
Update si7051demo.ino
Update si7051demo.ino
Arduino
bsd-3-clause
closedcube/ClosedCube_Si7051_Arduino
92abb1e76b81e232d1b48d1056af9677ebf978d6
DroidMain/motor.ino
DroidMain/motor.ino
/* * Motor handling functions * */ void driveMotors() { Serial.println(__func__); /* This function will run the motors across the range of possible speeds. * Note that maximum speed is determined by the motor itself and the operating voltage. * the PWM values sent by analogWrite() are fracti...
/* * Motor handling functions * */ void driveMotors() { if (debugging == true) { Serial.println(__func__);} /* This function will run the motors across the range of possible speeds. * Note that maximum speed is determined by the motor itself and the operating voltage. * the PWM values sent b...
Update motor.ino
Update motor.ino Debugging flag activated
Arduino
mit
TampereTC/IOT-Rally-2016-MQTT,TampereTC/IOT-Rally-2016-MQTT
00d636bd32e44ed2a5d7a6f814a943446eea7db3
GarHAge/GarHAge.ino
GarHAge/GarHAge.ino
/* * GarHAge * a Home-Automation-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 in c...
/* * GarHAge * a Home-Automation-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 in c...
Revert "Added 10s delay before birth message response"
Revert "Added 10s delay before birth message response" This reverts commit 0f5dcd10d4795c8bdd11e9fa51a080ce6a57fba4.
Arduino
mit
marthoc/GarHAge
ff700fea5582796a84c1e89363b109c583e1d166
Guzheng/Guzheng.ino
Guzheng/Guzheng.ino
/* Code for laser guzheng * Copyright (C) 2016 Jason Lu * * Licensed under the MIT License */ /* Uncomment the define if you are using a wind instrument, such * as a trumpet or flute. It will disable several things that * are specific to string and percussion instruments. DO NOT * uncomment it if you are usi...
/* Code for laser guzheng * Copyright (C) 2016 Jason Lu * * Licensed under the MIT License */ /* Uncomment the define if you are using a wind instrument, such * as a trumpet or flute. It will disable several things that * are specific to string and percussion instruments. DO NOT * uncomment it if you are usi...
Fix multiple hit detection
Fix multiple hit detection
Arduino
mit
PoisonNinja/LaserHarp,PoisonNinja/LaserHarp,PoisonNinja/LaserHarp
ca2838b32fb4c186d61905435591d279e850c9d7
core.ino
core.ino
#include "core.h" char inBuffer[BUFFER_SIZE+1]; int inBufferLen = 0; char inDataBuffer[CHANNELS][BUFFER_SIZE+1]; int inDataBufferLen[CHANNELS]; boolean httpRequestRead[CHANNELS]; boolean open[CHANNELS]; unsigned char state = 0; Stream* espStream = &ESP_SERIAL; boolean debugPrevNoData = false; boolean unread = ...
#include "core.h" char inBuffer[BUFFER_SIZE+1]; int inBufferLen = 0; char inDataBuffer[CHANNELS][BUFFER_SIZE+1]; int inDataBufferLen[CHANNELS]; boolean httpRequestRead[CHANNELS]; boolean open[CHANNELS]; unsigned char state = 0; Stream* espStream = &ESP_SERIAL; boolean debugPrevNoData = false; boolean unread = ...
Abort send on too many tries
Abort send on too many tries
Arduino
mit
aalku/Arduino_ESP8266_HttpServer
ef3fa2eaa861c0b6fc7b75e35122e139a0252e26
examples/ESP_AsyncHTTPd/ESP_AsyncHTTPd.ino
examples/ESP_AsyncHTTPd/ESP_AsyncHTTPd.ino
// This demo requires a modified ESP8266 Arduino, found here: // https://github.com/Adam5Wu/Arduino // This demo requires ESPVFATFS library, found here: // https://github.com/Adam5Wu/ESPVFATFS #define NO_GLOBAL_SPIFFS #include <vfatfs_api.h> #include <ESP8266WiFi.h> #include <ESPAsyncWebServer.h> #include <sys/time...
// This demo requires a modified ESP8266 Arduino, found here: // https://github.com/Adam5Wu/Arduino // This demo requires ESPVFATFS library, found here: // https://github.com/Adam5Wu/ESPVFATFS #define NO_GLOBAL_SPIFFS #include <vfatfs_api.h> #include <ESP8266WiFi.h> #include <ESPAsyncWebServer.h> #include <sys/time...
Adjust example to compile with new implementation
Adjust example to compile with new implementation
Arduino
lgpl-2.1
Adam5Wu/ESPAsyncWebServer,Adam5Wu/ESPAsyncWebServer
8165284be1e717bb79d9053cc05eb442517debf5
homemonitor/homemonitor.ino
homemonitor/homemonitor.ino
/* Temperature Monitoring system The circuit: * SD card attached to SPI bus as follows: ** MOSI - pin 11 ** MISO - pin 12 ** CLK - pin 13 ** CS - pin 4 filename has to be short :\ *NOTE* */ // SD storage stuff #include <SD.h> // Modified SD.cpp in SD library to allow for multiple SD.begin() calls // Add to Line 343...
/* Temperature Monitoring system The circuit: * SD card attached to SPI bus as follows: ** MOSI - pin 11 ** MISO - pin 12 ** CLK - pin 13 ** CS - pin 4 filename has to be short :\ *NOTE* */ // #define SERIAL_OUTPUT // for debugging // SD storage stuff #include <SD.h> // Modified SD.cpp in SD library to allow for m...
remove serial output with #define
remove serial output with #define
Arduino
mit
Elucidation/ArduinoTemperatureLogger,Elucidation/ArduinoTemperatureLogger
33880c6216f84fe00a66ed25fcea1b94fd63f3df
BlackLED.ino
BlackLED.ino
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // initial user defined settings // ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #define NUM_OF_OUTP...
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // initial user defined settings // ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #define NUM_OF_OUTP...
remove last fastled stuff
remove last fastled stuff
Arduino
mit
vertigo-dk/VertigoLED,vertigo-dk/VardeLED,vertigo-dk/BlackLED
c33d4ebb8e910d48c005a6ed38685b8384f83b97
examples/IRsendProntoDemo/IRsendProntoDemo.ino
examples/IRsendProntoDemo/IRsendProntoDemo.ino
/* IRremoteESP8266: IRsendProntoDemo * Copyright 2017 David Conran * * Demonstrates sending Pronto codes with IRsend. * * Version 1.0 June, 2017 * * An IR LED circuit *MUST* be connected to ESP8266 pin 4 (D2), unless you * change the kIrLed value below. * * TL;DR: The IR LED needs to be driven by a transistor...
/* IRremoteESP8266: IRsendProntoDemo * Copyright 2017 David Conran * * Demonstrates sending Pronto codes with IRsend. * * Version 1.0 June, 2017 * * An IR LED circuit *MUST* be connected to ESP8266 pin 4 (D2), unless you * change the kIrLed value below. * * TL;DR: The IR LED needs to be driven by a transistor...
Fix compile issue on ESP32 platform. (#938)
Fix compile issue on ESP32 platform. (#938) Hat tip to @augustozanellato for finding the issue. Ref #885 & #936
Arduino
lgpl-2.1
markszabo/IRremoteESP8266,markszabo/IRremoteESP8266,markszabo/IRremoteESP8266,markszabo/IRremoteESP8266
583cdfe5883da399a2d9e7f79b647fd35dcae19d
aquacontrol32.ino
aquacontrol32.ino
#include "SPI.h" /* should be installed together with ESP32 Arduino install */ #include "SPIFFS.h" /* should be installed together with ESP32 Arduino install */ #include <ESPmDNS.h> /* should be installed together with ESP32 Arduino install */ #include <Preferences.h> ...
#include "SPI.h" /* should be installed together with ESP32 Arduino install */ #include "SPIFFS.h" /* should be installed together with ESP32 Arduino install */ #include <ESPmDNS.h> /* should be installed together with ESP32 Arduino install */ #include <Preferences.h> ...
Update version to 1.0.0.
Update version to 1.0.0. Out of beta!
Arduino
mit
CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32,CelliesProjects/aquacontrol32
07c30ea2344603eb56a4bdc65ef4f70d18395940
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...
Correct verion info
Correct verion info
Arduino
mit
toblum/McLighting,toblum/McLighting,toblum/McLighting,toblum/McLighting
1d0173b527f913ff9360a0c198fd8bcdeb2b2ec6
Treadmill/Treadmill.ino
Treadmill/Treadmill.ino
int set_speed = 0, set_speed_old = 0; void setup(){ Serial.begin(115200); pinMode(CS, OUTPUT); pinMode(UD, OUTPUT); pinMode(CLK, OUTPUT); //hold current pot resistance digitalWrite(CS, HIGH); digitalWrite(CLK, HIGH); } void loop(){ if (Serial.available() > 0){ char c = Serial.read(); //c...
/* Program to control the AD5220 digipot via UART. The pot is initialized at max resistance then controlled with the '+' and '-' characters. */ //control pins on AD5220 int CLK = 8, UD = 9, CS = 10; //serial byte char set_speed; //parameter for counting time unsigned long previousMillis = 0; //to measure wiper voltag...
Update Treadmill.ino
Update Treadmill.ino
Arduino
apache-2.0
alexmartinnnnnn/Mr_Runner_Servo
e8eed23d500ee95e54e1c10ed74256c0950e0227
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 beginnings of pong. Completely untested.
Add beginnings of pong. Completely untested.
Arduino
bsd-2-clause
RandomInsano/BlinkenScreen
e4032e1d0d18a494137d513e461f1940deac103f
arduino/rainbow_cloud/rainbow_cloud/rainbow_cloud.ino
arduino/rainbow_cloud/rainbow_cloud/rainbow_cloud.ino
#include <TimedAction.h> #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif #define PIN 7 #define NUM_PIXELS 300 #define NUM_TWINKLES 4 // Parameter 1 = number of pixels in strip // Parameter 2 = Arduino pin number (most are valid) // Parameter 3 = pixel type flags, add together as needed: ...
#include <TimedAction.h> #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif #define PIN 7 #define NUM_PIXELS 300 #define NUM_TWINKLES 4 // Parameter 1 = number of pixels in strip // Parameter 2 = Arduino pin number (most are valid) // Parameter 3 = pixel type flags, add together as needed: ...
Change up the twinkle timing a bit.
Change up the twinkle timing a bit.
Arduino
apache-2.0
feanil/thunder-lights,feanil/thunder-lights,feanil/thunder-lights