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.3.tar.gz (28.0 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.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.3.tar.gz
Algorithm Hash digest
SHA256 2d149ba5cc4a00634d47a937442fd70cd0bc835311987a21304645bdfd017394
MD5 d8627f68a4275472d16a63a1f149e35f
BLAKE2b-256 8aab3caf8b2bf96d4dea5cb04f79ae8de09372ee28c2ac25d7eb82712ef2a707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fb0472970a0007592653d33e11d37d6b0f619b491aeb1abb07a2aecdc616731d
MD5 4d28f6fd955a51b1b11c96a72772e950
BLAKE2b-256 8164d94bad460dc58dfeff65b09594cf44fd3779899e53e7c4d88a0d380ac731

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