SCA3300 Driver Package
SCA3300 3-axis accelerometer Linux driver Python3 package.
Requirements
- Python 3.5+ (package uses static typing.)
- Linux (i.e Raspberry Pi or https://github.com/TCAllen07/raspi-device-mocks)
Installation
PyPi
https://pypi.org/project/sca3300/
You can install via
pip install sca3300
From Source
- Clone repo
git clone https://github.com/algebratech/sca3300-driver - Install
python3 setup.py install --user
Usage
import time
from sca3300 import SCA3300, Modes
def main():
sca = SCA3300()
sca.mode = Modes.MODE_3
while True:
print(sca.acceleration)
time.sleep(0.02)
if __name__ == '__main__':
main()
Metadata
Release files for sca3300 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sca3300-1.0.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sca3300-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / sca3300-1.0.1.tar.gz
| Download URL | sca3300-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c38c884a55857adbd06364cfe1d991aa244d85f95bcb23b74dd3a55378f64d6f
|
|
BLAKE2b-256 checksum How to use checksums |
cf56df39d0e145f7b0d228dcdb1a517e26b233ac859d01a1a3a72f9767810774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.5
|
Release files / sca3300-1.0.1-py3-none-any.whl
| Download URL | sca3300-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c73558ee78d10d8789130532c44876ad3c253c4ea716d0ba82f671b8f4b1d1d
|
|
BLAKE2b-256 checksum How to use checksums |
cb22205286d345c4917c7e7684135982d6e48c3f9cbf8c02cabbc62eec445fdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.5
|