Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
i2cDetect script for the Banggood version of TTGO LoRa32
#include <Wire.h>
#include <i2cdetect.h>
void setup() {
// The Oled screen won't be visible unless we set the RESET line on the screen high
pinMode (16, OUTPUT);
digitalWrite (16, HIGH); // while OLED is running, GPIO16 must go high
// Rather than
Wire.begin(4, 15);
Serial.println("i2cdetect example\n");
Serial.print("Scanning address range 0x03-0x77\n\n");
void loop() {
i2cdetect(); // default range from 0x03 to 0x77
Copy link

jenschr commented Aug 10, 2019

Well working and documented LoRa examples and reference here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment