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 <CMMC_NB_IoT.h> | |
#define FONA_PWRKEY 18 | |
#define FONA_RST 5 | |
CMMC_NB_IoT nb; | |
CMMC_AT_Bridge &Bridge = nb.Bridge; | |
// Power on the module |
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 <DYIRDaikin.h> | |
#define DYIRDAIKIN_SOFT_IR | |
DYIRDaikin irdaikin; | |
int isOn; | |
void setup() | |
{ |
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 <TinyGPS++.h> | |
#include <HardwareSerial.h> | |
TinyGPSPlus gps; | |
HardwareSerial mySerial1(1); | |
int timezone = 7; |
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 <CMMC_NB_IoT.h> | |
CMMC_NB_IoT nb; | |
CMMC_AT_Bridge &Bridge = nb.Bridge; | |
void setup() | |
{ | |
Serial.begin(57600); | |
Serial2.begin(9600); |
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
pip install -U platformio |
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 <epd.h> | |
void base_draw(void){ | |
int i, j; | |
/* | |
draw pixel | |
*/ |
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 <Adafruit_ADS1015.h> | |
// Adafruit_ADS1115 ads; /* Use this for the 16-bit version */ | |
Adafruit_ADS1015 ads1(0x48); | |
Adafruit_ADS1015 ads2(0x49); | |
void setup(void) | |
{ | |
Serial.begin(9600); |
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 <U8g2lib.h> | |
#include <TinyGPS++.h> | |
#include <HardwareSerial.h> | |
#include <TimeLib.h> | |
#define TXPin (16) | |
#define RXPin (17) | |
#ifdef U8X8_HAVE_HW_SPI |
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 <U8g2lib.h> | |
#include <TinyGPS++.h> | |
#include <HardwareSerial.h> | |
#define TXPin (16) | |
#define RXPin (17) | |
#ifdef U8X8_HAVE_HW_SPI | |
#include <SPI.h> |
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 <TinyGPS++.h> | |
#include <HardwareSerial.h> | |
#define RXPin (16) | |
#define TXPin (17) | |
static const uint32_t GPSBaud = 9600; | |
// The TinyGPS++ object | |
TinyGPSPlus gps; |