Re: [Flashforth-devel] LCD-Shield für Arduino UNO
Brought to you by:
oh2aun
From: Brian K N. <bkn...@gm...> - 2023-03-25 00:56:52
|
I found using the hitachi lcd datasheet and the instructions on how to initialize the lcd by instruction the most useful thing. Essentially you're putting bit patterns (instructions) on a port in the uno board using c! and strobing the the enable pin setting it high and low using mset and mclr. If you find a youtube video where people use switches and manually bring up the lcd you'll understand the process better. In the end I think its a useful process to write your own driver for the board because there is quite a bit of functionality that is glossed over by many tutorials geared toward arduino ide users. viel Glück brian-in-ohio On Fri, Mar 24, 2023 at 7:26 PM Peter Jacobs <p.j...@uq...> wrote: > In case you find it useful, there is an updated HTML rendering of that > tutorial at > > https://htmlpreview.github.io/?https://github.com/pajacobs-ghub/pajacobs-ghub.github.io/blob/main/flashforth/ff5-tutorial-guide.html > > The source is in ASCIIDOC. The final section (number 16) is the example > of the 44780 LCD driven in 4-bit mode. > > Cheers, > Peter J. > ------------------------------ > *From:* Peter Höhne <p.h...@we...> > *Sent:* Saturday, 25 March 2023 5:14 AM > *To:* fla...@li... < > fla...@li...> > *Subject:* [Flashforth-devel] LCD-Shield für Arduino UNO > > > Hallo liebe Forthfreunde, > > ich wollte FlashForth neben Programm-Monitor auch via LCD-Anzeige auf dem > UNO laufen lassen, > aber leider habe ich dafür kein einfaches Source-Beispiel im WEB gefunden, > -> ausgenommen das Beispiel für PICDEM2 + board im " > *ff5-tutorial-guide-2014-05-12.pdf*". > > Dieses habe ich als Vorbild hergenommen und "schlecht und recht" versucht > für den UNO umzusetzen. > > Es ist noch nicht fertig, funktioniert jedoch bis auf die Tastenabfrage > ganz gut (nur beim LCD-Shield). > > *Fragen:* - gibt es fertige LCD-Beispiele im WEB, die ich nicht > gesehen/gefunden habe ? > - hat jemand schon separate Hitachi-44780 LCD's (1/2/4 > zeilen via 4 Datenpins angesteuert? > > viele Grüße > Peter > PS: Vielen Dank an Mikael für die Hilfe --> *' lcd_emit 'emit !* . > > > ------------------------------------------------------------------------------------------------------------------- > > Hello dear Forth friends, > > i wanted to run the FlashForth besides program monitor also via LCD > display on the UNO, > but unfortunately I didn't find a simple example for this in the WEB, > -> except the example for PICDEM2 + board in " > *ff5-tutorial-guide-2014-05-12.pd*f". > > I have taken this as a model and tried "badly and fairly" to implement for > the UNO. > > It is not quite finished yet, but works quite well except for the key > query (only for the LCD Shield). > > *Questions:* - are there ready LCD examples in the WEB, which I have not > seen/found ? > - has anyone already separately Hitachi-44780 LCD > (1/2/4 lines via 4 data pins controlled? > > many greetings > Peter > PS: Many thanks to Mikael for the help -->* ' lcd_emit 'emit ! *. > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |