Skip to main content

A package for managing E/S of Raspberry pi or PCduino. Gestion des E/S d'un Raspberry PI ou d'un pcduino

Project description

FGPIO Lib - A package for managing E/S of Raspberry pi or PCduino
- Une librairie pour gerer les e/s d'un RPi ou d'un pcduino
========================================================================

This package allows to manage the following components with a Raspberry PI or pcduino
(Ce module permet de gerer les composants suivants avec un Raspberry PI ou un pcduino)

- Rpi or pcduino with rpiduino_io
- Bouton with bt_io
- Led with led_io
- lcd with lcd_io
- luminosity with lum_capteur_io
- max7219 with max7219_io
- radio controlled plugs
with rcSwitch_io et prises
- Ultrasonic distance sensor
with UltraSonic_io
- DHT11 temperature sensor
with dht11_io
- GPIO extension
MCP23017 with mcp23017_io
PCA9555 (DF ROBOT DFR0013)
with pca9555_io
- rotary encoder with rotary_encoder_io
- a menu on lcd and rotary encoder
with f_menu
- CAN mcp3004/3008 with mcp300x_io
- temperature RF sensors
with rf_recept_io
- servo motors with servo_motor_io
- Gyroscope accelerometer MPU-6050
with mpu_6050_io
- Detector qrd1114 with qrd1114_io
- CT sensor YHDC with SCT013_v_io
- HRLV max sonar sensor with hrlv_max_sonar_io


All component can be use with thread (see examples)

Installation :
pip install FGPIO

Example :

from FGPIO.rpiduino_io import *
from FGPIO.led_io import *
pc = rpiduino_io()
led = led_io(pc.logical_pin(2))
led.on()

def action_bt_change():
if bt.th_readed():
print "bt Pushed."

bt = bt_io(pc.logical_pin(10), True, action_bt_change)

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

FGPIO-0.5.tar.gz (46.5 kB view details)

Uploaded Source

File details

Details for the file FGPIO-0.5.tar.gz.

File metadata

  • Download URL: FGPIO-0.5.tar.gz
  • Upload date:
  • Size: 46.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for FGPIO-0.5.tar.gz
Algorithm Hash digest
SHA256 ea892f727ab721d9499756509a97ac21c470875c5ec195b231584aa964820757
MD5 c358356d336ecba939172a34983120ca
BLAKE2b-256 e12f908f747aba5e888deed9838b039f6e9981a14e14fed23dd6420ad0d11fbe

See more details on using hashes here.

Supported by

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