Hi
I used this shield before well. But it didn't work when I wanted to work with him last night!
this is my wireing :
Now I want to know how to test that it is healthy? Is i2c address missing or not?
I tried this code to find i2c address but no answer appeared on Arduino Serial monitor !! nothing ..
and i uploaded any more example code on Uno but OLED not worked .
// ~~~~~~~~~~~ i2c Address Scanner ~~~~~~~~~~~
#include <Wire.h>
void setup() {
Serial.begin (115200);
while (!Serial) {}
Serial.println ();
Serial.println ("I2C scanner. Scanning ...");
byte count = 0;
Wire.begin();
for (byte i = 8; i < 120; i++){
Wire.beginTransmission (i);
if (Wire.endTransmission () == 0){
Serial.print ("Found address: ");
Serial.print (i, DEC);
Serial.print (" (0x");
Serial.print (i, HEX);
Serial.println (")");
count++;
delay (1);
}
}
Serial.println ("Done.");
Serial.print ("Found ");
Serial.print (count, DEC);
Serial.println (" device(s).");
}
void loop() {}
. .
What is the problem ?