INFO - FAQ - CC2-Forum - CCPro-Forum |
> > > Hi, > First, check out my program in this forum, LCD Possibilitiy Examples v1.3 For CC1M2.01. > (sorry, I spelled possibilitiy wrong) > There you will find 3 different cursors you can use just by gosubing to one of the subroutines, lcd_cursor_0, lcd_cursor_1, lcd_cursor_2, or lcd_cursor_3. > lcd_cursor_0 = cursor off > Then it is no problem to place the cursor just by using print”#Lxxx#”; > Example: > print”#L105#”; > gosub lcd_cursor_3 > Will put cursor 3 on line 1 position 5 on the lcd. > > Example 2: > print”#L210#”; > gosub lcd_cursor_1 > Will put cursor 1 on line 2 position 10 on the lcd. > > I hope this helps you! > Bye > Hallo ! Vielen Dank für die schnelle Antwort. Genau das habe ich gesucht . Ich werde es probieren. > > > Hallo ! > > > Wie kann ich den Cursor auf die erste Zeile setzen, und wie auf die zweite? > > > > > > Hat schon jemand eine Routine ? > > > Für Antworten wäre ich dankbar.! > > > > > > MfG > > > JanPeter > > > > > Ich meine eine Ausgabe auf das LCD ! > > > > ' SYNTAX für das LCD-MODULE > > ' print"#ON_LCD#"; -> Umleitung zum LCD-MODULE einschalten > > ' print"#INIT#"; -> Initialisierung des LCD > > ' print"#CLR"; -> LCD Löschen > > ' print"#L1nn#"; -> Schreiben in Zeile 1 Position nn (immer zweistellig) > > ' print"#L2nn#"; -> Schreiben in Zeile 2 Position nn (immer zweistellig) > > ' print"#SR#"; -> Scroll right > > ' print"#SL#"; -> Scroll left > > ' print VARIABLE -> Schreibt den Wert der Variable ins LCD > > ' print WERT -> Schreibt den durch WERT bezeichnenten Wert ins LCD > > ' print "xyz" -> Schreibt einen String ins LCD > > ' print"#OFF#"; -> Umleitung zum IR-MODULE abschalten (zurück auf > > ' die serielle Schnittstelle. > > > > Die letzte Zeile soll bestimmt heissen -> Umleitung zum LCD-Modul! > > > |
Antwort schreiben |