View previous topic :: View next topic |
Author |
Message |
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
|
Back to top |
|
|
george2002
Joined: 23 Nov 2005 Posts: 74 Location: Krakow
|
Posted: Sun Dec 18, 2016 11:15 pm Post subject: Re: They got it working.. in 2012 |
|
|
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 i wondering is there any $lib for that display for Bascom ?
PS
That forum is in german language ..., google translate works _________________ Hi 4 all |
|
Back to top |
|
|
george2002
Joined: 23 Nov 2005 Posts: 74 Location: Krakow
|
Posted: Sun Jan 01, 2017 11:54 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
EDC
Joined: 26 Mar 2014 Posts: 971
|
Posted: Mon Jan 02, 2017 3:16 am Post subject: |
|
|
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 |
|
Back to top |
|
|
petros047
Joined: 14 Mar 2012 Posts: 84
|
Posted: Tue Dec 26, 2017 3:24 pm Post subject: |
|
|
Hello and happy holidays
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 |
|
|
|