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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.6.tar.gz
Algorithm Hash digest
SHA256 a676ca3231b5d5a252329b3cde06c6d2bfbcd478d936e25d91837fb3c5e36d42
MD5 a142f2dc0b9014e2c50d86df29edd786
BLAKE2b-256 4ade83b2634b88e4a1cf41bde2eb16bc12a5f6f2d9f4fb8ae5f6eed703691d94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5a56f6b1b090c22cdc1b464429d5a22d871925b077ecdb6d6c1c524518045037
MD5 1e58f69c5185470acebf7117f4e491bf
BLAKE2b-256 70e083852aa7374877eae460849cf6f9e952182971da7901515653b6605da4fa

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