- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to translate KBA of your autumn list into Japanese.
https://community.cypress.com/docs/DOC-12305
Please confirm to my work.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Kenshow-san
Confirm to work this KBA.
Thanks,
Jenna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jenna-san,
Japanese translation was over.
Please check below.
Original KBA:
Thanks.
==============================
タイトル: LCDにLongを表示する
質問:
PSoC Cコンパイラを使用してLCDに長い変数を表示するにはどうすればよいですか?
回答:
longはltoa関数を使用してasciiに変換し、LCD_PrString関数を使用してLCDに表示できます。コードスニペットの例を以下に示します。
#include <stdlib.h>
void main(void)
{
long myLong = 134546;
char OutputString [12];
ltoa(OutputString、myLong、10);
LCD_Position(0,0);
LCD_PrString(OutputString);
}
ltoa関数の詳細は、PSoC Designerの Help >> Documentation menuの「C言語ユーザーガイド」にあります。
==============================
4-Sept-2020