Skip to content

44yu5h/rpi_sensor_libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sensor library for RPi OS

The rpi.py and sensors folder is supposed to be copied to pythonx.xx/site-packages and then can be normally and globally imported and used.

The repo has functions for:

  • Digital output
  • Digital input
  • PWM output
  • Delay
  • Button
  • HC-SR04 Ultrasonic distance sensor
  • DHT11 Temperature and Humidity sensor
  • OLED display
  • Servo Motor

All the function is supposed to be called and defined in rpi.py so that the usage becomes easier

Usage

import rpi and then proceed to use any function that suits the need.

Screenshots

Oled Display (Normal and Inverted)


PWM (Brightness Control):


Push Button:


Servo Motor:

About

Sensor library for raspberry pi sugar os

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages