Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究 Killerbee rzusb 棒,主要用于在无线电平台上嗅探/收听数据包。我想根据我的需要对这个设备进行编程。棒上有三个 LED,谁能给我建议让它们打开和关闭的命令???提前致谢 :)
我对 Killerbee 不熟悉,但在 TinyOS 中,您通常将Leds接口连接到LedsC组件并调用Leds.led0On()、Leds.led1Off()等Leds.led2Toggle()。
Leds
LedsC
Leds.led0On()
Leds.led1Off()
Leds.led2Toggle()
- 目录中应该有一个易于阅读的示例说明如何执行此操作/opt/tinyos-2.x/apps/Blink。
/opt/tinyos-2.x/apps/Blink