[[戻る>TinyArcade]]

*HelloWorld [#a9145298]

 #include <TinyScreen.h>
 
 TinyScreen tiny_screen = TinyScreen(TinyScreenPlus);
 
 void setup()
 {
 	tiny_screen.begin();
 	tiny_screen.setBitDepth(TSBitDepth8);
 	tiny_screen.setBrightness(8);
 	tiny_screen.setFont(liberationSansNarrow_12ptFontInfo);
 	tiny_screen.fontColor(TS_8b_White, TS_8b_Black);
 }
 
 void loop()
 {
 	tiny_screen.setCursor(0,0);
 	tiny_screen.print("Hello World!");
 }


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS