Skip to content

Commit

Permalink
example: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Aug 30, 2020
1 parent d8ee131 commit 00e85cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def inner(self):
f.init()
f.set_leds(0x3f)
f.set_cfg(dac_resetb=0, att0_rstn=0, att1_rstn=0) # reset dac
f.set_cfg()
f.set_fan(90)
f.set_cfg(clk_sel=1)
f.set_fan(80)
assert f.get_crc_err() < 10 # startup errors
delay(.1*ms)

Expand Down Expand Up @@ -175,5 +175,5 @@ def inner(self):
self.p(r)
self.core.break_realtime()

f.set_cfg(dac_resetb=1, dac_sleep=1, trf0_ps=1, trf1_ps=1)
f.set_cfg(dac_sleep=1, trf0_ps=1, trf1_ps=1)
self.core.wait_until_mu(now_mu())

0 comments on commit 00e85cd

Please sign in to comment.