~alexandre-hardy/linuxjoymap/linuxjoymap

« back to all changes in this revision

Viewing changes to doc/code/countermeasures.code

  • Committer: Alexandre Hardy
  • Date: 2009-07-17 09:20:57 UTC
  • Revision ID: ah@zenwalk-20090717092057-oxa4o16isawqa7ue
Initial creation of project

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
     var i;
 
2
     thread {
 
3
          if (js0.b[0]) {
 
4
               i=5;
 
5
               while (i>0) {
 
6
                    b[0]=1;
 
7
                    delay(1000);
 
8
                    b[0]=0;
 
9
                    delay(2000);
 
10
                    i--;
 
11
               }
 
12
          }
 
13
     }
 
14