Advertisement
Atdiy

SoundPal Demo Code

Sep 21st, 2012
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. '' Demonstrates the SoundPAL spin object.
  2.  
  3. CON
  4.  
  5. _clkmode = xtal1 + pll16x
  6. _xinfreq = 5_000_000
  7.  
  8. OBJ
  9.  
  10. sp : "SoundPAL"
  11.  
  12. PUB start
  13.  
  14. sp.start(21)
  15. repeat 2
  16. sp.sendstr(string("=", sp#play, sp#dixie, sp#EOF, "!"))
  17. sp.waitdone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement