byte graph[8][8] = {
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000},
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000},
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000},
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000},
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000},
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000},
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000},
{B00000,B00000,B00000,B00000,B00000,B00000,B00000,B00000}
};

배열에 데이터값을 저장하고

LiquidCrystal 라이브러리

lcd.createChar
lcd.setCursor
lcd.write 함수를 사용하여 그래프를 표현할수있다

+ Recent posts