This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <ArduinoJson.h> | |
#include <EEPROM.h> | |
#include <Snooze.h> | |
#include <Wire.h> | |
#include <sensirion_ess.h> | |
#define INTERVAL 1000 | |
#define PIN_BT_EN 2 | |
#define PIN_ISR 7 | |
#define PIN_LORA 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/rac/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/rac/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/rac/Documents/Arduino/libraries -fqbn=esspresif:esp32:nina_w10:UploadSpeed=921600 -ide-version=10805 -build-path /Users/rac/arduino-builds-tmp -warnings=none -build-cache /var/folders/ml/drsxdr5n0jg5631n428wm_tr0000gn/T/arduino_cache_567123 -prefs=build.warn_data_percentage=75 -verbose /Users/rac/Documents/Arduino/tryouts/BareMinimum/BareMinimum.ino | |
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/rac/Library/Arduino15/packages -tools /Applications/Arduino.app/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <esp_sleep.h> | |
// Identifier of the badge, used for communication | |
uint64_t chipid; | |
// PINS | |
// Buttons | |
const byte BTN1 = D19; | |
const uint64_t BTN1_mask = 1ULL << BTN1; | |
const byte BTN2 = D8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#include <EEPROM.h> | |
/** the current address in the EEPROM (i.e. which byte we're going to write to next) **/ | |
int addr = 0; | |
#define OLED_RESET 4 // not used / nicht genutzt bei diesem Display |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* light_ws2812 example | |
* Fade LEDs in R, G, B order; demonstrate functions for changing color order. | |
* | |
* Created: September 6, 2014 | |
* Author: Windell Oskay (www.evilmadscientist.com) | |
*/ | |
#include <FastLED.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* LED siren example for MakeZurich badge 2018 | |
*/ | |
#include "FastLED.h" | |
#define NUM_LEDS 2 | |
#define DATA_PIN 27 // GPIO18 | |
// Delays used inside siren algorithm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* i2c_port_address_scanner | |
* Scans ports D0 to D7 on an ESP8266 and searches for I2C device. based on the original code | |
* available on Arduino.cc and later improved by user Krodal and Nick Gammon (www.gammon.com.au/forum/?id=10896) | |
* D8 throws exceptions thus it has been left out | |
* | |
*/ | |
#include <Wire.h> | |
#include "FastLED.h" |