Hi all! Further to my last post, I have been told that the reason for the MicroTimer code not working is that TOSSIM can not simulate hardware interrupts, the behaviour being non deterministic. However, the TOSSIM documentation (TOSSIM: A Simulator for TinyOS Networks) by Philip Levis and Nelson Lee says " Fidelity: By default, TOSSIM captures TinyOSÂ’ behavior at a very low level. It simulates the network at the bit level, simulates each individual ADC capture, and every interrupt in the system." So, which is the correct interpretation?
Regards, vipin > Hi all ! > > I am having a problem compiling the High frequency sampling in > /tinyos-1.x/apps using 'make pc'. The error I get is reproduced below: > > MicroTimerM.nc:125: old-style parameter lists not supported > MicroTimerM.nc:125: warning: return-type defaults to `int' > make: *** [exe0] Error 1 > > The problematic MicroTimer code is given below- > > TOSH_SIGNAL(SIG_OUTPUT_COMPARE1A) { > signal MicroTimer.fired(); > } > > Thanks & regards, > -- > Vipin Kashyap > Roll# 05307415 > M Tech (Electronic Systems) > Hostel-9, Room# 294 > IIT Bombay > Ph# +91-9969031997 > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Vipin Kashyap Roll# 05307415 M Tech (Electronic Systems) Hostel-9, Room# 294 Ph# +91-9969031997 _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help