| 数据搜索系统,热门电子元器件搜索 |
|
AN3128 数据表(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 数据表(HTML) 46 Page - STMicroelectronics |
|
46 / 105 page ![]() Multi-input embedded GUI library firmware AN3128 46/105 Doc ID 16918 Rev 5 4.1.24 SetHistogramPoints API global function Table 29 describes the SetHistogramPoints function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a Histogram Object and add it to a Page Object */ MyHistogram = NewHistogram ("MyHistogram", "Hours", "Watt", points, 24); AddPageControlObj( 0, 0, MyHistogram, &page1 ); ... MyHistogramPoints ={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}; SetHistogramPoints( &page1, "MyHistogram", MyHistogramPoints, 24 ); Figure 14, 15, 16, show, in detail, the histogram object properties and methods which the final application can use to interact with. 4.1.25 SetGraphChartPoints API global function Table 30 describes the SetGraphChartPoints function: Table 29. SetHistogramPoints API function Name Description Function name SetHistogramPoints Function prototype GL_ErrStatus SetHistogramPoints(GL_Page_TypeDef* pPage,char* objName,int16_tdata_points[],GL_uint8_t n_points) Behavior description Modify the points array of the histogram object Input parameter {x} *pPage: pointer to page structure objName: name of the object data_points[]: the array of points to be plotted on the LCD n_points: number of points to be plotted Output parameter {x} None Return value GL_OK if successful, GL_ERROR otherwise Required preconditions None Called functions No API/HAL layer functions Table 30. SetGraphChartPoints API function Name Description Function name SetGraphChartPoints Function prototype GL_ErrStatus SetGraphChartPoints(GL_Page_TypeDef* pPage,char* objName,int16_tdata_points[],GL_uint8_t n_points); Behavior description Modify the points array of the GraphChart object |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |