Hallo!

Wie programmiere ich das PLED Display am RN-MiniControl?

Ich verwende den folgenden Code (RN-MiniControl hat keine Taster on Board):

Code:
$framesize = 32
$swstack = 32
$hwstack = 64

$crystal = 16000000                                         'Quarzfrequenz
$baud = 9600
Config Scl = Portc.0                                        'Ports fuer IIC-Bus
Config Sda = Portc.1

I2cinit



Config Pinb.4 = Output                                      'Spannung an LCD aktivieren
Lcdpower Alias Portb.4

Config Pinb.6 = Output
Lcd_rw Alias Portb.6
Lcd_rw = 0

Lcdpower = 1
Wait 1

Config Lcd = 16 * 2 , Chipset = Ks077
Config Lcdpin = Pin , Db4 = Portb.3 , Db5 = Portb.2 , Db6 = Portb.1 , Db7 = Portb.0 , E = Portb.5 , Rs = Portb.7
Config Lcdbus = 4

Initlcd

Cls
Locate 1 , 1                                                'Cursor auf 1 Zeile, 1 Spalte
Lcd "RN-LCDADAPTER"
Locate 2 , 1
Lcd "an RN-Control"

Do
               Cls
               Locate 1 , 1
               Lcd "Gedrueckt wurde nun:"
               Locate 2 , 1
               Lcd "Taste 1"

   Waitms 100
Loop

End
Vielen Dank!

LG
Georg