I am Currently using two MCC134's stacked on top of a Raspberry pi. I have the first MCC134 closest to the pi set to address 0, and the second to address 1. I am able to read values from channel 0 1 2 and 3 from the first MCC134, but not the second one. can someone please help me figure out how to read values from the second MCC134.
tc_type = TcTypes.TYPE_E # change this to the desired thermocouple
type delay_between_reads = 1 # Seconds
channels = (0, 1, 2, 3,) try: # Get an instance of the selected hat device object.
address = 0
hat = mcc134(0)
i have attached a copy of the code that i am currently using.
Question
BrianV
I am Currently using two MCC134's stacked on top of a Raspberry pi. I have the first MCC134 closest to the pi set to address 0, and the second to address 1. I am able to read values from channel 0 1 2 and 3 from the first MCC134, but not the second one. can someone please help me figure out how to read values from the second MCC134.
tc_type = TcTypes.TYPE_E # change this to the desired thermocouple
type delay_between_reads = 1 # Seconds
channels = (0, 1, 2, 3,) try: # Get an instance of the selected hat device object.
address = 0
hat = mcc134(0)
i have attached a copy of the code that i am currently using.
MCC134CodeHelp.txt
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now