Skip to main content

A python wrapper for interacting with the DAC43608

Project description

DAC43608

Python library for the DAC43608

Installation

You will need python3 first, install with

sudo apt update
sudo apt install -y python3-pip

Install the library with:

pip3 install DAC43608

Simple usage

from DAC43608 import DAC43608

dac = DAC43608()

# turn on channel A
dac.power_up(dac.A)

# set channel A to 75% of reference voltage
dac.set_intensity_to(dac.A, 0.75)


# power up all channels:
dac.power_up_all()

# power down all
dac.power_down_all()

# write to a channel B
dac.write_dac_B([0x08, 0x04])

dac.power_down(dac.B)

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

DAC43608-0.2.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

DAC43608-0.2.6-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file DAC43608-0.2.6.tar.gz.

File metadata

  • Download URL: DAC43608-0.2.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for DAC43608-0.2.6.tar.gz
Algorithm Hash digest
SHA256 79e8a839853b4efb58e92441cde771444a98b805ff9b1987715684e3d0d96ce6
MD5 c5238289a5df0ab52bd41bde797e3daa
BLAKE2b-256 489f887dc85e4c042111906523622edc040e8180db947920126f55a96de3db68

See more details on using hashes here.

File details

Details for the file DAC43608-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: DAC43608-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for DAC43608-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 34772c5239e13c6166094962bae1fc677e3a3a9b8a4fdc5e778a24c8762ded95
MD5 e85506a5ff23854db4ce426803728984
BLAKE2b-256 bafa139b08d1000f824e846c4a341883af2750fa8861a0bf58914caad4c471db

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