[Tinyos-help] w.song@cs.ucc.ie

Luca Briggi lbriggi at gmail.com
Mon Aug 20 11:05:49 PDT 2007


It's simply a c define (more info at http://sysprog.net/cdefine.html).
It means that when in the code you encounter MSP430ADC12_RESOURCE the
preprocessor  of the compiler will change it with
"Msp430Adc12C.Resource".
Bye

-----------------------------------------------------------------------------------
Hi all,
what's the meaning of this sentence
 #define MSP430ADC12_RESOURCE "Msp430Adc12C.Resource"

Is this means MSP430ADC12_RESOURCE is a string of "Msp430Adc12C.Resource"?

thanks in advance

weiping


-- 
-------------------------
Luca Briggi
Piacenza, Italy
#ICQ: 275761200


More information about the Tinyos-help mailing list