     
     cout << "bmpHeight = " << bmpHeight << endl;                // 320
     cout << "bmpWidth  = " << bmpWidth << endl;                 // 240
-    
+ 
+#if 0 
     for (int i=0; i< bmpHeight; i++)
     {
-    
+
         for(int j=0; j<3; j++)
         {
             bmpFile.read(sdbuffer, 3*BUFFPIXEL);
             buffidx = 0;
-            int offset_x = j*80;
-            
-            for(int k=0; k<80; k++)
+            int offset_x = j*BUFFPIXEL;
+            
+            for(int k=0; k<BUFFPIXEL; k++)
             {
                 b = sdbuffer[buffidx++];     // blue
                 g = sdbuffer[buffidx++];     // green

        }
        
    }
    Serial.print(millis() - time, DEC);
    Serial.println(" ms");
}

// is probably a good place


#define BUFFPIXEL 60

void bmpdraw(File f, int x, int y)
{
