1) The __________________ is an example for the analogue sensors a) LDR b) PIR c) IR d) Buzzer 2) The LDR is an ________________component . a) Input/digital b) Input/Analogue  c) Output/digital d) output/Analogue 3) Choose the correct syntax to connect LDR in pin number 0 in the Raspberry pi a) ldr=0 b) LDR=0; c) LDR=0 d) LDR==0 4) You will write______________ to read the value from the LDR: a) board.analog_write(LDR) b) board.analog_read(LDR) c) board.digital_read(LDR) d) board.analog_Read(LDR) 5) You will write........................if the time to wait is 10 seconds a) sleep(10) b) sleep(100) c) Sleep(10) d) wait(10)

Using python language to control sensors

Papan Peringkat

Gaya visual

Pilihan

Berganti templat

Pulihkan simpan otomatis: ?