Update of /cvsroot/firebug/firebug/project/src/Blinker
In directory sc8-pr-cvs1:/tmp/cvs-serv5321
Modified Files:
interfaces.html
Log Message:
Added to interface tutorial.
Index: interfaces.html
===================================================================
RCS file: /cvsroot/firebug/firebug/project/src/Blinker/interfaces.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** interfaces.html 13 Dec 2003 00:50:17 -0000 1.1
--- interfaces.html 13 Dec 2003 14:40:10 -0000 1.2
***************
*** 48,51 ****
--- 48,73 ----
+
+ <h2>Interfaces</h2>
+
+ <p>
+ Let's start with a quote from the nesC reference manual:
+ </p>
+ <blockquote>
+ Interfaces in nesC are bidirectional: they specify
+ a multi-function interaction channel between two
+ components, the provider and the user. The interface
+ specifies a set of named functions, called commands,
+ to be implemented by the interface's provider and a
+ set of named functions, called events, to be implemented
+ by the interface's user.
+ </blockquote>
+
+ <p>
+ For our application, <code>Blink</code> will be the
+ interface provider, and <code>Blinker</code> will be
+ the interface user.
+ </p>
+
<h1>Componentizing Blink</h1>
***************
*** 53,58 ****
To provide independence between the component that
wants to blink an LED and the program that provides
! the actual blinking behavior, the Blink configuration
! needs to be slightly modified to remove Main:
</p>
--- 75,81 ----
To provide independence between the component that
wants to blink an LED and the program that provides
! the actual blinking behavior, the <code>Blink</code>
! configuration needs to be slightly modified to
! remove Main:
</p>
|