[Tinyos-host-mote-wg] Re: [Tinyos-2.0wg] Re: TinyOS 2.x potentiometers

Joe Polastre joe.polastre at gmail.com
Mon May 30 12:54:53 PDT 2005


For the POT, i think one part is a simple solution: the Pot interface
should be typed.

Ie:

interface Potentiometer<width_t width, resistence_t r>

so that a Pot exposes what it has, ie

provides Potentiometer<uint8_t, 100000>
for a 255 position, 100k pot.

or something similar to the Timer/Alarm system.

just a thought.

the actual details of what's provided inside this "Potentiometer"
interface are still undefined :)

-Joe

On 5/30/05, Philip Levis <pal at eecs.berkeley.edu> wrote:
> On May 30, 2005, at 12:44 PM, Kevin Klues wrote:
> 
> > Of course we can discuss this.... I just needed to get something in
> > there so that I could get the potentiometer up and running for use
> > with the TDA5250 RF Power settings.  I agree that this interface is
> > way out of datemyself, but I was trying to get somehing written so
> > that the radio component will be somewhat complete for the deadline
> > of the 2nd.  Maybe I shouldn't have put it in the main interfaces
> > directory already without it having been discussed, but it can
> > always be modified once we come up with an agreed upon interface.
> >>>
> 
> Agreed. I guess I'm just worried that the more last minute hacks we
> do to meet deadlines, the greater the chance that some of them will
> remain when we roll out 2.0. Hence the new CVS module, etc.: try to
> prevent as much cruft as possible.
> 
> Phil
> 
> -------
> 
> "We shall not cease from exploration
> And the end of all our exploring
> Will be to arrive where we started
> And know the place for the first time."
> 
> - T. S. Eliot,  'Little Gidding'
> 
> _______________________________________________
> Tinyos-2.0wg mailing list
> Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
>

_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg


More information about the Tinyos-host-mote-wg mailing list