![]() ![]() ![]() Serial.print(Millis2 - Millis1 - Millis3) //Print time taken for 252 clock pulses in microseconds Wire.endTransmission() // stop transmitting device address is specified in datasheetĬhar myString = "This is the first line " Wire.beginTransmission(0x28) // transmit to device Millis3 = (Millis2 - Millis1) //Measure time taken for the maths I am addressing the display directly using the Wire library. Is this an Arduino issue or a display problem? The display responds to commands sent to address 0x28 but not to those sent to 0x50. I2C Scanner is reporting the display at address 0x28 which is one bit shifted from 0x50 and it seems one bit is being dropped on the wake up signal from the bus. I have reduced the clock rate to 50kHz and made sure the pull ups are above 10k as mentioned in post. I now have the display working with the Arduino Uno. ![]() The display worked well at address 0x50 using the BS2. I have a project which uses these displays and was originally based on a Stamp BS2pe. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |