Skip to content

Instantly share code, notes, and snippets.

View Mickyleitor's full-sized avatar

Mickyleitor Mickyleitor

View GitHub Profile
@Mickyleitor
Mickyleitor / Seeeduino_PotholeTest.ino
Created May 24, 2018 01:55
Code test for Seeeduino LoRa. It simply flash the LED many times has received via I2C.
#include <Wire.h>
int counter = 0;
void setup()
{
Wire.begin(4); // join i2c bus with address #4
Wire.onReceive(receiveEvent); // register event
// SerialUSB.begin(9600); // start serial for output
delay(1000);