 
 AppState gState;
 int httpCode;
-int iItem;
-int iLayout;
+uint8_t iItem;
+uint8_t iLayout;
 
 RssBuf rssBuf;
 RssParser rss;

  if(bInit || t != t0){
    struct tm *tm = localtime(&t);
    const char *wd[7] = {"日","月","火","水","木","金","土"};
		oled.setTextColor(1,0);
    oled.setTextSize(textSize);
		oled.alignPrintf(x+w-1,y, TA_RIGHT, TA_TOP,
										 "%2d/%2d(%s) %d:%d", 
										 tm->tm_mon+1, tm->tm_mday, wd[tm->tm_wday],
										 tm->tm_hour, tm->tm_min);
    t0 = t;


  if(t != t0){
    struct tm *tm = localtime(&t);
		oled.fillRect(x,y,w,h,0);
    oled.setTextSize(textSize);
		oled.setTextColor(1,0);
    oled.alignPrintf(x+w-1,y, TA_RIGHT, TA_TOP,
										 "%2d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec);
    t0 = t;
  }
}
