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.4.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.4-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.4.tar.gz
Algorithm Hash digest
SHA256 f53de73064d2c16d6fa89e041d43597a59c3ceed554e49f3c47e684c6dddd5bc
MD5 37388bc6d9eee86d9ef16dc322c16bb1
BLAKE2b-256 912c485507d85c875df62588043c80d46e1a9a2b5ddf036de650dd82cbaba579

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 704a96aa6d85f0c364d4b343fa8fb6eb1a779dde3730e45444fd26460f4f7870
MD5 cc04785b0329d6efe25bc4fb204a148e
BLAKE2b-256 a76477df115a93124fe31def1a74fc2ba8761ad4748bc4f5d1a248b4bd45e9d8

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