[Tinyos-help] tinyos tutorial's Lesson 7

2006-08-09 Thread jurin dan
hi, recently i have done successfully the exercice in the lesson 7 of tinyos tutorial. the exercice consist of adding the command tog_sounder to the existing command of SimpleCmd apps. i can compile and load the modified SimpleCmd on mica2 and all test run well.

Re: [Tinyos-help] tinyos tutorial's Lesson 7

2006-08-09 Thread Michael Schippling
Looks like you are using the basicsb sensorboard...or at least the compile time definitions for such. That board doesn't have a sound emitterIf you have cobbled a sensor board with a sound device you can try copying tos/sensorboards/micasb/Sounder* to basicsb. MS jurin dan wrote:

Re: [Tinyos-help] Tinyos tutorial's lesson 7

2006-07-26 Thread Michael Schippling
I'd have to see more of the file with the line numbers to have a stronger opinion, but there are a couple problems with the snippet you sent... First the brackets are not correct around the case stmt. Second defining bool sound locally as you seem to be trying to do makes it a pointless state