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)
Metadata
Release files for DAC43608 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DAC43608-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Release files / DAC43608-0.2.7-py3-none-any.whl
| Download URL | DAC43608-0.2.7-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f561dfae0b0daa5e17b12b7cbc6ffeedf7348e4997dfd7f8a41f7754a4368b71
|
|
BLAKE2b-256 checksum How to use checksums |
9240cf843d6ca037735cf7d0206fbfd221d6a6ca0358ed2a16ec7130bcadfdbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|