We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
led
led.o
1 parent 9201cc3 commit 79d9f5eCopy full SHA for 79d9f5e
docs/_code/led_blinker.py
@@ -11,7 +11,7 @@ def elaborate(self, platform):
11
timer = Signal(range(half_freq + 1))
12
13
with m.If(timer == half_freq):
14
- m.d.sync += led.eq(~led)
+ m.d.sync += led.o.eq(~led.o)
15
m.d.sync += timer.eq(0)
16
with m.Else():
17
m.d.sync += timer.eq(timer + 1)
0 commit comments