Skip to main content

Access floppy drives from CircuitPython

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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


Download files

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

Source Distribution

adafruit_circuitpython_floppy-3.0.2.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adafruit_circuitpython_floppy-3.0.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file adafruit_circuitpython_floppy-3.0.2.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.2.tar.gz
Algorithm Hash digest
SHA256 06917ad013dd404a7c4553723d3e7bee2d8b8dd3452ef9d56d06048828fbff5e
MD5 66a0383db0e9127228a4498e48943028
BLAKE2b-256 b36b131bba7f86fdc964bd64ceaa8d23bfc87908059fa19c67097de546d7b8da

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_floppy-3.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ff1cd71385bd4c1a47dae7d639c340123f9281790751e691dc985683e42514
MD5 6b7e29ddbf23f1ae5dd5e50c9f59a350
BLAKE2b-256 f9ac9f67f1dab3acde68aae19128292f75c4fd35b33a0d94848cc5b6cb5018c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page