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) 2021 Hisaya OKADA | |
* Released under the MIT license | |
* https://opensource.org/licenses/mit-license.php | |
*/ | |
#define IMAGE_BUFFER_SIZE 10 * 1024 | |
#define IMAGE_ICON_DIR "/icons" | |
#define FONT_FILE_PATH "/fonts/KosugiMaru-Regular.ttf" | |
#define TINY_GSM_MODEM_UBLOX | |
#define CONSOLE Serial |
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) 2021 Hisaya OKADA | |
* Released under the MIT license | |
* https://opensource.org/licenses/mit-license.php | |
*/ | |
#define IMAGE_BUFFER_SIZE 10 * 1024 | |
#define IMAGE_ICON_DIR "/icons" | |
#define FONT_FILE_PATH "/fonts/KosugiMaru-Regular.ttf" | |
#define TINY_GSM_MODEM_UBLOX | |
#define CONSOLE Serial |
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 <Wire.h> | |
#include <MsgPack.h> | |
#include "DHT.h" | |
#include "Seeed_BMP280.h" | |
#include "LIS3DHTR.h" | |
// Pin assignments for digital/analog input | |
char led = 4; | |
char buzzer = 5; | |
char button = 6; |
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
/* | |
* send_uptime_with_soracom_for_long_time.ino | |
* Uptime(Working time from bootup) send to Cloud via Unified Endpoint of SORACOM | |
* | |
* Copyright (c) 2020 SORACOM, INC. | |
* This software is released under the MIT License. | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
#define CONSOLE Serial |
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
#define TINY_GSM_MODEM_SIM7080 | |
#define CONSOLE Serial | |
#include <M5Core2.h> | |
#include <Wire.h> | |
#include <WiFi.h> | |
#include <WireGuard-ESP32.h> | |
#include <TinyGsmClient.h> |