LCD에 가변저항이 필요한 이유1 LCD display, 아두이노 우노, 기본연결/I2C/가변저항의 필요. 회로&코드 - LCD display - 기본연결 LCD (회로 & 코드) - I2C 탑재된 LCD (회로 & 코드) - 가변저항이 필요한 이유 LCD display address 찾기 LCD display를 사용하는 코드를 짜기 위해선 우선 우리가 가지고 있는 LCD가 어떤놈인지 알아야 합니다. #include void setup() { Wire.begin(); Serial.begin(9600); while (!Serial); Serial.println("\nI2C Scanner"); } void loop() { byte error, address; int nDevices; Serial.println("Scanning..."); nDevices = 0; for(address = 1; address < 127; ad.. 2020. 10. 6. 이전 1 다음 반응형