kalo pake yg ini work bang #include int potpin = A5; // analog pin used to connect the potentiometer int val; // variable to read the value from the analog pin Servo myservo; // create servo object to control a servo // twelve servo objects can be created on most boards int pos = 0; // variable to store the servo position void setup() { myservo.attach(9); // attaches the servo on pin 9 to the servo object } void loop() { for(pos = 0; pos =0; pos-=1) // goes from 180 degrees to 0 degrees { checkPot(); myservo.write(pos); // tell servo to go to position in variable 'pos' delayMicroseconds(val); // waits 15ms for the servo to reach the position } } void checkPot(){ val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023) val = map(val, 0, 1023, 0, 15000); // scale it to use it with the servo (value between 0 and 180) }
Saran mass buatin di google drive tingal copy mass hehe🙏🙏
Iya mas setuju
@@ramadhani5898setuju😊
@@ramadhani5898setuju 😊
minaat poll masss
setuju bangettt, jangan pelit ilmu😁
Mas akbar itu cara masang saklar yang mode gimana??
Sudah ada gan tutorial nya
Bang bikin tutorial sambung led nya, yang rgb remot
Siap gan
Mas tolong di review kan driver untuk LED+pemasangan😅
Sudah ada di video sebelum nya gan🙏
BANG nama toko speaker 4 inc nyaa apa
Bang mau nanya itu arduino nya miser ada sendiri di beam juga ada sendiri bang apa gimana
Mas kalo mau pesen mixer nya dimana mass
Cara buat mixer modul lampu nya mas
Sudah ada gan
bang potensio nya d putar gk ada perubahan kecepatan.pakai potensio berapa k bang?
codingnya juga dah sama semua,
kalo pake yg ini work bang
#include
int potpin = A5; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup()
{
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop()
{
for(pos = 0; pos =0; pos-=1) // goes from 180 degrees to 0 degrees
{
checkPot();
myservo.write(pos); // tell servo to go to position in variable 'pos'
delayMicroseconds(val); // waits 15ms for the servo to reach the position
}
}
void checkPot(){
val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023)
val = map(val, 0, 1023, 0, 15000); // scale it to use it with the servo (value between 0 and 180)
}
Pot berapapun kayak e bisa gan nex kita bahas di live gan
Mask jalok no wa nya mas
Biar proses pesanya mudah
Cara belinya
Caranya beli nya gimana. Mau beli tapi gk ada no Wa nya 😢
cara buat gerakan berlawanan arah gimana bang?
Nex di #4
Itu coding nya untuk berapa beam