     if(dht22_code == DHT_ERROR_NONE) {
         dht22_temp = myDHT22.getTemperatureC();
         humidity = myDHT22.getHumidity();
+        // print H and T into char buffer
+        dtostrf(dht22_temp,5,1,output+1);  
+        output[6] = ' ' ;
+        output[7] = 'H' ;
+        dtostrf(humidity,4,1,output + 8);  
+        output[12] = '%' ;
+        for(int i = 13 ; i < 16; i++) { output[i] = ' '; }
         
     } else {
-        // absurd value
-        dht22_temp = 9999.0 ;
-    }
-
+        output[1] = ' ';
+        output[2] = 'E';
+        output[3] = 'R';
+        output[4] = 'R';
+        output[5] = 'O';
+        output[6] = 'R';
+        for(int i = 7 ; i < 16; i++) { output[i] = ' '; }
+    }
+
+    output[16] = 'P' ;
     pressure = bmp.readPressure();
+    pressure = round(pressure/100.0) ;
+    sprintf(output+17,"%-5d",pressure);
+    output[22] = ' ';
+    output[23] = 'R';
+    
+    // more rain in a day than cherapunji 
+    // receives in a year!
+    sprintf(output+24,"%-5d",rain_counter);
+    for(int i = 29 ; i < 32; i++){ output[i] = ' ' ; }
+    // null  
+    output[32] = '\0' ;
+
+    buffer = output ;
+    
+
 
 #if !defined(AWS_NO_SERIAL)
     serial_output();


void update_display() {
    
    // DHT22 pin needs 2 seconds
    micro_delay(250);
    dht22_code = myDHT22.readData();


// return codes
DHT22_ERROR_t dht22_code ;
char* buffer ;

void setup() {

