File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ Introduction
9
9
:target: https://discord.gg/nBQh6qu
10
10
:alt: Discord
11
11
12
- .. image :: https://travis-ci.org/siddacious /Adafruit_CircuitPython_MAX31856.svg?branch=master
13
- :target: https://travis-ci.org/siddacious /Adafruit_CircuitPython_MAX31856
12
+ .. image :: https://travis-ci.org/adafruit /Adafruit_CircuitPython_MAX31856.svg?branch=master
13
+ :target: https://travis-ci.org/adafruit /Adafruit_CircuitPython_MAX31856
14
14
:alt: Build Status
15
15
16
16
A CircuitPython driver for the MAX31856 Universal Thermocouple Amplifier
@@ -34,17 +34,17 @@ Usage Example
34
34
import busio
35
35
import digitalio
36
36
import adafruit_max31856
37
-
37
+
38
38
# create a spi object
39
39
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
40
-
40
+
41
41
# allocate a CS pin and set the direction
42
42
cs = digitalio.DigitalInOut(board.D5)
43
43
cs.direction = digitalio.Direction.OUTPUT
44
-
44
+
45
45
# create a thermocouple object with the above
46
46
thermocouple = adafruit_max31856.MAX31856(spi,cs)
47
-
47
+
48
48
# print the temperature!
49
49
print(thermocouple.temperature)
50
50
You can’t perform that action at this time.
0 commit comments