我有一個小型7段led顯示屏,我想知道是否可以讓它顯示一分鐘的最後一位數字。下載了Arduino的時間庫,我嘗試了幾種方法,使用switch case和if if if,但都得到相同的結果,LED顯示屏只顯示0 ...你能指出我做錯了什麼嗎? #include <Time.h>
#include <TimeLib.h>
int led1=2;
int led2=3;
int led3=4
我正在嘗試使用Arduino Uno,三個按鈕和一個ACM1602B-FL-YBW顯示器進行岩石,紙張剪刀遊戲。 我在使用此顯示器時只是做了一個簡單的「Hello World」問題。 #include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal