Skip to main content

A library to use for Troyalab development boards for Python

Project description

Installation Static Badge

The easiest way to install troyalab is to download it from PyPI. It's going to install the library itself and its prerequisites as well.

$ pip install troyalab

Secondly, you can install troyalab from its source code.

$ git clone https://github.com/troyalab-fatih/BG96_RASPBERY_PI
$ cd troyalab
$ pip install -e .

Import

Then you will be able to import the library and use its functionalities.

import troyalab.RPi_Shield

You can connect to the card by typing which port your Troyalab RPi Shield is connected to.

troyalab = troyalab.RPi_Shield.BG96("/dev/ttyS0")

Then you need to adjust the GPIO settings to get your card up. And you are ready.

troyalab.setupGPIO()
troyalab.powerUp()
troyalab.getHardwareInfo()


Verison Descriptions

Version 0.1.6
Author Fatih Furkan
Date 13.08.2023
Raspi 4 - Model B
Python 3.9.2

Verison Descriptions

  • Git and PyPI pulled to the same version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

troyalab-0.1.6.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

troyalab-0.1.6-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page