summaryrefslogtreecommitdiff
path: root/objects/SimConsole.mpy
blob: ab88db8c65e5266794b7f680e751ecf1a627b03e (plain)
1
2
3
4
5
6
7
8
9
10
11
simobj ConsoleListener(SimObject):
    type = 'ConsoleListener'
    port = Param.UInt16(3456, "listen port")

simobj SimConsole(SimObject):
    type = 'SimConsole'
    append_name = Param.Bool(True, "append name() to filename")
    intr_control = Param.IntrControl(Super, "interrupt controller")
    listener = Param.ConsoleListener("console listener")
    number = Param.Int(0, "console number")
    output = Param.String('', "file to dump output to")