當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


Arduino ArduinoGraphics - textScrollSpeed()用法及代碼示例

說明

設置文本滾動速度,該速度控製滾動每個像素之間的延遲(以毫秒為單位)。

用法

YourScreen.textScrollSpeed(speed)

參數

速度:滾動速度

返回

示例

YourScreen.beginText(0, 0, 127, 0, 0);
YourScreen.textScrollSpeed(500);
YourScreen.print("Hello There!");
YourScreen.endText(true);

相關用法


注:本文由純淨天空篩選整理自arduino.cc大神的英文原創作品 ArduinoGraphics - textScrollSpeed()。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。