[IBoard electronic school tutorial] [uCGUI routine and code package download]

Source: Internet
Author: User
Tags reverse text

_____________________________________

In-depth CommunicationQQGROUP:

A: 204255896(1000Super group, can join)

B: 165201798(500Super people, full staff)
C: 215053598
(200High personnel group, full personnel)D: 215054675(200High personnel group, full personnel)

E: 215055211(200High personnel group, full personnel)F: 78538605(500High personnel group, full personnel)

G: 158560047(500Personnel high-level group, full member) H: 103661446 (can join ...)

YYGroup:7182393

YYChannels:80518139(Irregular speech group courses)

Forum:Http://www.heijin.org

Store:Http://i-board.taobao.com

Blog:Http://XiaomaGee.cnblogs.com

Tip: Please follow the forums and blogs to view the latest version of this document.

_____________________________________

 

 

 

Experiment 1: text display experiment

Lab description:

This experiment mainly introduces five modes of text display: normal display mode, reverse text mode, transparent text mode, unique or text mode, transparent reverse mode, and several common functions of text display. For details, see the program code of this routine and the ucgui user manual. Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 2: Point Function Experiment

Lab description:

This experiment mainly introduces the plotting function GUI_DrawPoint (), which is used to draw several rectangular lines. The specific operations of the point function are as follows:

// Stroke

For (k = 0; k <7; k ++ ){

If (k = 0) GUI_SetColor (GUI_WHITE );

If (k = 1) GUI_SetColor (GUI_BLUE );

If (k = 2) GUI_SetColor (GUI_RED );

If (k = 3) GUI_SetColor (GUI_YELLOW );

If (k = 4) GUI_SetColor (GUI_GRAY );

If (k = 5) GUI_SetColor (GUI_GREEN );

If (k = 6) GUI_SetColor (GUI_CYAN );

For (j = 50 + 30 * k; j <80 + 30 * k; j ++ ){

For (I = 120; I <465; I ++ ){

GUI_DrawPoint (I, j); // The lookup function.

}

}

Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 3: Draw line function experiment

Lab description:

This experiment describes how to operate the draw line function GUI_DrawLine () and the draw line function GUI_DrawLineTo. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

 

Experiment 4: Circle Function Experiment

Tutorial Description: This experiment mainly introduces the circle function GUI_DrawCircle () and the usage and settings of the functions related to the circle. For details, see the program code of this routine and the ucgui user manual. Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 5: polygon Experiment

Lab description:

This experiment describes how to draw a triangle and a hexagonal shape. This shows that ucgui can draw a polygon. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 6: rectangular Experiment

Lab description:

This experiment mainly introduces several methods of drawing a rectangle: drawing a reversed rectangle and a common filled rectangle. For details, see the program code of this routine and the ucgui user manual. Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 7: Elliptic Experiment

Lab description

Tutorial Description: This experiment describes how to plot an Elliptical Function and how to set related functions. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 8: arc Experiment

Lab description:

Lab Description: This experiment mainly describes the usage of the arc function and related function settings. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 9: digital display experiment

Lab description:

Lab Description: This experiment describes the usage of various numeric display functions and related function settings. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Lab 10: font Experiment

Lab description:

Lab Description: This experiment mainly describes the types of English fonts and Chinese character libraries. There are many ways to add Chinese font libraries. You can use Baidu to learn how to add Chinese font libraries. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

 

Lab 11: color experiment

Lab description:

Tutorial Description: This experiment describes the various colors and usage instructions in ucgui. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Lab 12: button lab:

Lab description:

Tutorial Description: This experiment describes how to use button functions. This experiment includes how to create common buttons and map buttons. The touch function is not added in this experiment. Only one control button is added. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Lab 13: progress bar lab

Lab description:

Tutorial Description: This experiment mainly describes how to use the control progress bar. This experiment does not add the touch function to add only one control progress bar. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

 

Experiment 14: list box Experiment

Lab description:

Tutorial Description: This experiment describes how to use the control list box. In this experiment, the touch function is not added only to add a control list box. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Tutorial 15: scroll bar Experiment

Lab description:

This experiment describes how to add and apply a scroll bar. In this experiment, the touch function is not added to add only one widget scroll bar. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Tutorial 16: frame-based Experiment

Lab description:

Tutorial Description: This experiment describes how to use the control frame. In this experiment, the touch function is not added to add only one control frame. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 17: Text control experiment

Lab description:

Tutorial Description: This experiment mainly describes how to use text controls. In this experiment, the touch function is not added to only add one text control. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Lab 18: text box lab

Lab description:

Tutorial Description: This experiment describes how to use the text box control. This experiment does not add the touch function to add only one text box control. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

Experiment 19: Dialog Box Experiment

Lab description:

Tutorial Description: This experiment describes how to use the dialog box control, including resource tables and dialog box programs. The touch function is not added in this experiment. Only one dialog box control can be added. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

The experimental phenomena of this experiment are shown in:

 

Lab 20: Touch lab

Lab description:

This experiment mainly introduces the touch function of ucgui. You can add its touch function.

Lab symptom:

When you click any point on the LCD screen, the coordinates and AD values of the point are displayed.

Tutorial 21: Password box Experiment

Lab description:

This experiment mainly introduces how to use the text box experiment Password box in ucgui. the dialog box contains 0 ~ 9. There are 12 buttons for OK and Esc. Set the text box mode to Password box mode, and press 0 ~ "*" Is displayed in the text box, the maximum length of the text box is set to 6, and a maximum of six values can be entered. For details, see the program code of this routine and the ucgui user manual.

Lab symptom:

Enter 123456 and click OK. A small dialog box is displayed. If the password is incorrect, an Error is displayed in the text box. Click Esc to enter the password again. In the Password box experiment, you need to change the underlying code of the ucgui source code. For details, see the edit. c file in this routine. The Code contains the modify annotation.

Experiment 22: Multiple dialog box switch Experiment

Lab description:

This experiment describes how to switch between multiple dialog boxes in ucgui. On the Password box page of tutorial 21, enter the correct password and click OK to delete the current password box. The second interface is displayed, click Back In the second interface to return to the password box interface.

Lab symptom:

Enter 123456. Click OK to bring up the next dialog box. If the password is incorrect, an Error is displayed in the text box. Click Esc to enter the password again. In the second dialog box, click Back to return to the password box interface, so that the dialog box can be used with each other.

Experiment 23: Comprehensive Experiment

Lab description:

This experiment is a comprehensive application of the previous experiment. Some functions are not available. You can try it.

Lab symptom:

In this experiment, a simple interface of the oscilloscope is used.

 

------------------------------------

Code package:

Http://pan.baidu.com/share/link? Consumer id = 525571 & uk = 4247225764

 

-----------------------------------

 

Purchase address:

Http://item.taobao.com/item.htm? Spm = a1z10.1. w251734887.1.XPV6rH & id = 15851248846

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.