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
/* | |
* Arduino snippet for controlling a MY1680U-12P | |
* using the MY1680U-16S chip for MP3 playback | |
*/ | |
#include <SoftwareSerial.h> | |
SoftwareSerial mySerial(8, 9); | |
#define START_CODE 0x7E | |
#define END_CODE 0xEF |
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
/* | |
* Basic sketch to send a message to Dweet.io using GET | |
* This sketch is written specifically for the SIM7600E-H | |
* This specific version is for TTGO LoRa with Oled. Note | |
* that you cannot use the OLED with Serial since the OLED | |
* Reset pin conflicts with RX2. | |
* | |
* Connect the R pin on the module to pin 16 on the ESP32 | |
* Connect the T pin on the module to pin 17 on the ESP32 | |
* |
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
/* | |
* Basic sketch to send a message to Dweet.io using GET | |
* This sketch is written specifically for the SIM7600E-H | |
* This specific version is for Particle Photon. | |
* | |
* Connect the R pin on the module to pin 19 on the Photon | |
* Connect the T pin on the module to pin 18 on the Photon | |
* | |
* Also enter your own deviceName below (replace "8675840") | |
* and you can then go and see the result at |
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
/* | |
* Basic sketch to talk to the SIM7600E-H using your | |
* Serial monitor. Enter AT commands in the Serial Monitor | |
* input and see the response from the module. | |
* | |
* Connect the R pin on the module to pin 10 on the Arduino | |
* Connect the T pin on the module to pin 11 on the Arduino | |
* | |
* Written by https://github.com/jenschr | |
*/ |
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
/* | |
* Basic sketch to send a message to Dweet.io using GET | |
* This sketch is written specifically for the SIM7600E-H | |
* | |
* Connect the R pin on the module to pin 10 on the Arduino | |
* Connect the T pin on the module to pin 11 on the Arduino | |
* | |
* Also enter your own deviceName below (replace "8675840") | |
* and you can then go and see the result at | |
* http://dweet.io/get/latest/dweet/for/8675840 |
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
/* Dot matrix control Scrolling | |
* Tutorial: https://www.electronoobs.com/eng_arduino_tut56.php | |
*/ | |
#include <LedControl.h> //LedControl library: https://www.electronoobs.com/ledcontrol.php | |
const unsigned char scrollText[] PROGMEM ={" Embedded Systems "}; | |
const int numDevices = 1; // number of MAX7219s used in this case 2 | |
const long scrollDelay = 60; // adjust scrolling speed |
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
// First, wait for the green LED to go solid green | |
// Then, set the pin code using | |
// AT+CPIN=2643 | |
// When the green LED blinks, you can check the name of the operator | |
// AT+CSPN? | |
// The turn on sending plain text messages (ASCII chars only) | |
// AT+CMGF=1 |
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
#ifndef FLATBUFFERS_BASE_H_ | |
#define FLATBUFFERS_BASE_H_ | |
// clang-format off | |
// If activate should be declared and included first. | |
#if defined(FLATBUFFERS_MEMORY_LEAK_TRACKING) && \ | |
defined(_MSC_VER) && defined(_DEBUG) | |
// The _CRTDBG_MAP_ALLOC inside <crtdbg.h> will replace | |
// calloc/free (etc) to its debug version using #define directives. |
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 <SoftwareSerial.h> | |
SoftwareSerial mySerial(8, 9); | |
void setup() | |
{ | |
delay(500); | |
Serial.begin(115200); | |
mySerial.begin(115200); // use this line on a new module using 115200 baud by default | |
//mySerial.begin(19200); // after setting the baud rate to 19200, we use this speed for mySerial | |
pinMode(13, OUTPUT); |
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
/* | |
* Simple code snippet for reading Amphenol | |
* Pressure sensors with I2C output such as | |
* the NPA Series of Surface-Mount Pressure | |
* Sensors NPA-700 and NPA-730. | |
* | |
* This basic snippet will likely work for | |
* similar sensors of other brands also. | |
* I used NPA-730B-05WD to test this. It's | |
* not an Arduino Library, but that's also |