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
mvn archetype:create-from-project |
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
const char* WIFI_SSID = "yourssid"; | |
const char* WIFI_PWD = "yourpassw0rd"; |
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
// WIFI | |
const char* WIFI_SSID = "yourssid"; | |
const char* WIFI_PWD = "yourpassw0rd"; | |
// Setup | |
const int UPDATE_INTERVAL_SECS = 10 * 60; // Update every 10 minutes | |
// Display Settings | |
const int I2C_DISPLAY_ADDRESS = 0x3c; | |
const int SDA_PIN = D3; |
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
/*************************** | |
* Begin Settings | |
**************************/ | |
const char* ssid = "yourssid"; | |
const char* password = "yourpassw0rd"; | |
const char* host = "api.thingspeak.com"; |
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
//Thingspeak Settings | |
const String THINGSPEAK_CHANNEL_ID = "67284"; | |
const String THINGSPEAK_API_READ_KEY = "L2VIW20QVNZJBLAK"; |
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
import processing.serial.*; | |
int lf = 10; // Linefeed in ASCII | |
String myString = null; | |
Serial myPort; // The serial port | |
int rad = 5; // Width of the shape | |
void setup() { | |
size(1024, 768); | |
noStroke(); |
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
// Wii Remote IR sensor test sample code by kako http://www.kako.com | |
// modified output for Wii-BlobTrack program by RobotFreak http://www.letsmakerobots.com/user/1433 | |
// modified for http://DFRobot.com by Lumi, Jan. 2014 | |
// Adapted 2016 by D. Eichhorn for ESP8266 http://blog.squix.ch | |
#include <Wire.h> | |
int IRsensorAddress = 0xB0; | |
//int IRsensorAddress = 0x58; | |
int slaveAddress; |
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 <DHT.h> | |
/**The MIT License (MIT) | |
Copyright (c) 2016 by Daniel Eichhorn | |
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, publish, distribute, sublicense, and/or sell |
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
[..] | |
void ExampleListener::key(String key) { | |
currentKey_ = key; | |
} | |
void ExampleListener::value(String key) { | |
if (currentKey_ == "name") { | |
name_ = value; | |
} else if (currentKey_ == "city") { | |
city_ = value; |
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
class JsonListener { | |
public: | |
virtual void whitespace(char c) = 0; | |
virtual void startDocument() = 0; | |
virtual void key(String key) = 0; | |
virtual void value(String value) = 0; | |
virtual void endArray() = 0; | |
virtual void endObject() = 0; | |
virtual void endDocument() = 0; | |
virtual void startArray() = 0; |
OlderNewer