Arduino with keypad, servo, I2C, Seven segment, oled, buzzer, led
Program must do #include < LiquidCrystal_I2C.h > #include < Keypad.h > #include < TM1637Display.h > #include < Servo.h > #define CLK 7 #define DIO 6 #define RED 53 #define YELLOW 51 #define GREEN 49 #define BUZZER 47 int potpin = 0 ; // analog pin used to connect the potentiometer int val , out ; // variable to read the value from the analog pin TM1637Display display ( CLK , DIO ); Servo myservo ; LiquidCrystal_I2C lcd ( 0x27 , 20 , 4 ); const byte ROWS = 4 ; //4 baris const byte COLS = 4 ; //4 kolom char keys [ ROWS ][ COLS ] = { { '1' , '2' , '3' , 'A' }, { '4' , '5' , '6' , 'B' }, { '7' , '8' , '9' , 'C' }, { '*' , '0' , '#' , 'D' } }; byte colPins [ COLS ] = { 31 , 33 , 35 , 37 }; // pin 2,3,4,5 untuk pin kolom keypad (lihat gambar) byte rowPins [ ROWS ] = { 23 , 25 , 27 , 29...