• skip to content



flink-project

Universal Serial Interface to FPGA's

User Tools

  • Admin
  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: start » flink_python

Sidebar

Navigation

  • Home
  • flink VHDL subdevices and interfaces
  • flink Linux Kernel Modules
  • flink Userspace Library
  • flink Library Lite
  • flink Utilities
  • flink Python Library
  • flink Java Library

  • flink First Steps
  • flink on a Phytec PCM032 Board
  • flink on a Digilent ZYBO
flink_python

Python Wrapper for flink

Downloads

  • flink Python Wrapper on Github

This is a Python wrapper for the flink Userspace Library. flink devices as well as all their integrated subdevices can be easily accessed. The wrapper allows control of the high-level API as well as the low-level API.

How to Use

import flink
import time
 
dev = flink.FlinkDevice()
dev.lsflink()
 
gpio = flink.FlinkGPIO()
gpio.setDir(pin, True)
gpio.setValue(pin, not gpio.getValue(pin))
time.sleep(1)
gpio.setValue(pin, not gpio.getValue(pin))
flink_python.txt · Last modified: 2023/11/02 09:27 by ursgraf

Page Tools

  • Show pagesource
  • Old revisions
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki