TESTPAGE
出自YFRobotwiki
表格
|
|
代碼高亮
/* 8-segment display driver of YFRobot 4-bit digital tube module based on TM1650 chip Created by yfrobot,Released into the public domain. */ #include <YFTM1650.h> YFTM1650 YF_4BitDis(10, 11); void setup() { Serial.begin(38400); //Start serial communication at 9600 for debug statements Serial.println("YFRobot TM1650 Example Code"); YF_4BitDis.init(); } void loop() { YF_4BitDis.setBrightness(1); YF_4BitDis.displayString(String("____")); delay(1000); for (int i = 1; i <= 8; i++) { YF_4BitDis.setBrightness(i); delay(200); } YF_4BitDis.displayString(-1.235); delay(1000); }
嵌入視頻
<iframe width="720" height="405" frameborder="0" src="https://www.ixigua.com/iframe/6996896855774724615?autoplay=0" referrerpolicy="unsafe-url" allowfullscreen></iframe>
<iframe height=498 width=510 src='https://player.youku.com/embed/XNTQwMTI0Nzcy' frameborder=0 'allowfullscreen'></iframe>
聯繫我們
YFROBOT網站:www.yfrobot.com
手機:17696701116(微信/QQ同號)
QQ群【YFROBOT電子技術愛好者】:243067479
郵件:yfrobot@qq.com