nac3artiq: remove errors from demo
This commit is contained in:
parent
3ad25c8f07
commit
bb7c0a2d79
|
@ -1,14 +1,12 @@
|
|||
from min_artiq import *
|
||||
from numpy import int32, int64
|
||||
|
||||
|
||||
@extern
|
||||
def output_int(x: int32):
|
||||
...
|
||||
|
||||
|
||||
class InexistingException(Exception):
|
||||
pass
|
||||
|
||||
@nac3
|
||||
class Demo:
|
||||
core: KernelInvariant[Core]
|
||||
|
@ -20,16 +18,6 @@ class Demo:
|
|||
self.led0 = TTLOut(self.core, 18)
|
||||
self.led1 = TTLOut(self.core, 19)
|
||||
|
||||
@kernel
|
||||
def test(self):
|
||||
a = (1, True)
|
||||
a[0]()
|
||||
|
||||
@kernel
|
||||
def test2(self):
|
||||
a = (1, True)
|
||||
output_int(int32(a))
|
||||
|
||||
@kernel
|
||||
def run(self):
|
||||
self.core.reset()
|
||||
|
|
Loading…
Reference in New Issue