Rev 2380 | Rev 2386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2380 | Rev 2382 | ||
---|---|---|---|
Line 104... | Line 104... | ||
104 | } |
104 | } |
105 | else |
105 | else |
106 | #endif |
106 | #endif |
107 | if(VersionInfo.HardwareError[0]) LCD_printfxy(0,3,"Hardware Error 1:%d !!",VersionInfo.HardwareError[0]) |
107 | if(VersionInfo.HardwareError[0]) LCD_printfxy(0,3,"Hardware Error 1:%d !!",VersionInfo.HardwareError[0]) |
108 | else |
108 | else |
109 | if(MissingMotor) LCD_printfxy(0,3,"Missing BL-Ctrl:%d!!",MissingMotor) |
109 | if(MissingMotor) LCD_printfxy(0,3,"Missing BL-Ctrl:%d !!",MissingMotor) |
110 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
110 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
111 | #else |
111 | #else |
112 | else |
112 | else |
113 | if(NC_ErrorCode) |
113 | if(NC_ErrorCode) |
114 | { |
114 | { |
Line 116... | Line 116... | ||
116 | } |
116 | } |
117 | #endif |
117 | #endif |
118 | // if(VersionInfo.HardwareError[1]) LCD_printfxy(0,3,"Error 2:%d !!",VersionInfo.HardwareError[1]) |
118 | // if(VersionInfo.HardwareError[1]) LCD_printfxy(0,3,"Error 2:%d !!",VersionInfo.HardwareError[1]) |
119 | else |
119 | else |
120 | if(I2CTimeout < 6) LCD_printfxy(0,3,"I2C ERROR!!!") |
120 | if(I2CTimeout < 6) LCD_printfxy(0,3,"I2C ERROR!!!") |
- | 121 | else |
|
- | 122 | if(Capacity.MinOfMaxPWM < 30) LCD_printfxy(0,3,"BL-Selftest Err:%2d",Capacity.MinOfMaxPWM) |
|
- | 123 | ||
121 | break; |
124 | break; |
122 | case 1: |
125 | case 1: |
123 | LCD_printfxy(0,0,"Height: %5i",(int)(HoehenWert/5)); |
126 | LCD_printfxy(0,0,"Height: %5i",(int)(HoehenWert/5)); |
124 | LCD_printfxy(0,1,"Setpoint:%5i",(int)(SollHoehe/5)); |
127 | LCD_printfxy(0,1,"Setpoint:%5i",(int)(SollHoehe/5)); |
125 | LCD_printfxy(0,2,"Pressure:%5i",MessLuftdruck); |
128 | LCD_printfxy(0,2,"Pressure:%5i",MessLuftdruck); |