Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 8 matches
www.mcselec.com Forum Index
Author Message
  Topic: Function added to OLED library 'glcdSSD1306-I2C.lib'
timbak

Replies: 22
Views: 7504

PostForum: Share your working BASCOM-AVR code here   Posted: Sun Jun 06, 2021 7:41 pm   Subject: Function added to OLED library 'glcdSSD1306-I2C.lib'
and what happens ? it seems to run normal in the sim. I also see no problem with the stacks.
i do not know which version you use? or the TS ?

also, to use xmega with ssd1306 there is the lib for x ...
  Topic: Function added to OLED library 'glcdSSD1306-I2C.lib'
timbak

Replies: 22
Views: 7504

PostForum: Share your working BASCOM-AVR code here   Posted: Sat May 29, 2021 11:14 am   Subject: Function added to OLED library 'glcdSSD1306-I2C.lib'
$regfile = "xm32a4udef.dat"
$crystal = 32000000
$hwstack = 180
$swstack = 180
$framesize = 180

'$noramclear
Config Submode = New

'''******************************** SYS CLOCK CONF ...
  Topic: Function added to OLED library 'glcdSSD1306-I2C.lib'
timbak

Replies: 22
Views: 7504

PostForum: Share your working BASCOM-AVR code here   Posted: Wed May 26, 2021 7:15 pm   Subject: Function added to OLED library 'glcdSSD1306-I2C.lib'
O-Family hello again!

Still try to work with OLED 0.66" 64x48 and Atxmega32A4. Some strange behavior with display increment values.

This code works perfect:
Do
...
Setfont Font6x8
...
  Topic: Function added to OLED library 'glcdSSD1306-I2C.lib'
timbak

Replies: 22
Views: 7504

PostForum: Share your working BASCOM-AVR code here   Posted: Tue Jan 19, 2021 10:06 am   Subject: Function added to OLED library 'glcdSSD1306-I2C.lib'
SSD1306 is a 128x64 Dot controller and I think your OLED has different address pin connections.
I don't have this OLED so I'm not sure if it works, but try this library.

O-Family, it works perfect ...
  Topic: Function added to OLED library 'glcdSSD1306-I2C.lib'
timbak

Replies: 22
Views: 7504

PostForum: Share your working BASCOM-AVR code here   Posted: Mon Jan 18, 2021 12:39 pm   Subject: Function added to OLED library 'glcdSSD1306-I2C.lib'
O-Family thank You for quick response. Now it works!

I use 0.66" 64x48 display, and have some offset in coordinates, and this is different in rotation modes

my code:
Config Graphlcd = Custom , ...
  Topic: Function added to OLED library 'glcdSSD1306-I2C.lib'
timbak

Replies: 22
Views: 7504

PostForum: Share your working BASCOM-AVR code here   Posted: Mon Jan 18, 2021 3:33 am   Subject: Function added to OLED library 'glcdSSD1306-I2C.lib'
O-Family can you pls help with run this lib on Xmega?

Trying to run this on atxmega32a4u and getting errors:

Dim Twi_start As Byte
Open "twic" For Binary As #2
Config Twic = 400000
...
  Topic: OLED SSD1306 parallel mode library
timbak

Replies: 10
Views: 3684

PostForum: Share your working BASCOM-AVR code here   Posted: Fri May 08, 2020 11:36 am   Subject: OLED SSD1306 parallel mode library
If i add Rst = Port1.5 , Cs1 = Port1.6 in "Config Graphlcd" after A0 = Port1.2, it compiled without errors.
But i have no unused pins for this workaround.
  Topic: OLED SSD1306 parallel mode library
timbak

Replies: 10
Views: 3684

PostForum: Share your working BASCOM-AVR code here   Posted: Fri May 08, 2020 10:56 am   Subject: OLED SSD1306 parallel mode library
Hello Mrshilov!

I tried to compile my old worked project with latest Bascom version (2.0.8.2) and got errors:

Error : 222 Line : 6 Illegal character $regfile = "xm32a4udef.dat" ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to: