Das Programm Kategorie: CC2-Unit & Appl.Board / CC2-Station (von Mario - 26.10.2004 19:54) | ||
Als Antwort auf wo isn das Programm ?? von reneforster - 26.10.2004 19:26 | ||
| ||
Hallo,das programm gibte es noch nicht muss ich erst machen,da mir ja noch einige sachen unklar waren ,also so wie ich das verstanden habe muss ich jetzt die hilfsvariablen einmal definiern,etwa so,T1 als hilfsvariable definiert,wenn ich dann die temp anzeigen will im thread anzeige,muss ich station_lcd.clear();station_lcd.print(b);sleep100;//..anzeige der errechneten temp,und löschen des display station_lcd.clear(); thread Sensoren { loop string a,b,c,e,f; int n,ad,d,T1; float U,R; b=""; U=0.004*ports.adc(0); R=(8000/U-1600)/10000; global.IST1=1000/(math.ln(R)/3.988+1000/298)-273; global.IST1=T1; str.putfloatf(b,global.IST1,1); a="Kessel : "; b=a+b; | ||
Antwort schreiben Antworten: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |