Access floppy drives from CircuitPython
Project description
Introduction
Interface with archaic spinning rust
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.
Installing to a Connected CircuitPython Device with Circup
Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:
pip3 install circup
With circup installed and your CircuitPython device connected use the following command to install:
circup install adafruit_floppy
Or the following command to update an existing version:
circup update
Usage Example
See the Examples page for a full example. This example shows how to initialize a floppy and seek to track 1, but it omits the pin arguments to the Floppy constructor for brevity:
import board
import adafruit_floppy
floppy = adafruit_floppy.MFMFloppy(...)
floppy.selected = True
floppy.spin = True
floppy.track = 1
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Documentation
For information on building library documentation, please check out this guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file adafruit_circuitpython_floppy-2.0.0.tar.gz
.
File metadata
- Download URL: adafruit_circuitpython_floppy-2.0.0.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8073f9c5c954a80d7df56526a98281b1d80d8cde55aadbb61224171d090fe549 |
|
MD5 | d7c1037b9a296f8092e383f2ee80420e |
|
BLAKE2b-256 | 3ca5fc7b2c3e030f8426e8759880c9fcfd20bbce9957e22b23c33d8d0bb26b8e |
File details
Details for the file adafruit_circuitpython_floppy-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_floppy-2.0.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7c9390831f6176b4c6fd2f5d1e293474ba292a36f0b85d3b787d2131021cc8 |
|
MD5 | afdde742279ae5c06963f67cc42565e7 |
|
BLAKE2b-256 | df75072f573b697d74595983a07839d16c3b3e3cf635a87c941bef4493dd7e74 |