[Tinyos-help] Tinyos2.x Mica2 ADC free-running conversion

Philip Levis pal at cs.stanford.edu
Tue Aug 1 08:53:42 PDT 2006


On Jul 31, 2006, at 1:11 PM, Ian Welch wrote:

> I'm trying to use the ATM128AdcC component to read multiple ADC  
> channels, one ofter the other.
> At compile time i get the following errors
>
> In component `InsoleAppC':
> InsoleAppC.nc:19: syntax error before `('
> InsoleAppC.nc:26: syntax error before `('
> InsoleAppC.nc:27: syntax error before `('
>

Those are funny compilation errors to be getting. Are you sure that  
you're invoking the right ncc (i.e., not a 1.1 version)?

Can you show which lines in your file those line numbers correspond  
to? It's hard to tell from a cut and paste (don't know if there is  
leading whitespace, etc.).

My first thought is that those errors don't have to do with your  
InsoleAppC, but rather another component. But I'd have to see the  
line numbers to be sure.

Phil



More information about the Tinyos-help mailing list