Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - camac881

Pages: [1]
1
Character LCDs / Re: NHD-0420D3Z-FL-GBW-3V Dropping characters over I2c
« on: November 12, 2014, 08:16:37 AM »
Hello Michael,
  That worked perfectly. Thank you.

  I checked the Wire library reference at Arduino.cc and they referenced the data sheet at Atmel and a table that does not make this any clearer. How do you come up with the number? Do you gather all the pieces and run them through the formula? It seems like herding cats to me.

Thanks for your help!
Cam


2
Character LCDs / NHD-0420D3Z-FL-GBW-3V Dropping characters over I2c
« on: November 11, 2014, 02:05:13 PM »
Hello All,
  I saw the other posts about losing characters over I2c due to firmware issues and tried the same fix by slowing it down. It has gotten better but I'm still dropping the occasional character. I am running the screen from an Arduino Uno and displaying data from an SPI A/D converter.

 My question is what is the correct way to code a speed correction for the Arduino? The line I'm using now is
#define TWI_FREQ = 100000L / 6; Is that correct?

Thanks,
Cam

Pages: [1]