Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

LCD displays libraries - index
Goto page Previous  1, 2
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
bzijlstra

Bascom Ambassador



Joined: 30 Dec 2004
Posts: 1179
Location: Tilburg - Netherlands

netherlands.gif
PostPosted: Sun Dec 18, 2016 12:04 am    Post subject: They got it working.. in 2012 Reply with quote

https://www.makerconnect.de/index.php?threads/lcd-mit-st7920-%C3%A4hnlich-hd44780-mit-bascom-ansteuern.2546/

An article with a lot of links...

Have fun
Ben Zijlstra
Back to top
View user's profile Visit poster's website
george2002

Bascom Member



Joined: 23 Nov 2005
Posts: 74
Location: Krakow

poland.gif
PostPosted: Sun Dec 18, 2016 11:15 pm    Post subject: Re: They got it working.. in 2012 Reply with quote

bzijlstra wrote:
https://www.makerconnect.de/index.php?threads/lcd-mit-st7920-%C3%A4hnlich-hd44780-mit-bascom-ansteuern.2546/

An article with a lot of links...

Have fun
Ben Zijlstra


Hello Ben and thanks for info Smile i wondering is there any $lib for that display for Bascom Smile ?

PS
That forum is in german language ..., google translate works Wink

_________________
Hi 4 all Smile
Back to top
View user's profile Visit poster's website
george2002

Bascom Member



Joined: 23 Nov 2005
Posts: 74
Location: Krakow

poland.gif
PostPosted: Sun Jan 01, 2017 11:54 pm    Post subject: Reply with quote

Hello all,
has anyone have idea how to show variable - like temperature in attached code ? i have no idea, it works good - can display text and graphics but i can't display variable ...

i trayed that code:
Code:
 Call Lcds_text( "DEMO" , 1 , 1 , 1)                      'Draw Text to Buffer


to that to show variable:
Code:
 Call Lcds_text( temperature , 1 , 1 , 1)                      'Draw Text to Buffer

i have dimensioned variable temperature and bascom says variable not dimensioned ...

_________________
Hi 4 all Smile
Back to top
View user's profile Visit poster's website
EDC

Bascom Expert



Joined: 26 Mar 2014
Posts: 971

poland.gif
PostPosted: Mon Jan 02, 2017 3:16 am    Post subject: Reply with quote

Is the Temperature variable actually a String type?
You should check Declaration for Sub and then pass correct variables. If Temperature is non string type then you must convert it before before passing.
Code:
Sub Lcds_text(byval S As String , byval Xoffset As Byte , byval Yoffset As Byte , byval Fontset As Byte)

So..
Code:
Dim Helpstring As String * 10, Temperature As Integer
Helpstring = Str(temperature)
Call Lcds_text( Helpstring , 1 , 1 , 1)


Should work Wink
Back to top
View user's profile Visit poster's website
petros047

Bascom Member



Joined: 14 Mar 2012
Posts: 84

greece.gif
PostPosted: Tue Dec 26, 2017 3:24 pm    Post subject: Reply with quote

Hello and happy holidays Very Happy
Is there any example code for ssd1322 oled controller?
I have one in my hand and i would like to use it.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
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