Ok jetzt hab ich ein neues problem:
Wenn ich variablen oder messwerte auf dem LCD anzeigen will dann bekomm ich die fehlermeldungen:
Code:
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '=' [_XMEGA=0]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '' [_XMEGA]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Error : 222 Line : 36 Illegal character [expected (, got '=' [_XMEGA=0]] , in File : C:\Programme\MCS Electronics\BASCOM-AVR\Eigene Programme\gleitzeitrechner\LCD Test.bas
Hier das Programm um die adc werte anzuzeigen:
Code:
$regfile = "m8def.dat"
$crystal = 8000000
Config Portb.2 = Output
Status Alias Portb.2
Config Portb.0 = Output
Config Portd.3 = Output
Config Portd.4 = Output
Config Portd.5 = Output
Config Portd.6 = Output
Config Portd.7 = Output
Config Adc = Single , Prescaler = Auto , Reference = Aref
Start Adc
Config Lcdpin = Pin , Rs = Portb.0 , E = Portd.3 , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , Db7 = Portd.7
Config Lcd = 16 * 2
Initlcd
Cls
Status = 1
Do
Locate 1 , 1 : Lcd Getadc(7)
Wait 1
Loop
End
Ich hab kein plan mehr...ich hoffe ihr könnt mir wiedermal helfen
Gruß max
Lesezeichen