Skip to main content

Access floppy drives from CircuitPython

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

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


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-1.0.10.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file adafruit-circuitpython-floppy-1.0.10.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-floppy-1.0.10.tar.gz
Algorithm Hash digest
SHA256 013e06ec35f54392e1e89570e194de82d0ce86d55d234b436ecf57e35e4e74a7
MD5 00cf44f7c3b101767b4f3a3284316c8c
BLAKE2b-256 624ef5ef89e134fe1adfe2813a75423a89c33992a8fc22c9e0629bc86ce2d4c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 c2775983e34c9af1350af287d15961a7a91667c274102d4e7041cc7381728df8
MD5 c4744bb483bee1f9bdb0c6790b47f209
BLAKE2b-256 472ea192fd1b2b24b0e36df60151ceb765532df226be5399daf3dee453b58e7f

See more details on using hashes here.

Supported by

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