8428| 8
|
[已解决] QS30-1辉光管(限量版) 顯示異常 |
測示了一下,顯示出來的數字跟我程式的不一樣,我程式順序是"9,8,7,6,5…"但是QS30 show出來的是 "5,6,7,8,9…"完全不一樣。 還有tube.setBackgroundColor(1, (Color)(6));只能用6,其他數字會多顯示一個"1",如下圖 tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",9); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",8); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",7); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",6); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",5); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",4); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",3); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",2); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%d",1); tube.display(); delay(1000); tube.setBackgroundColor(1, (Color)(i)); tube.printf("%02d",0); tube.display(); delay(10000); |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed