[Tinyos-devel] platforms with 4 leds

Philip Levis pal at cs.stanford.edu
Sat Jun 23 10:09:05 PDT 2007


On Jun 23, 2007, at 5:31 AM, Matt Welsh wrote:

> Why not have two interfaces then- one that is "best effort" (fails
> silently) and one that fails if a LED is not available on the target
> platform? An app that *needs* the LEDs as part of its output would  
> wire
> to the appropriate interface, thereby indicating that it shouldn't  
> even
> compile on platforms without the LEDs that it requires.

Sure, that makes sense. The only major consideration is that since  
both are HILs, that means every platform basically has to provide both.

Phil


More information about the Tinyos-devel mailing list