//// ÇERÇEVE OLUŞTURMA FONKSİYONU/////////////
void drawH(int satir, int satir2, int stun, int stun2, int stun3, int stun4, int deep, int deep2, int frd, int frd2) {
u8g2.drawHLine(satir, stun, deep);
u8g2.drawHLine(satir, stun2, deep);
for (int i = frd; i <= frd2; i++)
{
u8g2.drawHLine(satir, i, deep2);
u8g2.drawHLine(satir2, i, deep2);
}
u8g2.drawHLine(satir, stun3, deep);
u8g2.drawHLine(satir, stun4, deep);
}
/////////////////////////////////////////////
//// Volt Çerçeve ////////////////////////
drawH(0, 83, 0, 1, 29, 30, 85, 2, 1, 28);
//////////////////////////////////////////
//// Akım Çerçeve ////////////////////////
drawH(0, 83, 33, 34, 62, 63, 85, 2, 34, 61);
//////////////////////////////////////////
//// Kademe Çerçeve //////////////////////
drawH(86, 126, 0, 1, 19, 20, 42, 2, 1, 20);
//// Temp Çerçeve ////////////////////////
drawH(86, 126, 22, 23, 42, 43, 42, 2, 23, 41);
//////////////////////////////////////////
//// Watt Çerçeve ////////////////////////
drawH(86, 126, 45, 46, 62, 63, 42, 2, 46, 61);
//////////////////////////////////////////