Skip to content

Small change for python3 #1

@mlc42

Description

@mlc42

Thank you for this nice lib.

For installation on raspberry 4 with libreelec a small thing must be changed

import sys
sys.path.append('/storage/.kodi/addons/virtual.system-tools/lib')
import smbus
import time
sys.path.append('/storage/.kodi/addons/virtual.rpi-tools/lib')
import RPi.GPIO as GPIO

in si4703SetChannel
newChannel //= 10; # e.g. 980 / 10 = 98

Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions