View previous topic :: View next topic |
Author |
Message |
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Mon Aug 29, 2016 10:42 am Post subject: |
|
|
many thanks Mrshilov
It is working perfectly and very fast on arduino uno
if you use it remember to put the lib "glcdSSD1306-I2C-Buf.lib" in the directory mcs electronic/bascom avr/lib
jp |
|
Back to top |
|
|
gatabi
Joined: 17 Mar 2011 Posts: 1
|
Posted: Wed Dec 14, 2016 7:44 pm Post subject: |
|
|
albertsm wrote: | you found out correct. the twi in xmega uses Z. so Z must be saved.
I sent you a driver in support. |
Is there any idea on how to use glcdSSD1306-I2C.lib with Xmega? Is there any other library for XMEGA chips? |
|
Back to top |
|
|
Meister
Joined: 27 May 2010 Posts: 319
|
Posted: Sat Dec 17, 2016 3:58 pm Post subject: |
|
|
Quote: | Is there any idea on how to use glcdSSD1306-I2C.lib with Xmega? Is there any other library for XMEGA chips? |
Same question for
glcdEADOGMXL240-7-I2C.lib with Xmega.
Thanks in advance. |
|
Back to top |
|
|
parafka
Joined: 02 Nov 2017 Posts: 2
|
Posted: Thu Aug 23, 2018 7:52 pm Post subject: |
|
|
Hello,
I have a problem with compiling the Test SSD1306 buffered.bas (glcdSSD1306-I2C-Buf.lib). I have Bascom 2.0.8.0.
I threw the library glcdSSD1306-I2C-Buf.lib into C: \ Program Files (x86) \ MCS Electronics \ BASCOM-AVR \ LIB,
Open from glcdSSD1306-I2C-Buf.zip Test SSD1306 buffered.bas, press F7 and...
error:
Error : 1 Line : -2003 Unknown statement [RCALL _UPDATE_SCREEN] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\GLCDSSD1306-I2C-BUF.LIB
Error : 1 Line : -2003 Unknown statement [RCALL _UPDATE_SCREEN] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\GLCDSSD1306-I2C-BUF.LIB
Error : 1 Line : -2003 Unknown statement [RCALL _UPDATE_SCREEN] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\GLCDSSD1306-I2C-BUF.LIB
Error : 1 Line : -2003 Unknown statement [RCALL _UPDATE_SCREEN] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\GLCDSSD1306-I2C-BUF.LIB
Error : 1 Line : -2003 Unknown statement [RCALL _UPDATE_SCREEN] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\GLCDSSD1306-I2C-BUF.LIB
Error : 1 Line : -2003 Unknown statement [RCALL _UPDATE_SCREEN] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\GLCDSSD1306-I2C-BUF.LIB
Error : 1 Line : -2003 Unknown statement [RCALL _UPDATE_SCREEN] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\GLCDSSD1306-I2C-BUF.LIB
Could someone compile the Test SSD1306 buffered.bas in the latest Bascom?
https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=download&id=3783
thank you |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Thu Aug 23, 2018 9:38 pm Post subject: |
|
|
All strings "RCALL _UPDATE_SCREEN" in library must be changed to "gosub _UPDATE_SCREEN". |
|
Back to top |
|
|
parafka
Joined: 02 Nov 2017 Posts: 2
|
Posted: Thu Aug 23, 2018 10:08 pm Post subject: |
|
|
Compilation without errors!
Thank you. |
|
Back to top |
|
|
sielcon
Joined: 16 Mar 2006 Posts: 74 Location: Argentina
|
Posted: Mon Sep 03, 2018 11:29 pm Post subject: Problem SSD1306 IIC Buffered Lib |
|
|
Hello Mrshilov, how are you? I'm starting to use your library with buffer, and obviously it's much faster, in addition to having excellent graphics commands.
I just have a problem, set LCD_AUTO = 0 and it is true that the display does not show anything properly, after executing Gosub _update_screen it shows it but the screen remains as if it were in LCD_AUTO = 1, with a very fast but annoying blink, Probe with LCD of .96 and with 2.42 and does the same.
You have some idea of what mistake I may be making.
Here the video https://www.dropbox.com/s/pq00xcfkzpdwrku/VID_20180903_183352.mp4?dl=0
Thank you so much.
Best regards. |
|
Back to top |
|
|
sielcon
Joined: 16 Mar 2006 Posts: 74 Location: Argentina
|
Posted: Tue Sep 04, 2018 5:44 pm Post subject: |
|
|
Solved the problem, change in the LIB the values of initialization by those of the LIB without buffer and the flicker decreased to logical values.
Thanks also.
Best regards. |
|
Back to top |
|
|
|