Skip to content

Instantly share code, notes, and snippets.

Working from home

windyhen ydniw

Working from home
View GitHub Profile
ydniw / Arduino SIM800 mqtt
Created February 19, 2022 19:14 — forked from shahrulnizam/Arduino SIM800 mqtt
Arduino Lesson: SIM800 mqtt
View Arduino SIM800 mqtt
#include <SoftwareSerial.h>
#include <TinyGsmClient.h>
#include <PubSubClient.h>
SoftwareSerial SerialAT(2,3); // RX, TX
//Network details
const char apn[] = "my3g";