Skip to content

Instantly share code, notes, and snippets.

View emilf's full-sized avatar

Emil Fridriksson emilf

View GitHub Profile
emilf / CH376S_UART_One.ino
Created February 12, 2018 00:54 — forked from K-ways/CH376S_UART_One.ino
CH376S USB Chip with UART Communication.
// This is the clear code for CH376S UART communication.
#include <SoftwareSerial.h>
byte USB_Byte; //used to store data coming from the USB stick
int LED = 13; //the LED is connected to digital pin 13
int timeOut = 2000; //TimeOut is 2 seconds. This is the amount of time you wish to wait for a response from the CH376S module.
SoftwareSerial USB(10, 11); // Digital pin 10 on Arduino (RX) connects to TXD on the CH376S module
// Digital pin 11 on Arduino (TX) connects to RXD on the CH376S module

Keybase proof

I hereby claim:

  • I am emilf on github.
  • I am emilfr ( on keybase.
  • I have a public key whose fingerprint is 2159 F0BF CCF3 D584 0F54 9A51 F1EC 5012 6ADA F66B

To claim this, I am signing this object: