マイク
TinyDBのマイクは、/opt/tinyos-1.x/tos/lib/TinyDB/CompileDefines.hを編集すれば使えるっぽい。
//defines indicating which features are in use
#undef kUSE_MAGNETOMETER //include magnetometer attribute? 1596 bytes code, 55 bytes ram <- !!
#define kQUERY_SHARING //allow query sharing
#undef kFANCY_AGGS //use fancy aggregates
#undef kEEPROM_ATTR //enable the EEPROM attribute -- uses about 3 kb of code
#undef kCONTENT_ATTR //enable the contention attribute
#undef kRAW_MIC_ATTRS // enable raw microphone or tone detector attributes
#undef kGROUP_ATTR
#undef kQUEUE_LEN_ATTR
#undef kMHQUEUE_LEN_ATTR
#undef kLIFE_CMD
#undef kSUPPORTS_EVENTS //about 3k of code, 100 bytes of ram for event based queries <- !!
#define kSTATUS //200 bytes of code -- allow lists of running queries to be fetched over the UART
#define kHAS_NEIGHBOR_ATTR //allows fetching of neighbor bitmap
#if !defined(PLATFORM_PC)
# undef kMATCHBOX //enabled logging to EEPROM, 20k code, 489 bytes RAM
# undef kUART_DEBUGGER //allow output to a UART debugger
#endif
こんなところにあったなんて・・・。