Hi,
I'm making modules that are just a wrapper of Msp430Adc12MultiChannel
interface so I can add some different logic code to it once
it works as a wrapper, and I'm stumped at the moment...
Testch12AdcC.nc configuration wiring is my guess...
The Test modules are prototypes of a 12 channel soil moisture
sensorboard, which is where I
want to Adc config data stored, and where I might add the Read,
ReadStream and ReadNow commands even though they will not be source
independent.
The lower ch12Adc modules are more general
for any set of 6 channels muxed and all with same config, but they don't
contain the config, (on purpose), so they can be used as a mux for other
sensors by writing a different higher module.
Code files are at:
http://ecosensory.com/Testch12AdcC.nc
http://ecosensory.com/Testch12AdcP.nc
http://ecosensory.com/ch12AdcC.nc
http://ecosensory.com/ch12AdcP.nc
compiler output is:
make ecosens1
mkdir -p build/ecosens1
compiling Testch12AdcC to a ecosens1 binary
ncc -o build/ecosens1/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=ecosens1
-fnesc-cfile=build/ecosens1/app.c -board=ch12Adc
-DIDENT_PROGRAM_NAME=\"Testch12AdcC\" -DIDENT_USER_ID=\"john\"
-DIDENT_HOSTNAME=\"ecolab\" -DIDENT_USER_HASH=0x41bf5233L
-DIDENT_UNIX_TIME=0x46cf0e48L -DIDENT_UID_HASH=0x11da505cL
Testch12AdcC.nc -lm
In component `Testch12AdcP':
Testch12AdcP.nc:20: `ch12Adc.dataReady' not implemented
make: *** [exe0] Error 1
where Makefile has COMPONENT=Testch12AdcC SENSORBOARD=ch12Adc
Thanks,
John Griessen
--
Ecosensory
tinyOS devel on: ubuntu Linux; tinyOS v2.0.2; telosb ecosens1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help