Loops/Infinite: Difference between revisions
→{{header|Spin}}
m (→{{header|Go}}: gofmt) |
|||
Line 1,456:
etc.
=={{header|Spin}}==
{{works with|BST/BSTC}}
{{works with|FastSpin/FlexSpin}}
{{works with|HomeSpun}}
{{works with|OpenSpin}}
<lang spin>con
_clkmode = xtal1 + pll16x
_clkfreq = 80_000_000
obj
ser : "FullDuplexSerial.spin"
pub main
ser.start(31, 30, 0, 115200)
repeat
ser.str(string("SPAM",13,10))
waitcnt(_clkfreq + cnt)
ser.stop
cogstop(0)</lang>
=={{header|SPL}}==
|