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
/** | |
* \par Copyright (C), 2012-2016, MakeBlock | |
* @file Me_LEDMatrixTest.ino | |
* @author MakeBlock (modified by Petr Lukas) | |
* @version V1.0.0 | |
* @date 2019/05/12 | |
* @brief Description: this file is sample code for Me LED Matrix device. | |
* | |
* Function List: | |
* clearScreen() Remove content of 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
void setup() { | |
Serial.begin(115200); | |
} | |
void loop() { | |
int measurement = 0; | |
measurement = hallRead(); | |
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
/************************************************************* | |
Hue @ D1 mini Pro (ESP8266) | |
Basic demo of switch based on IR sensor to demonstrate | |
communication between ESP and Hue gateway | |
Version: 1.00 | |
by Petr Lukas | |
Functionality: | |
Identify IR signal and switch light on and off using IR remote control. | |
*************************************************************/ |
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_NeoPixel.h> | |
#define PIN 38 | |
#define NUMPIXELS 1 | |
Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); | |
void setup() { | |
Serial.begin(115200); | |
pixels.begin(); |
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
/************************************************************* | |
Wemos Lolin D32 PRO (ESP32) | |
Basic demo | |
by Petr Lukas | |
*************************************************************/ | |
#include <Adafruit_GFX.h> // Core graphics library | |
#include <Adafruit_ST7735.h> // Hardware-specific library | |
#include <WEMOS_SHT3X.h> // SHT30 library | |
#include <SPI.h> | |
#include <SD.h> // SD card library |
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 <GxEPD.h> | |
#include <GxGDEP015OC1/GxGDEP015OC1.cpp> | |
#include <Fonts/OpenSansBold12pt7b.h> | |
#include <Fonts/OpenSansBold14pt7b.h> | |
#include <Fonts/OpenSansBold30pt7b.h> | |
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp> | |
#include <GxIO/GxIO.cpp> | |
#include GxEPD_BitmapExamples |
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_Rotate.h> | |
EEPROM_Rotate EEPROMr; | |
#define DATA_OFFSET 10 | |
void setup() { | |
Serial.begin(115200); | |
delay(2000); | |
EEPROMr.size(4); | |
EEPROMr.begin(4096); |
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
/******************************************************************************* | |
* Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman | |
* | |
* Permission is hereby granted, free of charge, to anyone | |
* obtaining a copy of this document and accompanying files, | |
* to do whatever they want with them without any restriction, | |
* including, but not limited to, copying, modification and redistribution. | |
* NO WARRANTY OF ANY KIND IS PROVIDED. | |
* | |
* This example sends a valid LoRaWAN packet with payload "Hello, |
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 <WiFi.h> | |
#include <HTTPClient.h> | |
#include <ArduinoJson.h> | |
#include <TM1637Display.h> | |
#define CLK 32 | |
#define DIO 33 | |
const uint8_t CELSIUS[] = {SEG_A | SEG_D | SEG_E | SEG_F}; | |
const uint8_t MINUS[] = {SEG_G}; |
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 <BME280_MOD-1022.h> | |
#include <Wire.h> | |
// Wifi and ThingSpeak settings | |
#include <ESP8266WiFi.h> | |
const char* ssid = "Your SSID"; | |
const char* password = "Your password"; | |
const char* server = "api.thingspeak.com"; |
NewerOlder