我的問題是,我正在發出警報,當溫度超過預設的量。然而Arduino正在通過if語句並且沒有停在門口。 我嘗試過查找不同的語法,但它繼續通過if語句,像它不在那裏,而它仍然序列打印。 //naming the led's left to right defining the pin and the constant int
//coded by luke
// the breadboard ha
我從來沒有使用過靜態常量字節,所以我不知道這是否是實現它的正確方法。所以,我就是這麼做的...這是頭文件: #ifndef nokia5110lcd_h
#define nokia5110lcd_h
#include "Arduino.h"
class NokiaLCD{
public:
NokiaLCD(int RST, int CE, int DC, int D