Pubblicata la nuova versione con il supporto ufficiale ai display della Winstar.
Molto belli ed eleganti, bianchi con testo in nero, ci sono di diversi modelli sia per dimensioni per per quantita' di caratteri http://www.winstar.com.tw/products_detail.php?CID=22&lang=it
Ringrazio pubblicamente Sergio Tanzilli della AcmeSystem nell'avermi gratuitamente fornito l'LCD sul quale ho potuto eseguire i test. Sul sito della Acme e' possibile comprare a 6€ il modello piu' piccolo della winstar il WO1602I
Il Codice da usare e' LCD-01 http://www.acmesystems.it/
Salto diretto alla versione 2 perche' ho integrato la possibilita' di usare la libreria su qualsiasi pin, oltre ai classici I2C della Wire SDA-SCL.
Questo grazie all'integrazione della mia libreria Software I2C (quindi e' anche possibile scegliere la velocita' del bus)
Aggiunto un esempio per l'uso di questa funzione.
Tutti i particolari sul rpimo topic.
L'unico "problema" e' che non sono riuscito in nessun modo (ringrazio lesto per le discussioni in merito via chat) di scindere le due librerie.
Cioe' in questo momento anche se si vuole usare la classica Wire, si deve avere la libreria Software I2C installata sul sistema.
Ho utilizzato la libreria v.2.0 e la nuova libreria Software I2C per pilotare un LCD MIDAS MCCOG21605C6W-SPTLYI utilizzando diversi pin oltre a quelli standard previsti per la I2C.
Il tutto funziona perfettamente anche con diverse velocità come indicato negli esempi e nei files README contenuti nelle librerie:
LCD pilotato da Arduino UNOR3 da pin A4 e A5 con libreria Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
LCD pilotato da Arduino UNOR3 da pin D6 e D7 con libreria Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
LCD pilotato da Arduino MICRO da pin D2 e D3 con libreria Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
LCD pilotato da Arduino MICRO da pin D6 e D7 con libreria Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
Grazie a Testato per tutte le modifiche che hanno reso possibile l'impiego di diversi pin per collegare l'LCD
I used the v.2.0 library and the new library "Software I2C" to drive an LCD MIDAS MCCOG21605C6W-SPTLYI using alternative pins instead of those provided for the standard I2C. Everything works perfectly even with different speeds, as shown in the examples and in README files content in the library folders:
LCD controlled by Arduino UNOR3 pin A4 and A5 with library Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
LCD controlled by Arduino UNOR3 pin D6 and D7 with library Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
LCD controlled by Arduino MICRO pin D2 and D3 with library Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
LCD controlled by Arduino MICRO pin D6 and D7 with library Testato_ST7032i_LCD_I2C + Testato_SoftI2CMaster
Thanks to "Testato" for all the changes that have made possible the use of alternative pins to connect the LCD
I am haven trouble with the display that is identical o the yao yu model.
I can communicate with the LCD such as receive the i2c address which is 0x3E but i cannot send message to the display nothing dip lays!!!!! can you help ? i used your libraries and examples but nothing works.
Hi i have the Midas display that has is stated it has prove to work but hen i upload your simple_write nothing happens to the display i am sure i am wiring it correctly because when i run the i2c scanner i receive the correct i2c address any ideas on why the display does not show anything when i upoad your example code?
wait a moment, simple write is the example for the "library dependencies problem"
please read the 2.0 version note (in english on the first topic).
You must install two library, the second, the softwareI2C master, is only need in addition.
Please use the example in the Testato_ST7032i_LCD_I2C