🎁📬❄️📦 Holiday Shipping Deadlines are approaching! International customers and domestic ground - get your orders in 12/9/2020 📦❄️📬🎁
0

MAX31865-PT100
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: MAX31865-PT100

by mikeysklar on Sat Nov 14, 2020 2:51 pm

I can't tell if this is a formatting issue with the forums CODE feature. Do you have a line break here after ref_resistor=? This should all be on one line together.

Code: Select all | TOGGLE FULL SIZE
sensor = adafruit_max31865.MAX31865(spi, cs, rtd_nominal=100, ref_resistor=430, wires=4)

mikeysklar
 
Posts: 2398
Joined: Mon Aug 01, 2016 8:10 pm

Re: MAX31865-PT100

by kevkeva on Sun Nov 15, 2020 10:46 am

I have no line break, the code is on one line.

kevkeva
 
Posts: 10
Joined: Thu Oct 29, 2020 12:52 pm

Re: MAX31865-PT100

by mikeysklar on Mon Nov 16, 2020 6:55 pm

@kevkeva,

Try working in the REPL and taking it one line at a time. The combination of changing to SPI1 and dealing with the phase/polarity flip is makes this challenging.

https://learn.adafruit.com/circuitpytho ... pi-devices

mikeysklar
 
Posts: 2398
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.