Skip to main content
max7301
==========

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
4. PROFIT

# Example

```
import max7301
import time

device = max7301.MAX7301()

device.set_pin_as_output(30)
device.set_pin_as_input(31, pullup = False)

while 1:
device.set_pin(30, 1)
time.sleep(0.1)
print "Pin 31 =", device.get_pin(31)
device.set_pin(30, 0)
time.sleep(0.1)
print "Pin 31 =", device.get_pin(31)
```

Metadata

Release files for max7301 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for max7301 1.0.3
File Size Uploaded Provenance Actions
max7301-1.0.3.tar.gz 14.6 kB Without provenance Details for max7301-1.0.3.tar.gz

Release files / max7301-1.0.3.tar.gz

Download URL max7301-1.0.3.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9ce594d34313cca28a48c5c46709714255395a518a4fdf98dd948be457d87445
BLAKE2b-256 checksum
How to use checksums
3faaaa5488763067fd4a147292c1bb11711fb8d92cfd447653284aa9ee5083f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for max7301 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page