Skip to content

SCA3300 3-axis accelerometer Linux driver Python3 package.

License

Notifications You must be signed in to change notification settings

xerdink/sca3300-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCA3300 Driver Package

SCA3300 3-axis accelerometer Linux driver Python3 package.

Requirements

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()

About

SCA3300 3-axis accelerometer Linux driver Python3 package.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages