Saturday, 20 July 2024

Traffic Controller & Flasher

// TRIMAN //
// 26 JULY 2024 //

#include <Wire.h>
#include <EEPROM.h>
#include "RTClib.h"
 #include <Adafruit_I2CDevice.h>
//#include <SPI.h>
 RTC_DS1307 rtc;
 char namaHari[7][12] = {"Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"};
#define DS3231_I2C_ADDRESS 0x68

Friday, 5 July 2024

Membuat Posting Iframe Responsive

 <style>
.iframepost {
  position: relative;
  padding-bottom: 10.25%;
  overflow: hidden;
}

Traffic Light Setup & Flasing

 

// TRIMAN      //
// JULI 2024 //
#include <Wire.h>
#include <EEPROM.h>
#include "RTClib.h"
#include <SPI.h>
#include "PCF8574.h"
#include <LiquidCrystal_I2C.h>
RTC_DS1307 rtc;
char namaHari[7][12] = {"Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"};
#define DS3231_I2C_ADDRESS 0x68
//0x20 untuk simulasi proteus jika real gunakan 0x27 atau 0x3F