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 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-1.0.4.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-floppy-1.0.4.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b63c344cf7243f1715d76a8faf6f015c6de4d6c265ba0e22fa3f0bdbbd1e64e3 |
|
MD5 | da18d7fe6c9e5f6c335d8e4df7d263e2 |
|
BLAKE2b-256 | acdcf9fa93d526cbfb939d8932e10a8e2ccae7aa45f598314f75924ea4c0816c |
File details
Details for the file adafruit_circuitpython_floppy-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_floppy-1.0.4-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ef8fe9cced083375b8f93c3e8934555c55b758d4f4b0f4db7e21a92dd3cdba0 |
|
MD5 | 199ef44301ea59401fd1f1cd3950a3dd |
|
BLAKE2b-256 | b3d00e00a8185de9b8f576ed8611a2e2ebbbdd661898c8ca88c3dd801c8aa148 |