1 Circuit design Cool Elzing | Tinkt X +
■ G fi tinkercad.com things/jkS3ZVMR0qe-cool-elzing/editel?tenant=circuits
O
Tum degięiklikler kaydedildi
I
±
flcat V±n=0,Vout=0; void setup()
{
pinMode(5, OUTPUT);
Serial.begin(5600); delay(500);
}
void lccp (){
for (lat i = 0; i<255; i**) { analogWrite(5, i);
Vin = anąiegRead (A0)*(5.0/1023); delay(10);
Vout = analcgRead(Al)*(5.0/1023); Serial.print("Vin:") ;
Serial.print(Vin);
Serial.print("Vout:");
Serial.println(Vout);
Vin:0.00Vout:0.00 Vin:5.00Vout:0.00 Vin:5.00Vout:0.00 Vin:0.00Vout:0.00 Vin:4.63Vout:0.00 Vin:5.00Vout:0.00 Vin:0.00Vout:*0.14 Vin:0.0
!► ^
Nasil ęalięir
1. Satir numaralarina tiklayarak kesme noktalari ekleyin.
2. Simulasyonu baęlat.
3. Duraklatildiginda degerler gormek ięin imleci degiękenlerin uzerine getirin