Edit schon erstellt sry: ich meinte 22°C
Hier mal den Code: Bitte sagt mir was ich falsch mache, ich komme mir so blöd vorDas Problem: Das Projekt ist für die Schule -> begrenzte Frist.
Code:$regfile "m48def.dat" $crystal = 8000000 Config Pinc.4 = Input Portc.4 = 0 Config Portb = Output Config Portd = Output Config Lcdpin = Pin , Db4 = Portd.6 , Db5 = Portd.5 , Db6 = Portb.7 , Db7 = Portb.6 , E = Portd.7 , Rs = Portb.0 Config Lcd = 16 * 2 Config Adc = Single , Prescaler = Auto Config Portc.0 = Input Const Ref = 5.09 / 1023 Dim W As Word Dim Z1 As Single Dim Z2 As Single Dim Z3 As Single Dim Temp As Single Do Portb.1 = 1 W = Getadc(2) Z1 = 597 - W Temp = Z1 * 0.5 Cls Lcd Temp Waitms 300 Loop







Das Problem: Das Projekt ist für die Schule -> begrenzte Frist.
Zitieren

Lesezeichen