2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 19:04:02 +08:00

examples/coredev_test: create GPIOOut with correct MPO syntax

This commit is contained in:
Sebastien Bourdeauducq 2014-08-09 14:32:10 +08:00
parent 1ed808e848
commit 98b23eadf8

View File

@ -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()