コード例 #1
0
void MainTask(void) {
  GUI_Init();
  _Label();
  while(1) {
    _DemoRandomGraph();
    _DemoSineWave();
    _DemoOrData();
  }
}
コード例 #2
0
ファイル: GUIDEMO_Graph.c プロジェクト: Jaly314/CH-K-Lib
void GUIDEMO_Graph(void) {
  GUIDEMO_ShowIntro("Drawing a graph",
                    "\nOptimized drawing routine for"
                    "\ndrawing graph data");
  GUI_Clear();
  _Label();
  _DemoRandomGraph();
  GUIDEMO_NotifyStartNext();
  _DemoSineWave();
  GUIDEMO_NotifyStartNext();
  _DemoOrData();
}
コード例 #3
0
ファイル: GUIDEMO_Graph.c プロジェクト: DlutLiuZhao/UCGUI
void GUIDEMO_Graph(void) {
  #if GUIDEMO_LARGE
    _YSize = (LCD_YSIZE - 100);
  #else
    _YSize = (LCD_YSIZE -  30);
  #endif
  GUIDEMO_ShowIntro("Drawing a graph",
                    "\nOptimized drawing routine"
                    "\nfor drawing graph data");
  GUI_Clear();
  _Label();
  _DemoRandomGraph();
  GUIDEMO_NotifyStartNext();
  _DemoSineWave();
  GUIDEMO_NotifyStartNext();
  _DemoOrData();
}