Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

SSD1306 Oled I2c 0.96 inch
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-ARDUINO
View previous topic :: View next topic  
Author Message
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 1161
Location: France

france.gif
PostPosted: Mon Aug 29, 2016 10:42 am    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Visit poster's website
gatabi

Bascom Member



Joined: 17 Mar 2011
Posts: 1

PostPosted: Wed Dec 14, 2016 7:44 pm    Post subject: Reply with quote

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
View user's profile
Meister

Bascom Member



Joined: 27 May 2010
Posts: 319

blank.gif
PostPosted: Sat Dec 17, 2016 3:58 pm    Post subject: Reply with quote

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
View user's profile
parafka

Bascom Member



Joined: 02 Nov 2017
Posts: 2

blank.gif
PostPosted: Thu Aug 23, 2018 7:52 pm    Post subject: Reply with quote

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
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Thu Aug 23, 2018 9:38 pm    Post subject: Reply with quote

All strings "RCALL _UPDATE_SCREEN" in library must be changed to "gosub _UPDATE_SCREEN".
Back to top
View user's profile
parafka

Bascom Member



Joined: 02 Nov 2017
Posts: 2

blank.gif
PostPosted: Thu Aug 23, 2018 10:08 pm    Post subject: Reply with quote

Compilation without errors!
Thank you.
Back to top
View user's profile
sielcon

Bascom Member



Joined: 16 Mar 2006
Posts: 74
Location: Argentina

argentina.gif
PostPosted: Mon Sep 03, 2018 11:29 pm    Post subject: Problem SSD1306 IIC Buffered Lib Reply with quote

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
View user's profile Visit poster's website
sielcon

Bascom Member



Joined: 16 Mar 2006
Posts: 74
Location: Argentina

argentina.gif
PostPosted: Tue Sep 04, 2018 5:44 pm    Post subject: Reply with quote

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
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-ARDUINO All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum