[TouchGFX][STM32F4] Use TextArea to display the value changing on the LCD/使用文字區塊將變動的數值顯示在LCD上(一)

This example shows how to use TextArea to dispaly the increasing value on the LCD of STM32F429I Disc1. 1. Set parameters of the TextArea: Color, Wildcard. 2. Use snprinf() function to display the TextArea buffer on the LCD. 3. Use handleTickEvent() to update the value periodically. 4. Redraw by using TextArea.invalidate(). 這個範例說明如何使用TextArea,將一個遞增的數值顯示在STM32F429I Disc1開發版的LCD上。 1. 設定TextArea的參數,如顏色、Wildcard。 2. 使用snprinf()將 TextArea buffer的資輛顯示在LCD上。 3. 使用handleTickEvent()去更新數值。 4. 使用TextArea.invalidate()去重繪畫面。




We will share more tutorial videos with people who want to learn LabVIEW and Python welcome to subscribe this channel. 未來會陸續更新影片,讓想學習LabVIEW和Python的朋友可以看影片學習,歡迎訂閱此頻道。 其他網址/related websites: https://labview-tech.blogspot.com/ https://fishark.pixnet.net/blog email: jacklee3633@gmail.com Line: lvnet

留言

這個網誌中的熱門文章

使用VS code開發Python程式 - Matplotlib繪圖

使用Pycharm開發Python程式與用Matplotlib繪圖

[Python][tkinter] Build tkinter GUI 使用tkinter建立圖形視窗