Skip to content

Commit

Permalink
add pinout
Browse files Browse the repository at this point in the history
  • Loading branch information
1999AZZAR committed Aug 11, 2024
1 parent b597d25 commit 50e3448
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 10 additions & 1 deletion ayat-guessing-game.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
DFRobotDFPlayerMini dfPlayer;

// LCD configuration
LiquidCrystal_I2C lcd(0x27, 20, 4);
LiquidCrystal_I2C lcd(0x22, 20, 4);

// Keypad configuration
const byte ROWS = 3;
Expand Down Expand Up @@ -72,6 +72,15 @@ void setup() {

if (!dfPlayer.begin(Serial1)) {
Serial.println("DFPlayer Mini tidak terdeteksi.");
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Selamat Datang!");
lcd.setCursor(0, 1);
lcd.print("mohon maaf, tetapi");
lcd.setCursor(0, 2);
lcd.print("DFPlayer Mini");
lcd.setCursor(0, 3);
lcd.print("tidak terdeteksi.");
while (true);
}

Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,10 @@ <h2>Peningkatan lanjut</h2>
<li>Tingkatkan antarmuka pengguna dan mekanisme umpan balik.</li>
</ul>

<h2>Flowchart dan usecase sequence</h2>
<h2>Flowchart, usecase sequence and images</h2>
<img src="./flowchart.png" alt="Flowchart" />
<img src="./sequence.png" alt="Sequence Diagram" />
<img src="./mega-pinout.jpg" alt="pinout" />

</section>

Expand Down
Binary file added mega-pinout.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ Proyek ini adalah sistem berbasis Arduino sederhana untuk mendengarkan dan meneb
- Implementasikan fitur tambahan seperti batas waktu atau petunjuk.
- Tingkatkan antarmuka pengguna dan mekanisme umpan balik.

## Flowchart dan Usecase Sequence
## Flowchart, Usecase Sequence and images

![flowchart](flowchart.png)
![sequence](sequence.png)
![mega-pinout](mega-pinout.jpg)

0 comments on commit 50e3448

Please sign in to comment.