Created
November 15, 2018 06:51
-
-
Save KornWtp/a026c653b5665ccf16b02ceb5aca6709 to your computer and use it in GitHub Desktop.
NBIoT_ESP32.io
This file contains hidden or 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); | |
| Serial.println("Chiang Mai Maker Club's AT-Bridge engine is started."); | |
| Bridge.init(&Serial, &Serial2); | |
| } | |
| void loop() | |
| { | |
| Bridge.loop(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment