Elektronik va avtomatika fakulteti 163-22 guruh talabasi Temirov Sardorning intellektual sensorlar va yuritmalar fanidam tayyorlagan




Download 1,06 Mb.
Sana18.05.2024
Hajmi1,06 Mb.
#242692
Bog'liq
Sensorlar 3 ta ish


TOSHKENT DAVLAT TEXNIKA UNIVERSITETI


Elektronik va avtomatika fakulteti
163-22 guruh talabasi Temirov
Sardorning intellektual sensorlar va yuritmalar fanidam tayyorlagan
____________________________

2024-yil
1


// C++ code


//
void setup()
{
pinMode(LED_BUILTIN, OUTPUT);
}

void loop()


{
digitalWrite(LED_BUILTIN, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
digitalWrite(LED_BUILTIN, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}
2
void setup()
{
Serial.begin(9600);
pinMode(11, OUTPUT);
pinMode(A4, INPUT);
}
void loop()
{
int c = analogRead(A1);
analogWrite(11, c);
Serial.println(c);
}

3


#include
int c = 0;
Adafruit_LiquidCrystal lcd_1(0);
void setup()
{
lcd_1.begin(16, 2);
lcd_1.print("T. Sardor");
}
void loop()
{
lcd_1.setCursor(0, 1);
lcd_1.print(c);
c = analogRead(A5);
Serial.println(c);
}
Download 1,06 Mb.




Download 1,06 Mb.

Bosh sahifa
Aloqalar

    Bosh sahifa



Elektronik va avtomatika fakulteti 163-22 guruh talabasi Temirov Sardorning intellektual sensorlar va yuritmalar fanidam tayyorlagan

Download 1,06 Mb.