Difference between revisions of "The simplest TinyOS program"

From TinyOS Wiki
Jump to: navigation, search
(New page: There is some value in knowing the the simplest code that can be compiled without errors. The C equivalent is <code bash> int main () { return 0; } </code>)
 
Line 1: Line 1:
 
There is some value in knowing the the simplest code that can be compiled without errors. The C equivalent is
 
There is some value in knowing the the simplest code that can be compiled without errors. The C equivalent is
  
<code bash>
+
<code> <code>
  
 
int main () {
 
int main () {
 
   return 0;
 
   return 0;
 
}
 
}
 
+
</code>
 
</code>
 
</code>

Revision as of 21:54, 9 September 2008

There is some value in knowing the the simplest code that can be compiled without errors. The C equivalent is

int main () {

  return 0;

}