
void BitButton4OnClick(tWidget *pWidget)
{
  static char buf[100];
  int *p_count = (int *)g_sParameters.UserParamsData;

  ParamLoad();
  usprintf(buf, "Counts = %u",  *p_count);
  CanvasTextSet(&LabelWidget8 , buf) ;
  WidgetPaint((tWidget*)&LabelWidget8);
  (*p_count)++;
  if(*p_count >= 30) *p_count = 0;
  ParamSave();
}

