Touch area

Description

This widget is for touch widget, and user can decide touch range.

Attributes

  • Name

    Touch area widget name

  • Position X

    Display touch area widget at position X on screen

  • Position Y

    Display touch area widget at position Y on screen

  • Width

    Touch area widget width

  • Height

    Touch area widget height

Event

Event Description
touch touch panel

Function

Function Description
layout_change_to_layout Change the displayed Layout widget
button_set_text Change the displayed PushButton widget text
button_set_text_color Change the displayed PushButton widget color
image_set_image Change the displayed source from Image widget
animation_set_frame_idx Change the displayed Animation widget which frame idx
animation_set_animation Change the displayed source from Animation widget
text_set_text Change the displayed Text widget text
text_set_text_color Change the displayed Text widget color
meter_needle_set_value Change the displayed Meter Needle widget value
progress_bar_set_value Change the displayed Progress Bar widget value
slider_set_value Change the displayed Slider widget value
set_backlight Change backlight on device
buzzle_set_frequency Change the buzzle frequency, the sound effect will play one time when widget trigger
PWM_set_frequency Change frequency value to pin
PWM_set_percentage Change percentage value to pin
UART_transfer_message Transfer message from UART
USB_transfer_message Transfer message from USB