diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-09-27 12:53:09 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-09-27 12:53:09 +0200 |
commit | 84613267f60f0b8e2f7ed3f815d88b9a0041f15a (patch) | |
tree | cc0f41a3730f8915fc10e3f9036020d0426f55b7 /k8055gui/MyFrame.h | |
parent | 0bd2c8d9d9ef2bdee1b5a9e69f3391ee54fb9b2d (diff) | |
download | k8055-84613267f60f0b8e2f7ed3f815d88b9a0041f15a.zip k8055-84613267f60f0b8e2f7ed3f815d88b9a0041f15a.tar.gz |
improve k8055gui test to animate GUI
Diffstat (limited to 'k8055gui/MyFrame.h')
-rw-r--r-- | k8055gui/MyFrame.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/k8055gui/MyFrame.h b/k8055gui/MyFrame.h index 13632ea..1c08747 100644 --- a/k8055gui/MyFrame.h +++ b/k8055gui/MyFrame.h @@ -57,7 +57,8 @@ enum IDC_DBCT1, IDC_CMPT2, IDC_RSTC2, - IDC_DBCT2 + IDC_DBCT2, + TEST_TIMER }; @@ -69,6 +70,7 @@ protected: long address; // board address 0 -> 3 bool connected;// true if connected K8055 k8055; + wxTimer *timer; public: //constructor @@ -108,6 +110,7 @@ public: void OnBnClickedDbcc2(wxCommandEvent& event); void OnIdle(wxIdleEvent& event); + void OnTimer(wxTimerEvent& event); void WriteDigital(); void WriteAnalog(); |