RUVIDEO
Поделитесь видео 🙏

Sequential logic game/test in Raspberry Pi GPIO Python (version 2)

Used materials:
1x Raspberry Pi 2
1x Breadboard
2x LED (A red and a green)
2x Push-down switches
2x 220 ohm resistors for the LEDs
2x 1 kohm resistors for the push-down switches
Jumper wires

This script was written to make a user understand the meaning of sequential logic. The combination of different inputs gives a certain output.
A constant output(RED LED) is given as the program starts, and by trying different inputs the user is asked to reach a different constant output(GREEN LED) by using the inputs learned.
It is also capable of give data such as the time of the test and the number of tries or inputs pressed until it reaches the green led output constant.

This code has been modified so the program asks the tester the name and age of the tested subject, and in the end of the test it displays on the screen a table with the data that was inserted on the program (name, age, number of tries and time of the test)
It wouldn´t be possible without adding the texttable Python module, wich I´ll include the download link and install instructions below.

Python script: https://drive.google.com/file/d/0ByFgW1BKyIt0WGtLNkNxcDRaQzQ/view?usp=sharing

Wiring diagram: https://drive.google.com/file/d/0ByFgW1BKyIt0UTA1VnhDeEVvM00/view?usp=sharing

texttable python module download link: https://pypi.python.org/pypi/texttable

texttable module install instructions : https://docs.python.org/2/install/

UPDATE:
Version 2.1

Now the program has also the capability to insert the date and save on a external text file (.txt) all the data and results of each test that is made on a table.

New Python script link:

https://drive.google.com/file/d/0ByFgW1BKyIt0Q2toRnBlcUIwZjQ/view?usp=sharing

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Sequential logic game/test in Raspberry Pi GPIO Python (version 2)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.