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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit-circuitpython-floppy-1.0.11.tar.gz
Algorithm Hash digest
SHA256 3573c7ee50c35224363f40a275661edd2c64cb0c6916f798d6df0d3788504d8a
MD5 c9e8242df864e042f3dc00318a1120c4
BLAKE2b-256 b53329885c88ea79235d9feb5601364ee37a5e1c89b88b2d546c485b5d4005ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_floppy-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 335b63bfcdf9c4a0433e22d7b91c9b7dea36ddfa03d843e84c8a943ad8a4066c
MD5 16b7af666890747a15567718cc3403db
BLAKE2b-256 a9d99d4d35bdd76b10aa3809d8b30151eec5d8a62f8d0a8feb3841ae2d5895f8

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