Serial connection with a FT232h Breakout Board

Hi there!

A friend provided me with a big selfmade button (like in the quiz shows) that I’d like to connect to via vvvv. The button communicates via Serial Port and is based on a FT232h Breakout Board.

I’d like to read from the button and use its output to toggle between two states in my vvvv patch.

My friend provided me with the following python code he normally uses when using the buttons:

# pip install pyusb, pyftdi, adafruit-blinka
import digitalio
import board

pins = []
for pin in [board.C0, board.C1, board.C2, board.C3]:
    pin = digitalio.DigitalInOut(pin)
    pin.direction = digitalio.Direction.INPUT
    pins.append(pin)

while True:
    for pin in pins:
        if pin.value == 0:
            print("pressed")

I’m a total newby to vvvv and have zero experience as to how connect anything via Serial port, so any help as to how this works is highly appreciated!

Thanks a lot!

I’m on vvvv gamma 7.0-361.

this might be a starting point with some example patches to operate the serial port: