強火で進め

このブログではプログラム関連の記事を中心に書いてます。

2010-12-02から1日間の記事一覧

StarBoard OrangeのLCDに文字を流してみる

A を左から右へ移動させる。 #include "mbed.h" #include "TextLCD.h" TextLCD lcd(p24, p26, p27, p28, p29, p30); int main(void) { int x = 0; while(1) { lcd.cls(); lcd.locate(x, 0); lcd.printf("A"); wait(0.5); x++; if (x >= 16) { x = 0; } } } …