mirror of https://github.com/m-labs/artiq.git
examples/coredev_test: create GPIOOut with correct MPO syntax
This commit is contained in:
parent
1ed808e848
commit
98b23eadf8
|
@ -32,6 +32,6 @@ if __name__ == "__main__":
|
|||
coredev = core.Core(com)
|
||||
exp = CompilerTest(
|
||||
core=coredev,
|
||||
led=gpio_core.GPIOOut(coredev, 0)
|
||||
led=gpio_core.GPIOOut(core=coredev, channel=0)
|
||||
)
|
||||
exp.run()
|
||||
|
|
Loading…
Reference in New Issue