From 268d352abd70f78cdf49782660370af8b6c857d7 Mon Sep 17 00:00:00 2001 From: huangxiaoming Date: Fri, 6 Jan 2017 14:06:28 +0800 Subject: [PATCH] update example version and doc --- .../_comp_button_8ino-example.html | 83 +------ .../_comp_button_8ino_source.html | 2 +- .../_comp_button__v0__32_8ino_source.html | 171 ++++++++++++++ .../_comp_button_v0_32_8ino-example.html | 161 +++++++++++++ .../_comp_crop_8ino-example.html | 49 +--- doc/Documentation/_comp_crop_8ino_source.html | 2 +- .../_comp_crop__v0__32_8ino_source.html | 137 ++++++++++++ .../_comp_crop_v0_32_8ino-example.html | 127 +++++++++++ .../_comp_dual_state_button_8ino-example.html | 84 +------ .../_comp_dual_state_button_8ino_source.html | 2 +- ...dual_state_button__v0__32_8ino_source.html | 173 ++++++++++++++ ..._dual_state_button_v0_32_8ino-example.html | 162 ++++++++++++++ .../_comp_gauge_8ino-example.html | 67 +----- .../_comp_gauge_8ino_source.html | 2 +- .../_comp_gauge__v0__32_8ino_source.html | 154 +++++++++++++ .../_comp_gauge_v0_32_8ino-example.html | 143 ++++++++++++ .../_comp_gpio_2_comp_gpio_8ino_source.html | 143 ++++++++++++ .../_comp_gpio_8ino-example.html | 2 +- doc/Documentation/_comp_gpio_8ino_source.html | 2 +- .../_comp_hotspot_8ino-example.html | 61 +---- .../_comp_hotspot_8ino_source.html | 2 +- .../_comp_hotspot__v0__32_8ino_source.html | 148 ++++++++++++ .../_comp_hotspot_v0_32_8ino-example.html | 139 ++++++++++++ .../_comp_number_8ino-example.html | 111 +-------- .../_comp_number_8ino_source.html | 2 +- .../_comp_number__v0__32_8ino_source.html | 200 +++++++++++++++++ .../_comp_number_v0_32_8ino-example.html | 189 ++++++++++++++++ .../_comp_page_8ino-example.html | 64 +----- doc/Documentation/_comp_page_8ino_source.html | 2 +- .../_comp_page__v0__32_8ino_source.html | 151 +++++++++++++ .../_comp_page_v0_32_8ino-example.html | 142 ++++++++++++ .../_comp_picture_8ino-example.html | 52 +---- .../_comp_picture_8ino_source.html | 2 +- .../_comp_picture__v0__32_8ino_source.html | 140 ++++++++++++ .../_comp_picture_v0_32_8ino-example.html | 130 +++++++++++ .../_comp_progress_bar_8ino-example.html | 64 +----- .../_comp_progress_bar_8ino_source.html | 2 +- ...comp_progress_bar__v0__32_8ino_source.html | 153 +++++++++++++ ..._comp_progress_bar_v0_32_8ino-example.html | 142 ++++++++++++ doc/Documentation/_comp_rtc_8ino-example.html | 2 +- doc/Documentation/_comp_rtc_8ino_source.html | 2 +- .../_comp_slider_8ino-example.html | 42 +--- .../_comp_slider_8ino_source.html | 2 +- .../_comp_slider__v0__32_8ino_source.html | 131 +++++++++++ .../_comp_slider_v0_32_8ino-example.html | 120 ++++++++++ .../_comp_text_8ino-example.html | 122 +--------- doc/Documentation/_comp_text_8ino_source.html | 2 +- .../_comp_text__v0__32_8ino_source.html | 211 ++++++++++++++++++ .../_comp_text_v0_32_8ino-example.html | 200 +++++++++++++++++ ...r_2_comp_waveform__v0__32_8ino_source.html | 142 ++++++++++++ .../_comp_timer_8ino-example.html | 112 +--------- .../_comp_timer_8ino_source.html | 2 +- .../_comp_timer__v0__32_8ino_source.html | 207 +++++++++++++++++ .../_comp_timer_v0_32_8ino-example.html | 190 ++++++++++++++++ ...m_2_comp_waveform__v0__32_8ino_source.html | 142 ++++++++++++ .../_comp_waveform_8ino-example.html | 58 +---- .../_comp_waveform_8ino_source.html | 2 +- .../_comp_waveform__v0__32_8ino_source.html | 142 ++++++++++++ .../_comp_waveform_v0_32_8ino-example.html | 136 +++++++++++ doc/Documentation/_nex_button_8cpp.html | 2 +- .../_nex_button_8cpp_source.html | 2 +- doc/Documentation/_nex_button_8h.html | 2 +- doc/Documentation/_nex_button_8h_source.html | 2 +- doc/Documentation/_nex_checkbox_8cpp.html | 2 +- .../_nex_checkbox_8cpp_source.html | 2 +- doc/Documentation/_nex_checkbox_8h.html | 2 +- .../_nex_checkbox_8h_source.html | 2 +- doc/Documentation/_nex_config_8h.html | 2 +- doc/Documentation/_nex_config_8h_source.html | 2 +- doc/Documentation/_nex_crop_8cpp.html | 2 +- doc/Documentation/_nex_crop_8cpp_source.html | 2 +- doc/Documentation/_nex_crop_8h.html | 2 +- doc/Documentation/_nex_crop_8h_source.html | 2 +- .../_nex_dual_state_button_8cpp.html | 2 +- .../_nex_dual_state_button_8cpp_source.html | 2 +- .../_nex_dual_state_button_8h.html | 2 +- .../_nex_dual_state_button_8h_source.html | 2 +- doc/Documentation/_nex_gauge_8cpp.html | 2 +- doc/Documentation/_nex_gauge_8cpp_source.html | 2 +- doc/Documentation/_nex_gauge_8h.html | 2 +- doc/Documentation/_nex_gauge_8h_source.html | 2 +- doc/Documentation/_nex_gpio_8cpp.html | 2 +- doc/Documentation/_nex_gpio_8cpp_source.html | 2 +- doc/Documentation/_nex_gpio_8h.html | 2 +- doc/Documentation/_nex_gpio_8h_source.html | 2 +- doc/Documentation/_nex_hardware_8cpp.html | 2 +- .../_nex_hardware_8cpp_source.html | 2 +- doc/Documentation/_nex_hardware_8h.html | 2 +- .../_nex_hardware_8h_source.html | 2 +- doc/Documentation/_nex_hotspot_8cpp.html | 2 +- .../_nex_hotspot_8cpp_source.html | 2 +- doc/Documentation/_nex_hotspot_8h.html | 2 +- doc/Documentation/_nex_hotspot_8h_source.html | 2 +- doc/Documentation/_nex_number_8cpp.html | 2 +- .../_nex_number_8cpp_source.html | 2 +- doc/Documentation/_nex_number_8h.html | 2 +- doc/Documentation/_nex_number_8h_source.html | 2 +- doc/Documentation/_nex_object_8cpp.html | 2 +- .../_nex_object_8cpp_source.html | 2 +- doc/Documentation/_nex_object_8h.html | 2 +- doc/Documentation/_nex_object_8h_source.html | 2 +- doc/Documentation/_nex_page_8cpp.html | 2 +- doc/Documentation/_nex_page_8cpp_source.html | 2 +- doc/Documentation/_nex_page_8h.html | 2 +- doc/Documentation/_nex_page_8h_source.html | 2 +- doc/Documentation/_nex_picture_8cpp.html | 2 +- .../_nex_picture_8cpp_source.html | 2 +- doc/Documentation/_nex_picture_8h.html | 2 +- doc/Documentation/_nex_picture_8h_source.html | 2 +- doc/Documentation/_nex_progress_bar_8cpp.html | 2 +- .../_nex_progress_bar_8cpp_source.html | 2 +- doc/Documentation/_nex_progress_bar_8h.html | 2 +- .../_nex_progress_bar_8h_source.html | 2 +- doc/Documentation/_nex_radio_8cpp.html | 2 +- doc/Documentation/_nex_radio_8cpp_source.html | 2 +- doc/Documentation/_nex_radio_8h.html | 2 +- doc/Documentation/_nex_radio_8h_source.html | 2 +- doc/Documentation/_nex_rtc_8cpp.html | 2 +- doc/Documentation/_nex_rtc_8cpp_source.html | 2 +- doc/Documentation/_nex_rtc_8h.html | 2 +- doc/Documentation/_nex_rtc_8h_source.html | 2 +- doc/Documentation/_nex_scrolltext_8cpp.html | 2 +- .../_nex_scrolltext_8cpp_source.html | 2 +- doc/Documentation/_nex_scrolltext_8h.html | 2 +- .../_nex_scrolltext_8h_source.html | 2 +- doc/Documentation/_nex_slider_8cpp.html | 2 +- .../_nex_slider_8cpp_source.html | 2 +- doc/Documentation/_nex_slider_8h.html | 2 +- doc/Documentation/_nex_slider_8h_source.html | 2 +- doc/Documentation/_nex_text_8cpp.html | 2 +- doc/Documentation/_nex_text_8cpp_source.html | 2 +- doc/Documentation/_nex_text_8h.html | 2 +- doc/Documentation/_nex_text_8h_source.html | 2 +- doc/Documentation/_nex_timer_8cpp.html | 2 +- doc/Documentation/_nex_timer_8cpp_source.html | 2 +- doc/Documentation/_nex_timer_8h.html | 2 +- doc/Documentation/_nex_timer_8h_source.html | 2 +- doc/Documentation/_nex_touch_8cpp.html | 2 +- doc/Documentation/_nex_touch_8cpp_source.html | 2 +- doc/Documentation/_nex_touch_8h.html | 2 +- doc/Documentation/_nex_touch_8h_source.html | 2 +- doc/Documentation/_nex_upload_8cpp.html | 2 +- .../_nex_upload_8cpp_source.html | 2 +- doc/Documentation/_nex_upload_8h.html | 2 +- doc/Documentation/_nex_upload_8h_source.html | 2 +- doc/Documentation/_nex_variable_8cpp.html | 2 +- .../_nex_variable_8cpp_source.html | 2 +- .../_nex_variable_8h_source.html | 2 +- doc/Documentation/_nex_waveform_8cpp.html | 2 +- .../_nex_waveform_8cpp_source.html | 2 +- doc/Documentation/_nex_waveform_8h.html | 2 +- .../_nex_waveform_8h_source.html | 2 +- doc/Documentation/_nextion_8h.html | 2 +- doc/Documentation/_nextion_8h_source.html | 2 +- doc/Documentation/_upload_8ino_source.html | 2 +- doc/Documentation/all__0_8js_source.html | 2 +- doc/Documentation/all__1_8js_source.html | 2 +- doc/Documentation/all__2_8js_source.html | 2 +- doc/Documentation/all__3_8js_source.html | 2 +- doc/Documentation/all__4_8js_source.html | 2 +- doc/Documentation/all__5_8js_source.html | 2 +- doc/Documentation/all__6_8js_source.html | 2 +- doc/Documentation/all__7_8js_source.html | 2 +- doc/Documentation/all__8_8js_source.html | 2 +- doc/Documentation/all__9_8js_source.html | 2 +- doc/Documentation/all__a_8js_source.html | 2 +- doc/Documentation/all__b_8js_source.html | 2 +- doc/Documentation/all__c_8js_source.html | 2 +- doc/Documentation/annotated.html | 2 +- .../class_nex_button-members.html | 2 +- doc/Documentation/class_nex_button.html | 11 +- .../class_nex_checkbox-members.html | 2 +- doc/Documentation/class_nex_checkbox.html | 2 +- doc/Documentation/class_nex_crop-members.html | 2 +- doc/Documentation/class_nex_crop.html | 11 +- .../class_nex_d_s_button-members.html | 2 +- doc/Documentation/class_nex_d_s_button.html | 8 +- .../class_nex_gauge-members.html | 2 +- doc/Documentation/class_nex_gauge.html | 11 +- doc/Documentation/class_nex_gpio-members.html | 2 +- doc/Documentation/class_nex_gpio.html | 2 +- .../class_nex_hotspot-members.html | 2 +- doc/Documentation/class_nex_hotspot.html | 5 +- .../class_nex_number-members.html | 2 +- doc/Documentation/class_nex_number.html | 9 +- .../class_nex_object-members.html | 2 +- doc/Documentation/class_nex_object.html | 2 +- doc/Documentation/class_nex_page-members.html | 2 +- doc/Documentation/class_nex_page.html | 8 +- .../class_nex_picture-members.html | 2 +- doc/Documentation/class_nex_picture.html | 11 +- .../class_nex_progress_bar-members.html | 2 +- doc/Documentation/class_nex_progress_bar.html | 11 +- .../class_nex_radio-members.html | 2 +- doc/Documentation/class_nex_radio.html | 2 +- doc/Documentation/class_nex_rtc-members.html | 2 +- doc/Documentation/class_nex_rtc.html | 2 +- .../class_nex_scrolltext-members.html | 2 +- doc/Documentation/class_nex_scrolltext.html | 2 +- .../class_nex_slider-members.html | 2 +- doc/Documentation/class_nex_slider.html | 8 +- doc/Documentation/class_nex_text-members.html | 2 +- doc/Documentation/class_nex_text.html | 9 +- .../class_nex_timer-members.html | 2 +- doc/Documentation/class_nex_timer.html | 20 +- .../class_nex_touch-members.html | 2 +- doc/Documentation/class_nex_touch.html | 11 +- .../class_nex_upload-members.html | 2 +- doc/Documentation/class_nex_upload.html | 2 +- .../class_nex_variable-members.html | 2 +- doc/Documentation/class_nex_variable.html | 2 +- .../class_nex_waveform-members.html | 2 +- doc/Documentation/class_nex_waveform.html | 8 +- doc/Documentation/classes.html | 2 +- doc/Documentation/classes__0_8js_source.html | 2 +- .../dir_13cb27e7707bad7dfc51e3225831c378.html | 2 +- .../dir_2c7bb7af606a816dc5d12b9c9f93cdb0.html | 2 +- .../dir_362f30179229d7166f5b27ed31213abf.html | 4 +- .../dir_362f30179229d7166f5b27ed31213abf.js | 2 +- .../dir_37f22946f81336e96770e95cfc44f0d2.html | 2 +- .../dir_44a14d16127103fb968497cef18e2651.html | 4 +- .../dir_44a14d16127103fb968497cef18e2651.js | 2 +- .../dir_56b2cc69259505f347a71fbc57576a27.html | 4 +- .../dir_56b2cc69259505f347a71fbc57576a27.js | 2 +- .../dir_64c3f06c647884d4700075d99ac5b054.html | 2 +- .../dir_67a124841349777013960f48b4ca08cd.html | 2 +- .../dir_78dd7a2fe86fb9861d4d5f2b99877d05.html | 4 +- .../dir_78dd7a2fe86fb9861d4d5f2b99877d05.js | 2 +- .../dir_79c8dee8d7e42a0e610f37121a84c3a9.html | 2 +- .../dir_88a597dd2562898b9ec6ba971ad7a8dd.html | 2 +- .../dir_88b085927d35ec3e069c44673959ea9f.html | 4 +- .../dir_88b085927d35ec3e069c44673959ea9f.js | 2 +- .../dir_9d128665765fcd7de990374f9fac59bd.html | 2 +- .../dir_a121929b9544fab6b74c5c8052ef2940.html | 4 +- .../dir_a121929b9544fab6b74c5c8052ef2940.js | 2 +- .../dir_a1532c81ac7ffe94cd7af0c8adbf41fd.html | 4 +- .../dir_a1532c81ac7ffe94cd7af0c8adbf41fd.js | 2 +- .../dir_a239a53bd1465befb8d39895b56e9769.html | 86 +++++++ .../dir_a239a53bd1465befb8d39895b56e9769.js | 4 + .../dir_a6c6ee996e64a0a9573e0623ecba0f92.html | 4 +- .../dir_a6c6ee996e64a0a9573e0623ecba0f92.js | 2 +- .../dir_a923273c60bfbb58e031a3ae0355ae2a.html | 2 +- .../dir_b3d36b9fee6f94e0e9351d3ce179e46a.html | 4 +- .../dir_b3d36b9fee6f94e0e9351d3ce179e46a.js | 2 +- .../dir_ca98f8e97468ceedc413f5dac34c5fa4.html | 4 +- .../dir_ca98f8e97468ceedc413f5dac34c5fa4.js | 2 +- .../dir_d3f8111a063a965b5243b82006fc3654.html | 4 +- .../dir_d3f8111a063a965b5243b82006fc3654.js | 2 +- .../dir_da2f6b5bc4c7a05969000ccffa56cdba.html | 86 +++++++ .../dir_da2f6b5bc4c7a05969000ccffa56cdba.js | 4 + .../dir_e79857bc4faa7405ea054e9dea791d5c.html | 4 +- .../dir_e79857bc4faa7405ea054e9dea791d5c.js | 2 +- .../dir_fcb17c1a6a78f3a510af094d9b07469a.html | 4 +- .../dir_fcb17c1a6a78f3a510af094d9b07469a.js | 2 +- .../doc_2html_2dynsections_8js_source.html | 2 +- .../doc_2html_2jquery_8js_source.html | 2 +- .../doc_2html_2search_2search_8js_source.html | 2 +- doc/Documentation/doxygen_8h.html | 2 +- doc/Documentation/doxygen_8h_source.html | 2 +- doc/Documentation/examples.html | 2 +- doc/Documentation/files.html | 28 +-- doc/Documentation/files__0_8js_source.html | 2 +- doc/Documentation/files__1_8js_source.html | 2 +- doc/Documentation/functions.html | 2 +- .../functions__0_8js_source.html | 2 +- .../functions__1_8js_source.html | 2 +- .../functions__2_8js_source.html | 2 +- .../functions__3_8js_source.html | 2 +- .../functions__4_8js_source.html | 2 +- .../functions__5_8js_source.html | 2 +- .../functions__6_8js_source.html | 2 +- .../functions__7_8js_source.html | 2 +- .../functions__8_8js_source.html | 2 +- .../functions__9_8js_source.html | 2 +- doc/Documentation/functions_d.html | 2 +- doc/Documentation/functions_e.html | 2 +- doc/Documentation/functions_func.html | 2 +- doc/Documentation/functions_func_d.html | 2 +- doc/Documentation/functions_func_e.html | 2 +- doc/Documentation/functions_func_g.html | 2 +- doc/Documentation/functions_func_n.html | 2 +- doc/Documentation/functions_func_p.html | 2 +- doc/Documentation/functions_func_r.html | 2 +- doc/Documentation/functions_func_s.html | 2 +- doc/Documentation/functions_func_w.html | 2 +- doc/Documentation/functions_func_~.html | 2 +- doc/Documentation/functions_g.html | 2 +- doc/Documentation/functions_n.html | 2 +- doc/Documentation/functions_p.html | 2 +- doc/Documentation/functions_r.html | 2 +- doc/Documentation/functions_s.html | 2 +- doc/Documentation/functions_w.html | 2 +- doc/Documentation/functions_~.html | 2 +- doc/Documentation/globals.html | 2 +- doc/Documentation/globals_defs.html | 2 +- doc/Documentation/globals_func.html | 2 +- doc/Documentation/globals_type.html | 2 +- doc/Documentation/group___component.html | 2 +- doc/Documentation/group___configuration.html | 2 +- doc/Documentation/group___core_a_p_i.html | 2 +- doc/Documentation/group___get_started.html | 2 +- doc/Documentation/group___touch_event.html | 2 +- doc/Documentation/groups__0_8js_source.html | 2 +- doc/Documentation/groups__1_8js_source.html | 2 +- doc/Documentation/groups__2_8js_source.html | 2 +- doc/Documentation/groups__3_8js_source.html | 2 +- doc/Documentation/hierarchy.html | 2 +- .../html_2dynsections_8js_source.html | 2 +- .../html_2jquery_8js_source.html | 2 +- .../html_2search_2search_8js_source.html | 2 +- doc/Documentation/index.html | 2 +- doc/Documentation/license_8md_source.html | 2 +- doc/Documentation/md_license.html | 2 +- doc/Documentation/md_readme.html | 2 +- doc/Documentation/md_release_notes.html | 2 +- doc/Documentation/modules.html | 2 +- doc/Documentation/navtreeindex0.js | 26 +-- doc/Documentation/pages.html | 2 +- doc/Documentation/pages__0_8js_source.html | 2 +- doc/Documentation/pages__1_8js_source.html | 2 +- doc/Documentation/readme_8md_source.html | 2 +- .../release__notes_8md_source.html | 2 +- doc/Documentation/typedefs__0_8js_source.html | 2 +- examples/CompButton/CompButton.tft | Bin examples/CompCrop/CompCrop.tft | Bin .../CompDualStateButton.tft | Bin examples/CompGauge/CompGauge.tft | Bin examples/CompHotspot/CompHotspot.tft | Bin examples/CompHotspot/CompHotspot_v0_32.HMI | Bin 0 -> 317025 bytes examples/CompNumber/CompNumber.tft | Bin examples/CompPage/CompPage.tft | Bin examples/CompPicture/CompPicture.tft | Bin examples/CompProgressBar/CompProgressBar.tft | Bin examples/CompSlider/CompSlider.tft | Bin examples/CompText/CompText.tft | Bin examples/CompTimer/CompTimer.tft | Bin examples/CompWaveform/CompWaveform.tft | Bin examples/Upload/Upload.ino | 0 338 files changed, 5100 insertions(+), 1318 deletions(-) create mode 100755 doc/Documentation/_comp_button__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_button_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_crop__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_crop_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_dual_state_button__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_dual_state_button_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_gauge__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_gauge_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_gpio_2_comp_gpio_8ino_source.html create mode 100755 doc/Documentation/_comp_hotspot__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_hotspot_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_number__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_number_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_page__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_page_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_picture__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_picture_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_progress_bar__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_progress_bar_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_slider__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_slider_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_text__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_text_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_timer_2_comp_waveform__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_timer__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_timer_v0_32_8ino-example.html create mode 100755 doc/Documentation/_comp_waveform_2_comp_waveform__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_waveform__v0__32_8ino_source.html create mode 100755 doc/Documentation/_comp_waveform_v0_32_8ino-example.html create mode 100755 doc/Documentation/dir_a239a53bd1465befb8d39895b56e9769.html create mode 100755 doc/Documentation/dir_a239a53bd1465befb8d39895b56e9769.js create mode 100755 doc/Documentation/dir_da2f6b5bc4c7a05969000ccffa56cdba.html create mode 100755 doc/Documentation/dir_da2f6b5bc4c7a05969000ccffa56cdba.js mode change 100644 => 100755 examples/CompButton/CompButton.tft mode change 100644 => 100755 examples/CompCrop/CompCrop.tft mode change 100644 => 100755 examples/CompDualStateButton/CompDualStateButton.tft mode change 100644 => 100755 examples/CompGauge/CompGauge.tft mode change 100644 => 100755 examples/CompHotspot/CompHotspot.tft create mode 100755 examples/CompHotspot/CompHotspot_v0_32.HMI mode change 100644 => 100755 examples/CompNumber/CompNumber.tft mode change 100644 => 100755 examples/CompPage/CompPage.tft mode change 100644 => 100755 examples/CompPicture/CompPicture.tft mode change 100644 => 100755 examples/CompProgressBar/CompProgressBar.tft mode change 100644 => 100755 examples/CompSlider/CompSlider.tft mode change 100644 => 100755 examples/CompText/CompText.tft mode change 100644 => 100755 examples/CompTimer/CompTimer.tft mode change 100644 => 100755 examples/CompWaveform/CompWaveform.tft mode change 100644 => 100755 examples/Upload/Upload.ino diff --git a/doc/Documentation/_comp_button_8ino-example.html b/doc/Documentation/_comp_button_8ino-example.html index 7ebf732..25ae6e4 100755 --- a/doc/Documentation/_comp_button_8ino-example.html +++ b/doc/Documentation/_comp_button_8ino-example.html @@ -67,92 +67,15 @@ $(document).ready(function(){initNavTree('_comp_button_8ino-example.html','');})
How to Use
This example shows that when the button component on the Nextion screen is released, the text of this button will plus one every time.
Author
Wu Pengfei (email:pengf.nosp@m.ei.w.nosp@m.u@ite.nosp@m.ad.c.nosp@m.c)
-
Date
2015/7/10
+
Date
2015/7/10 2016/12/25 bring HMI up to v0.32 to avoid too old issues by Patrick Martin, no other changes made
-
-
#include "Nextion.h"
-
-
/*
-
* Declare a button object [page id:0,component id:1, component name: "b0"].
-
*/
-
NexButton b0 = NexButton(0, 1, "b0");
-
-
char buffer[100] = {0};
-
-
/*
-
* Register a button object to the touch event list.
-
*/
-
NexTouch *nex_listen_list[] =
-
{
-
&b0,
-
NULL
-
};
-
-
/*
-
* Button component pop callback function.
-
* In this example,the button's text value will plus one every time when it is released.
-
*/
-
void b0PopCallback(void *ptr)
-
{
-
uint16_t len;
-
uint16_t number;
-
NexButton *btn = (NexButton *)ptr;
-
dbSerialPrintln("b0PopCallback");
-
dbSerialPrint("ptr=");
-
dbSerialPrintln((uint32_t)ptr);
-
memset(buffer, 0, sizeof(buffer));
-
-
/* Get the text value of button component [the value is string type]. */
-
btn->getText(buffer, sizeof(buffer));
-
-
number = atoi(buffer);
-
number += 1;
-
-
memset(buffer, 0, sizeof(buffer));
-
itoa(number, buffer, 10);
-
-
/* Set the text value of button component [the value is string type]. */
-
btn->setText(buffer);
-
}
-
-
void setup(void)
-
{
-
/* Set the baudrate which is for debug and communicate with Nextion screen. */
- -
-
/* Register the pop event callback function of the current button component. */
-
b0.attachPop(b0PopCallback, &b0);
-
-
dbSerialPrintln("setup done");
-
}
-
-
void loop(void)
-
{
-
/*
-
* When a pop or push event occured every time,
-
* the corresponding component[right page id and component id] in touch event list will be asked.
-
*/
-
nexLoop(nex_listen_list);
-
}
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
How to Use
This example shows that ,when the "btn_up" component on the Nextion screen is released, the value of gauge component will plus 5,when the "btn_down" component released ,the value of gauge component will minus 5 every time.
+
How to Use
This example shows that ,when the "btn_up" component on the Nextion screen is released, the value of gauge component will plus 5, when the "btn_down" component released, the value of gauge component will minus 5 every time.
Author
Wu Pengfei (email:pengf.nosp@m.ei.w.nosp@m.u@ite.nosp@m.ad.c.nosp@m.c)
-
Date
2015/7/10
+
Date
2015/7/10 2016/12/25 bring HMI up to v0.32 to avoid too old issues by Patrick Martin, no other changes made
-
-
#include "Nextion.h"
-
-
NexGauge pointer = NexGauge(0, 1, "pointer");
-
NexButton btn_up = NexButton(0, 2, "btn_up");
-
NexButton btn_down = NexButton(0, 3, "btn_down");
-
-
NexTouch *nex_listen_list[] =
-
{
-
&btn_up,
-
&btn_down,
-
NULL
-
};
-
-
void buttonUpPopCallback(void *ptr)
-
{
-
uint32_t number = 0;
-
dbSerialPrintln("buttonUpPopCallback");
-
-
pointer.getValue(&number);
-
-
number += 5;
-
if (number >= 360)
-
{
-
number = 0;
-
}
-
-
pointer.setValue(number);
-
}
-
void buttonDownPopCallback(void *ptr)
-
{
-
uint32_t number = 0;
-
dbSerialPrintln("buttonDownPopCallback");
-
-
pointer.getValue(&number);
-
-
if (number >= 5)
-
{
-
number -= 5;
-
}
-
-
pointer.setValue(number);
-
}
-
-
-
-
void setup(void)
-
{
- -
btn_up.attachPop(buttonUpPopCallback);
-
btn_down.attachPop(buttonDownPopCallback);
-
dbSerialPrintln("setup done");
-
}
-
-
void loop(void)
-
{
-
nexLoop(nex_listen_list);
-
}
-
-
+