Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ydniw's full-sized avatar
🏠
Working from home

windyhen ydniw

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