Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
20
Task/Loops-Continue/Spin/loops-continue.spin
Normal file
20
Task/Loops-Continue/Spin/loops-continue.spin
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
con
|
||||
_clkmode = xtal1 + pll16x
|
||||
_clkfreq = 80_000_000
|
||||
|
||||
obj
|
||||
ser : "FullDuplexSerial.spin"
|
||||
|
||||
pub main | i
|
||||
ser.start(31, 30, 0, 115200)
|
||||
|
||||
repeat i from 1 to 10
|
||||
ser.dec(i)
|
||||
if i // 5
|
||||
ser.str(string(", "))
|
||||
next
|
||||
ser.str(string(13,10))
|
||||
|
||||
waitcnt(_clkfreq + cnt)
|
||||
ser.stop
|
||||
cogstop(0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue