zsyg / zigbee_webee_cc2530 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tomxue/zigbee_webee_cc2530
TI official Zstack and Webee example codes, just for learning
This project forked from tomxue/zigbee_webee_cc2530
TI official Zstack and Webee example codes, just for learning
Code examples: (1) light_switch: Webee book page 114~129, and switch between below codes for both ends. //appSwitch(); //节点为按键S1 P0_0 appLight(); //节点为指示灯LED1 P1_0 (2) per_test: Webee book page 130~145, and switch between below codes for both ends. //#define MODE_SEND 1 //看MODE_SEND,go to definition,找到定义的地方 //把那行代码注释掉就是接收部分,不注释就是发送 #ifdef MODE_SEND appMode = MODE_TX; #else appMode = MODE_RX; #endif (3) SampleApp: UART print out of one kit, page 159~171, one kit is used <1> Select CoordinatorEB in IAR <2> Use IAR "Download and Debug", and then check the UART monitor's output (4) SampleApp: key press experiment, page 172~187, one kit is used <1> Select CoordinatorEB in IAR <2> Use IAR "Download and Debug", and then check the UART monitor's output <3> IAR settings change: IAR -> Project -> Options -> Linker -> Extra Options: -C $PROJ_DIR$\..\..\..\Libraries\TI2530DB\bin\Router-Pro.lib -C $PROJ_DIR$\..\..\..\Libraries\TI2530DB\bin\Security.lib -C $PROJ_DIR$\..\..\..\Libraries\TIMAC\bin\TIMAC-CC2530.lib should be changed to like this, and then works. -C C:\ti\ZStack-CC2530-2.5.1a\Projects\zstack\Libraries\TI2530DB\bin\Router-Pro.lib -C C:\ti\ZStack-CC2530-2.5.1a\Projects\zstack\Libraries\TI2530DB\bin\Security.lib -C C:\ti\ZStack-CC2530-2.5.1a\Projects\zstack\Libraries\TIMAC\bin\TIMAC-CC2530.lib <4> The key is mapped to P0.4, and we should solder a flying wire on it, then touch the wire to GND to trigger the key event. <4> To generate hex(if not use above "Download and Debug" method), please refer to this link: http://blog.csdn.net/liyvhg/article/details/6455403 And I have save it to my Wiznote.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.