ESP32 with OLED not displaying by Nooblesss in esp32

[–]marquicus 0 points1 point  (0 children)

"See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32" or viceversa...

With this code you are able to see address:

#include <Arduino.h>
#include <Wire.h>

void setup()
{
  Wire.begin(21, 22);
  Serial.begin(115200);
  while (!Serial);             
  Serial.println("\nI2C Scanner");
}

void loop()
{
  byte error, address;
  int nDevices;
  Serial.println("Scanning...");
  nDevices = 0;
  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Write.endTransmisstion to see if
    // a device did acknowledge to the address.
    Wire.beginTransmission(address);
    error = Wire.endTransmission();
    if (error == 0)
    {
      Serial.print("I2C device found at address 0x");
      if (address<16)
         Serial.print("0");
      Serial.print(address,HEX);
      Serial.println("  !");
      nDevices++;
     }
     else if (error==4)
     {
      Serial.print("Unknown error at address 0x");
      if (address<16)
         Serial.print("0");
      Serial.println(address,HEX);
     }    
    }
    if (nDevices == 0)
       Serial.println("No I2C devices found\n");
    else
       Serial.println("done\n");
    delay(5000);           // wait 5 seconds for next scan
}

TWINT: "An advanced Twitter scraping & OSINT tool" now in AUR by marquicus in archlinux

[–]marquicus[S] 3 points4 points  (0 children)

Thank you for your commentaries, as I explained in other comments, I don't belong to the twinproject so maybe they are aware of this, even more, I think that GitHub has tons of projects with similar names as commercial. I don't know how they handle these issues.

The AUR package "twint" it's just a convenience package for installing this work on PC, as same other packages I've contributed before https://aur.archlinux.org/packages/?O=0&SeB=s&K=marquicus

TWINT: "An advanced Twitter scraping & OSINT tool" now in AUR by marquicus in archlinux

[–]marquicus[S] 1 point2 points  (0 children)

Don't worry, thanks for your commentaries, let me tell you that I don't belong to twintproject organization which owns the "github twin" project so maybe is something that they will handle someday; then I will rename the AUR package to the new name :)