This file contains hidden or 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
//Wrmhl | |
//PortName: COM21 | |
//Baud Rate: 250000 | |
//Read Timeout: -1 | |
//Queue lenght: 10 | |
//v2.0 | |
//16 Circle Neopixel | |
//I2C LCD 16x2 | |
//Slide Pot (Robotale) |
This file contains hidden or 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
//Wifi | |
#include <ESP8266WiFi.h> | |
#ifndef STASSID | |
#define STASSID "" | |
#define STAPSK "" | |
#endif | |
const char* ssid = STASSID; | |
const char* password = STAPSK; | |
char* netbios_name = "RFLINK"; |
This file contains hidden or 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
//Wifi | |
#include <WiFi.h> | |
#include <WiFiClientSecure.h> | |
#include <ESPmDNS.h> | |
const char* SSID = ""; | |
const char* PASSWORD = ""; | |
const char* NAME = "sensor1"; | |
//MQTT | |
#include "Adafruit_MQTT.h" |
This file contains hidden or 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
/* | |
BLE Midi 8 Buttons | |
by Rémi Sarrailh | |
by Olivier Sarrailh | |
Based on BLE_MIDI Example by neilbags | |
https://github.com/neilbags/arduino-esp32-BLE-MIDI | |
Based on BLE_notify example by Evandro Copercini. | |
Creates a BLE MIDI service and characteristic. |
This file contains hidden or 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
/* | |
BLE Midi 8 Buttons | |
by Rémi Sarrailh | |
by Olivier Sarrailh | |
Based on BLE_MIDI Example by neilbags | |
https://github.com/neilbags/arduino-esp32-BLE-MIDI | |
Based on BLE_notify example by Evandro Copercini. | |
Creates a BLE MIDI service and characteristic. |
This file contains hidden or 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
/* | |
BLE Midi 4 Buttons by Rémi Sarrailh | |
Based on BLE_MIDI Example by neilbags | |
https://github.com/neilbags/arduino-esp32-BLE-MIDI | |
Based on BLE_notify example by Evandro Copercini. |
This file contains hidden or 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
#define MY_NODE_ID 4 // Static ID | |
#define MY_PARENT_NODE_ID 1 // Static ID | |
#define CHILD_PIR 1 | |
int battery_Value; | |
// Enable and select radio type attached | |
#define MY_RADIO_RFM95 | |
#define MY_RFM95_ENABLE_ENCRYPTION | |
#define MY_RFM95_IRQ_PIN (2) | |
#define MY_RFM95_IRQ_NUM digitalPinToInterrupt(2) | |
#define MY_RFM95_CS_PIN 6 |
This file contains hidden or 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 "nRF24L01.h" | |
#include <RF24.h> | |
#include "printf.h" | |
// SETTINGS | |
#define CE_PIN 9 | |
#define CSN_PIN 10 | |
RF24 radio(CE_PIN, CSN_PIN); |
This file contains hidden or 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
/** | |
* The MySensors Arduino library handles the wireless radio link and protocol | |
* between your home built sensors/actuators and HA controller of choice. | |
* The sensors forms a self healing radio network with optional repeaters. Each | |
* repeater and gateway builds a routing tables in EEPROM which keeps track of the | |
* network topology allowing messages to be routed to nodes. | |
* | |
* Created by Henrik Ekblad <[email protected]> | |
* Copyright (C) 2013-2015 Sensnology AB | |
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors |
This file contains hidden or 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
/** | |
* The MySensors Arduino library handles the wireless radio link and protocol | |
* between your home built sensors/actuators and HA controller of choice. | |
* The sensors forms a self healing radio network with optional repeaters. Each | |
* repeater and gateway builds a routing tables in EEPROM which keeps track of the | |
* network topology allowing messages to be routed to nodes. | |
* | |
* Created by Henrik Ekblad <[email protected]> | |
* Copyright (C) 2013-2015 Sensnology AB | |
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors |