Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

MAX7301 driver

Project Description

A python library to control a MAX7301.
It uses spidev to talk to the chip.

# Installation on Raspberry Pi
1. sudo pip install max7301
2. sudo py-max7301-rpi-spi-setup
3. reboot

# Example

import max7301
import time

device = max7301.MAX7301()

device.set_pin_as_input(31, pullup = False)

while 1:
device.set_pin(30, 1)
print "Pin 31 =", device.get_pin(31)
device.set_pin(30, 0)
print "Pin 31 =", device.get_pin(31)
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
max7301-1.0.3.tar.gz (14.6 kB) Copy SHA256 Checksum SHA256 Source Apr 10, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting