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 <EEPROM.h> | |
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#include <Wire.h> | |
#include <Adafruit_INA219.h> | |
// Connect to the WiFi | |
const char* ssid = "Dear John"; | |
const char* password = "password123"; | |
const char* mqtt_server = "macman"; |
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 <Timer.h> | |
#include <LcdKeypad.h> | |
/**************************************************************************/ | |
/*! | |
This is a demo for the Adafruit MCP9808 breakout | |
----> http://www.adafruit.com/products/1782 | |
Adafruit invests time and resources providing this open source code, | |
please support Adafruit and open-source hardware by purchasing |
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 <Adafruit_GFX.h> | |
#include <gfxfont.h> | |
// Adafruit_NeoMatrix example for single NeoPixel Shield. | |
// Scrolls 'Howdy' across the matrix in a portrait (vertical) orientation. | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_NeoMatrix.h> | |
#include <Adafruit_NeoPixel.h> | |
#ifndef PSTR |
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 <Adafruit_GFX.h> | |
#include <gfxfont.h> | |
// Adafruit_NeoMatrix example for single NeoPixel Shield. | |
// Scrolls 'Howdy' across the matrix in a portrait (vertical) orientation. | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_NeoMatrix.h> | |
#include <Adafruit_NeoPixel.h> | |
#ifndef PSTR |
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
/* | |
Adafruit HUZZAH ESP8266 Board, MQTT application for IoF (Internet of Fish) | |
To install the HUZZAH board, (using Arduino 1.6.4+): | |
- Add the following 3rd party board manager under "File -> Preferences -> Additional Boards Manager URLs": | |
http://arduino.esp8266.com/stable/package_esp8266com_index.json | |
- Open the "Tools -> Board -> Board Manager" and click install for the ESP8266" | |
- Select your ESP8266 in "Tools -> Board" | |
PubSubClient GitHub repository can be found here: https://github.com/knolleary/pubsubclient |
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
/*************************************************** | |
This is an example for our Adafruit 16-channel PWM & Servo driver | |
Servo test - this will drive 16 servos, one after the other | |
Pick one up today in the adafruit shop! | |
------> http://www.adafruit.com/products/815 | |
These displays use I2C to communicate, 2 pins are required to | |
interface. For Arduino UNOs, thats SCL -> Analog 5, SDA -> Analog 4 |
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
/** | |
* Micro-Professor MPF-1 Tape File generator based on Arduino. | |
* | |
* Arduino Sketch: MPF_1_TapeFileGen | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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 "Timer.h" // https://github.com/dniklaus/arduino-utils-timer | |
#include "ToggleButton.h" // https://github.com/dniklaus/arduino-toggle-button | |
const int cBlnkStatBtn = ToggleButton::BTN_NC; | |
const int cBlnkStatInd = ToggleButton::IND_NC; | |
const int cBlnkLed = LED_BUILTIN; | |
const unsigned long cBlinkTimeMillis = 200; | |
ToggleButton* blinkStatus = 0; | |
Timer* blinkTimer = 0; |
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
/** | |
* This Arduino Sketch demonstrates the Timer library usage when multiple timers have to run concurrently. | |
* The Timer library can be along with its documentation can be found here: | |
* [wiring-timer](https://github.com/dniklaus/wiring-timer) | |
*/ | |
#include <Timer.h> | |
void func30s(); | |
void func45s(); |
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
/* | |
* AnUltrasonicSensorAdapter.cpp | |
* | |
* Created on: 30.07.2014 | |
* Author: niklausd | |
*/ | |
#include "Arduino.h" | |
#include "CmdSequence.h" | |
#include <AnUltrasonicSensorAdapter.h> |