MGMP Matematika MA
Kegiatan PJJ MGMP Matematika MA Kab. Bondowoso
GESS 2019
BERSAMA GURU IGI
MGMP MIPA MTs. ZA
Penelitian MIPA (pengukuran dan SAINS) langsung ke lahan Pertanian Dinas Pertanian Kabupaten Bondowoso di Desa Lojajar.
STEM CAMP SEAQITEP IN MATH
BERSAMA PROf. KUMANO YOSHIZUKE, P.hD SHIZUOKA UNIVERSITY
ANUGRAH GURU INDONESIA IGI
BERSAMA BAPAK ABD KARIM, BAPAK ARIES SAMISANOV JUGA BERSAMA IBU DEPUTI GURBENUR JABAR
Kegiatan Madrasah
BERSAMA KEPALA MA, REKAN GURU, SISWA DAN MAHASISWA MAGANG
September 21, 2022
September 17, 2022
PELATIHAN INTERNET OF THING (IoT) SEAMOLEC (4 LED DENGAN 1 BUTTON)
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(2, INPUT);
pinMode(23, OUTPUT);
pinMode(22, OUTPUT);
pinMode(19, OUTPUT);
pinMode(18, OUTPUT);
Serial.println("Hello, ESP32!");
}
int on_off = 0;
void loop() {
// put your main code here, to run repeatedly:
int nilai = digitalRead(2);
//Serial.println(nilai);
if(nilai == 1) {
on_off++;
Serial.println(on_off);
if (on_off == 1) {
digitalWrite(23, HIGH);
digitalWrite(22, HIGH);
digitalWrite(19, HIGH);
digitalWrite(18, HIGH);
}else if (on_off ==2){
digitalWrite(23, LOW);
digitalWrite(22, LOW);
digitalWrite(19, LOW);
digitalWrite(18, LOW);
}
else {
digitalWrite(23, LOW);
digitalWrite(22, LOW);
digitalWrite(19, LOW);
digitalWrite(18, LOW);
on_off = 0;
}
}
//delay(1000); // this speeds up the simulation
}
PELATIHAN IoT SEAMOLEC (LAMPU LALU LINTAS SIMPANG 3)
void setup() {
// put your setup code here, to run once:
pinMode(21, OUTPUT);
pinMode(19, OUTPUT);
pinMode(18, OUTPUT);
pinMode(23, OUTPUT);
pinMode(22, OUTPUT);
pinMode(5, OUTPUT);
pinMode(4, OUTPUT);
pinMode(2, OUTPUT);
pinMode(15, OUTPUT);;
}
void loop() {
// put your main code here, to run repeatedly:
delay(10);
digitalWrite(21, HIGH);//menghidupkan led
delay(5000); // this speeds up the simulation
digitalWrite(21, LOW);//mematikan led
delay(10);
digitalWrite(19, HIGH);
delay(1000);
digitalWrite(19, LOW);
delay(10);
digitalWrite(18, HIGH);
delay(7000);
digitalWrite(18, LOW);
delay(10);
digitalWrite(23, HIGH);//menghidupkan led
delay(5000); // this speeds up the simulation
digitalWrite(23, LOW);//mematikan led
delay(10);
digitalWrite(22, HIGH);
delay(1000);
digitalWrite(22, LOW);
delay(10);
digitalWrite(5, HIGH);
delay(7000);
digitalWrite(5, LOW);
delay(10);
digitalWrite(4, HIGH);//menghidupkan led
delay(5000); // this speeds up the simulation
digitalWrite(4, LOW);//mematikan led
delay(10);
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(10);
digitalWrite(15, HIGH);
delay(7000);
digitalWrite(15, LOW);
delay(10);
}