Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
18
Task/Loops-For/Spin/loops-for.spin
Normal file
18
Task/Loops-For/Spin/loops-for.spin
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
con
|
||||
_clkmode = xtal1 + pll16x
|
||||
_clkfreq = 80_000_000
|
||||
|
||||
obj
|
||||
ser : "FullDuplexSerial.spin"
|
||||
|
||||
pub main | m, n
|
||||
ser.start(31, 30, 0, 115200)
|
||||
|
||||
repeat n from 1 to 5
|
||||
repeat m from 1 to n
|
||||
ser.tx("*")
|
||||
ser.str(string(13,10))
|
||||
|
||||
waitcnt(_clkfreq + cnt)
|
||||
ser.stop
|
||||
cogstop(0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue