Skip to content

brick stacks with Ethernet Master Extension(w5500)

brick stacks with Ethernet Master Extension(w5500)

irina

Published March 29, 2022

Project description

from tinkerforge.ip_connection import IPConnection from tinkerforge.bricklet_temperature import BrickletTemperature HOST = "192.168.1.103" PORT = 4223 UID = "YOUR BRICKLET ID" if __name__ == "__main__": ipcon = IPConnection() sensor = BrickletTemperature(UID, ipcon) ipcon.connect(HOST, PORT) temperature = sensor.get_temperature() print("Temperature: " + str(temperature / 100.0) + " °C") ipcon.disconnect()

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.

Similar projects you might like