# Amsel

# Parameter

# local_ip

  • Type: String
  • Default: 192.168.0.100

# speed

  • Type: Integer
  • Default: 100

# Creating an instance

# inits the amsel object and sets the request address and default speed
amsel = Amsel("192.168.4.1", 120)

# Reference

class Amsel(Connection, Lights, Utils):
  
  # Constructor
  def __init__(self, local_ip="192.168.0.100", speed=100):
    Connection.__init__(self, local_ip)
    Skills.__init__(self, speed)

  # Standard return method
  def __str__(self):
    return "A warm 'Griaß di!' from Amsel!"



See also: