Загрузка...

SIT210-Making GUI -Task 5.2

There are 3 lights attached to the raspberry pi using breadboard , 3 resistors corresponding to each light , 3 jumper wires from breadboard to the GPIO’s on the raspberry pi and one jumper wire to GND on raspberry pi from breadboard.

When the program runs the user is set to see a screen that displays 4 buttons
1. Turn Red led on
2. Turn Yellow led on
3. Turn Green led on
4. Exit

When one of the following led button is pressed the corresponding led starts to glow placed on breadboard. If you remain that led on and try to turn on other led the led that you turned on in first place will go off and the button you recently pressed will turn on.

So that means that at one time only 1 led will glow.

And there is a exit button as well if you press that the window that opened will close automatically.

Видео SIT210-Making GUI -Task 5.2 канала Abhishek Kapoor
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять