請選擇 進入手機版 | 繼續訪問電腦版

施勢帆老師的教學網站

 找回密碼
 註冊
搜索
熱搜: 活动 交友 discuz
查看: 1136|回復: 0

ZigBee Sample Lab

[複製鏈接]
shie 發表於 2013-11-18 14:38:35 | 顯示全部樓層 |閱讀模式
0. http://mouse.oit.edu.tw/Data/Program/Zigbee/SampleApp2.c 拷貝
   C:\Texas Instruments\ZStack-1.4.2-1.1.0\Projects\zstack\Samples\SampleApp\Source\SampleApp.c
1. IAR Embedded Workbench
2. File->Open->Workspace -> C:\Texas Instruments\ZStack-1.4.2-1.1.0\Projects\zstack\Samples\SampleApp\CC2430DBes\SampleApp\CC2430DB\SampleApp.eww
3. CoordinatorEB --> Tools --> f8wConfig.cfg -->
   --DZDAPP_CONFIG_PAN_ID=0x0123
4. App --> SampleApp.c

5. C:\Texas Instruments\基礎實驗\zimo221.exe

__code const uint8  SI[] =
{
/*--  文字:  施  --*/
/*--  黑體12;  此字體下對應的點陣為:寬x高=16x16   --*/
0x00,0x00,0x10,0x80,0x11,0xFE,0x7D,0x00,0x23,0x10,0x22,0x96,0x3C,0x9A,0x24,0xF2,
0x25,0x92,0x24,0x92,0x24,0x9E,0x2C,0x90,0x68,0x93,0x48,0x82,0x78,0xFE,0x00,0x00,
};

__code const uint8  KAI[] =
{
/*--  文字:  勢  --*/
/*--  黑體12;  此字體下對應的點陣為:寬x高=16x16   --*/
0x00,0x00,0x08,0x20,0x7F,0xFC,0x7F,0x24,0x34,0xA4,0x67,0x64,0x08,0x66,0x3E,0x56,
0x08,0x86,0x7F,0x00,0x3F,0xFC,0x03,0x04,0x06,0x04,0x1C,0x44,0x60,0x78,0x00,0x00,
};

__code const uint8  KE[] =
{
/*--  文字:  帆  --*/
/*--  黑體12;  此字體下對應的點陣為:寬x高=16x16   --*/
0x10,0x00,0x10,0xF8,0x10,0x88,0x7C,0x88,0x54,0x88,0x54,0xC8,0x54,0xE8,0x54,0xA8,
0x54,0xA8,0x54,0xA8,0x54,0x88,0x5D,0x8A,0x11,0x0A,0x13,0x0A,0x12,0x0E,0x00,0x00,
};


__code const uint8  SI2[] =
{
/*--  文字:  施  --*/
/*--  黑體12;  此字體下對應的點陣為:寬x高=16x16   --*/
0x00,0x00,0x10,0x80,0x11,0xFE,0x7D,0x00,0x23,0x10,0x22,0x96,0x3C,0x9A,0x24,0xF2,
0x25,0x92,0x24,0x92,0x24,0x9E,0x2C,0x90,0x68,0x93,0x48,0x82,0x78,0xFE,0x00,0x00,
};

__code const uint8  KAI2[] =
{
/*--  文字:  勢  --*/
/*--  黑體12;  此字體下對應的點陣為:寬x高=16x16   --*/
0x00,0x00,0x08,0x20,0x7F,0xFC,0x7F,0x24,0x34,0xA4,0x67,0x64,0x08,0x66,0x3E,0x56,
0x08,0x86,0x7F,0x00,0x3F,0xFC,0x03,0x04,0x06,0x04,0x1C,0x44,0x60,0x78,0x00,0x00,
};

__code const uint8  KE2[] =
{
/*--  文字:  帆  --*/
/*--  黑體12;  此字體下對應的點陣為:寬x高=16x16   --*/
0x10,0x00,0x10,0xF8,0x10,0x88,0x7C,0x88,0x54,0x88,0x54,0xC8,0x54,0xE8,0x54,0xA8,
0x54,0xA8,0x54,0xA8,0x54,0x88,0x5D,0x8A,0x11,0x0A,0x13,0x0A,0x12,0x0E,0x00,0x00,
};


GUI_PutString5_7(i, 20, " 991030111_R1R1");

GUI_PutString5_7(i, 20, " 991030111_R2R2");

6.CoordinatorEB

7. RouterDB

if ( AF_DataRequest( &SampleApp_Flash_DstAddr, &SampleApp_epDesc,
                       SAMPLEAPP_FLASH_CLUSTERID,
                       1,
                       "2",
                       &SampleApp_TransID,
                       AF_DISCV_ROUTE,
                       AF_DEFAULT_RADIUS ) == afStatus_SUCCESS )
  {
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

小黑屋|手机版|Archiver|施勢帆老師的教學網站  

GMT+8, 2021-6-18 13:01 , Processed in 0.075897 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表