Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config.py #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update config.py
userh23 authored Feb 2, 2021

Verified

This commit was signed with the committer’s verified signature.
snowtafir 星雪
commit ecc3e17ae63226b78ebcd2c129984e23f4a2289d
3 changes: 2 additions & 1 deletion RaspberryPI/ADS1256/python3/config.py
Original file line number Diff line number Diff line change
@@ -63,7 +63,8 @@ def module_init():
GPIO.setup(CS_PIN, GPIO.OUT)
#GPIO.setup(DRDY_PIN, GPIO.IN)
GPIO.setup(DRDY_PIN, GPIO.IN, pull_up_down=GPIO.PUD_UP)
SPI.max_speed_hz = 20000
SPI.max_speed_hz = 976563

SPI.mode = 0b01
return 0;