home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / education / a / control / solutions / segment_1 < prev    next >
Text File  |  1991-01-02  |  852b  |  104 lines

  1. / segment number sequence
  2.  
  3. segment
  4. repeat
  5.  
  6. / number 0
  7.  
  8. lighton 1
  9. lighton 2
  10. lighton 3
  11. lighton 4
  12. lighton 5
  13. lighton 7
  14. wait 2
  15.           
  16. / number 1
  17.  
  18. lightoff 5
  19. lightoff 1
  20. lightoff 6
  21. lightoff 3
  22. lightoff 7
  23. wait 3
  24.          
  25. / number 2
  26.  
  27. lighton 5
  28. lighton 6
  29. lighton 3
  30. lighton 7
  31. lightoff 4
  32. wait 3
  33.  
  34.  
  35. / number 3
  36.  
  37. lighton 4
  38. lightoff 3
  39. wait 3
  40.  
  41. / number 4
  42.  
  43. lightoff 5
  44. lightoff 7
  45. lighton  1
  46. wait 3
  47.  
  48. / number 5
  49.  
  50. lightoff 2
  51. lighton  7
  52. lighton  5
  53. wait 3
  54.           
  55. / number 6
  56.  
  57. lighton 3
  58. wait 3
  59.  
  60. / number 7
  61. lightoff 1
  62. lightoff 3
  63. lightoff 6
  64. lightoff 7
  65. lighton 2
  66. wait 3
  67.  
  68. / number 8
  69. lighton 1
  70. lighton 6
  71. lighton 3
  72. lighton 7
  73. wait 3
  74.  
  75. / number 9
  76. lightoff 3
  77. wait 3       
  78.  
  79. / turn them all off
  80. lightoff 1
  81. lightoff 2
  82. lightoff 4
  83. lightoff 5
  84. lightoff 6
  85. lightoff 7
  86.  
  87.  
  88. until forever
  89.  
  90.  
  91.  
  92.  
  93.  
  94. lighton 8
  95. lightoff 1
  96. lightoff 2
  97. lightoff 3
  98. lightoff 4
  99. lightoff 5
  100. lightoff 6
  101. lightoff 7
  102. lightoff 8
  103.  
  104.