Re: [Tinyos-help] Does Mica2 2003 version works with TinyOS 2.x?[solved]

2007-06-02 Thread Peizhao Hu
My fault to edit the Makefile with an 0 at the end of CFLAGS=-DCC1K_DEFAULT_FREQ=CC1K_915_998_MHZ setting. it works now. but as the lesson 3 is about radio communication, what would be really helpful if the documentation actually mention about the setting of frequency in order to bring up our

Re: [Tinyos-help] Does Mica2 2003 version works with TinyOS 2.x?

2007-06-02 Thread Peizhao Hu
Sorry to my previous reply. just realized in TinyOS 2.X is using constants to set freq. however when I tried this: /opt/tinyos-2.x/apps/RadioCountToLeds$ CFLAGS=-DCC1K_DEFAULT_FREQ=CC1K_915_998_MHZ make mica2 install mkdir -p build/mica2 compiling RadioCountToLedsAppC to a mica2 binary ncc

Re: [Tinyos-help] Does Mica2 2003 version works with TinyOS 2.x?

2007-06-02 Thread Peizhao Hu
Dear Philip, I searched through the archives and found this CFLAGS = -DCC1K_DEFAULT_FREQ=9 I add to the RadioCountToLeds example. and installed to two motes. doesn't help. I also tried different Frequency suggested like 91670. no luck. it appears the Led0 is on and nothing else, I

Re: [Tinyos-help] Does Mica2 2003 version works with TinyOS 2.x?

2007-06-02 Thread Philip Levis
On Jun 2, 2007, at 2:51 AM, Peizhao Hu wrote: Hi, All, I just received a mote kit from my supervisor she bought in year 2003. I have setup TinyOS 2.X on my ubuntu machine. And I tested it will the Blink application without any problem. However, when I got to Lesson 3 that require one of the m

[Tinyos-help] Does Mica2 2003 version works with TinyOS 2.x?

2007-06-02 Thread Peizhao Hu
Hi, All, I just received a mote kit from my supervisor she bought in year 2003. I have setup TinyOS 2.X on my ubuntu machine. And I tested it will the Blink application without any problem. However, when I got to Lesson 3 that require one of the mote to receive packet from over the radio. It di