English
Source / code snippets

Ansteuern Operate display Hd44780

 
loudly this Thread: [...]  can well one the following display:


display HD44780 with 2x16 characters
8bit one Controller
Schaltbild: [...] 


operate:

Maik Borchardt, URL=www.rgh-soft.de/forum01/read.php?f=6&i=5949&t=820, ZEITPUNKT=12.11.2009 14:35


...

the delay is as interval virtual
CompileMarkSeparation
DEF @OUT32(2) ! "INPOUT32.DLL", "Out32"
DEF @INP32(1) ! "INPOUT32.DLL", "Inp32"
Def delay(1) !"KERNEL32","Sleep"
declare portaddr%,portbyte&, Control%,Data%
declare EN%,RS%,RW%
cls
Portaddr%=$378
DATA%=Portaddr%
Control%=Portaddr%+2

proc set_control

    PARAMETERS EN%,RW%,RS%
    EN%=abs(EN%-1)
    PortByte&=inp32(CONTROL%)
    Portbyte&=setbit(Portbyte&,0,EN%)
    Portbyte&=setbit(Portbyte&,1,RW%)
    Portbyte&=setbit(Portbyte&,2,RS%)
    out32(CONTROL%,portbyte&)
    delay(20)

endproc

proc befehl

    parameters byte&
    RS%=0
    set_control 1,RW%,RS%
    out32(DATA% , byte&)
    set_control 0,RW%,RS%

endproc

proc Zeichen

    parameters byte&
    RS%=1
    set_control 0,RW%,RS%
    out32(DATA% , byte&)
    set_control 1,RW%,RS%
    print chr$(byte&);

endproc

proc lcd_init

    rw%=1
    initialaisierung
    befehl($000f)
    befehl($0001)
    cls
    locate 1,1
    befehl($0038)

endproc

lcd_init
zeichen ord("T")
zeichen ord("e")
zeichen ord("s")
zeichen ord("t")
zeichen ord("l")
zeichen ord("a")
zeichen ord("u")
zeichen ord("f")
befehl %11000000 sprung zweite zeile
locate 2,1
zeichen ord("b")
zeichen ord("e")
zeichen ord("s")
zeichen ord("t")
zeichen ord("a")
zeichen ord("n")
zeichen ord("d")
zeichen ord("e")
zeichen ord("n")
s4 href='./../../Function-References/XProfan/waitinput/'>waitinput

Xp Home
Profan 5.7



Something like power certainly joke, vlt. power time of/ one one video.

adopted in Hardwarebastelecke [...] 
 
11/12/09  
 




Maik
Borchardt
Hello...

into last 3 tagen have I of these Topic engage, naja intensiver as yet.
I had To dato circa Datenleitungen einzusparen over I²C-bus (Seriell 2 Datenleitungen) gehändelt yet.
concise circa... David having evtl. for a video gebeten.
unfortunately Have I only one Olles Motorola handy with CAM, The quality isn't The best, but I think one can discern what so made becomes ect.

I read a couple system infos from, and show these on the display on.
moreover have I a "Progressbar" function gebastelt circa Balkengrafiken present to.
there The Matrix 5x7 is for Own characters must one a couple einschränkungen in buy take.
it had to naturally a couple Own Graphics into Displayspeicher shoved go.
altogether can up to 8 Own characters in the display Ram Save and to want on it grab.

the video can your here (clipfish) see [...] 

out of The BAR function have I another couple small functions made
BAR Zeile_x, SPalte_y,WERT,MAXWERT,LängeaufDisplay

one Locate Zeile_x,Spalte_y,"Ausgabetext"
left Zeile_X,"Ausgabetext"
center Zeile_x,"Ausgabetext"
right Zeile_x,,"Ausgabetext"

and a couple others routines...

it'll one VUMeter displayed (Musikpegel)
the worth becomes over The BASS.DLL quizzed
How ggf. To discern is, exists a gewisse Trägheit, is ggf. yet Optimierungs capable, or evtl. falls not longer so on if the program as eigenständige EXE runs instead of in the "ausführ Modus"...
I habs then time even tested..japp The trägheit to music is in Compilierter point objectively less, but not integrally lane.

Tschia what should I otherwise say.

are externe bauteile necessary???
not absolutely, on The Potis have I waived, and the jeweiligen PIN on MASSE (GND) laid
evtl ought to one NEN small Transistor BC587 o.ä as switch for display install, and this over the a yet disengaged exit steer, to that one and ausschaten the display yourself.
power sense, must but not absolutely his.

Well Davids Headline isn't integrally 100% correctly..

it ought to hot

HD44780-Kompatible LCDs Ansteuern
The kompatiblen there in process of 1x8 To 8x40 as far as i know, ggf. even yet More

the here's but only To maximum 4x20, there it itself here circa 1processor apiece display deals
with Displays with More as altogether 80 characters are two Prozessoren on the Displays processing and there see it then with the Ansteuerung then still something differently from.

so nu but enough for first.... if someone interest or ask has... einach report...

Greeting Maik
 
11/14/09  
 



nice! How behave it itself with USB?
 
11/14/09  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.889 Views

Untitledvor 0 min.
Tango08/06/21
Normann Strübli03/31/20
Matzbub12/29/18
rquindt06/24/17
More...

Themeninformationen

this Topic has 2 subscriber:

iF (2x)
Maik Borchardt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie