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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file troyalab-0.1.6.tar.gz.

File metadata

  • Download URL: troyalab-0.1.6.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for troyalab-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c37ee39c8b2bf267007f85ba1bb1dbddcd088d4b917949a9f1227a7f91034269
MD5 66cfcb319f29066f851b3704a5f76887
BLAKE2b-256 dcae22bbd73c0c2c66ae2df98120e524a21255dcfc0f9eb58fb38816a88207bb

See more details on using hashes here.

File details

Details for the file troyalab-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: troyalab-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for troyalab-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8e0e55fa783bdc002688b4e6f9a8bb4851e39304d874122bc19ebe0f9ac6639f
MD5 0d6e0738fb87b393d9b420a11b791155
BLAKE2b-256 c2f0e2b8ca48d54cf586c9063aaf4363dc4ec443e1631c1c5acb453c3e6cf65e

See more details on using hashes here.

Supported by

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