Python serial usb example for mac os x

broken image
broken image

The name of the serial port must be always specified by the -d option (alternative names: -device -port) The available command line options are displayed when the program is executed with the -h argument. This program requires a python3 installation including the pyserial module. On Windows machines, the CP2102 USB to UART driver must be installed. This program can be used to control a DL-141TH data logger attached to the USB port. '''Configure and/or read out the Voltcraft DL-141TH Temperature-/Humidity data logger. Code: Alles auswählen #! /usr/bin/env python3