上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页
摘要: main.c 1 #include 2 #include"2401.h" 3 4 #define uint unsigned int 5 #define uchar unsigned char 6 7 sbit KEY8=P3^7; //发送按键 8 sbit beep=P2^3;//... 阅读全文
posted @ 2014-05-26 21:59 beautifulzzzz 阅读(2006) 评论(2) 推荐(3)
摘要: main.c 1 #include 2 #include 3 4 #define uchar unsigned char 5 6 /***************************************************/ 7 #define TX_ADR_WID... 阅读全文
posted @ 2014-05-24 21:37 beautifulzzzz 阅读(4074) 评论(4) 推荐(2)
摘要: >___<:结果生成了一个kk.c文件:这里Colorskk[]是16个颜色;Palkk是根据上面的16个颜色构建对应的调色板;ackk[]为Bmp图的内容;bmkk为根据上面的调色板,bmp内容建立uc-gui的函数可以调用的图片格式,在Fun函数里用函数GUI_DrawBitmap(&bmkk,... 阅读全文
posted @ 2014-05-19 19:57 beautifulzzzz 阅读(4075) 评论(0) 推荐(0)
摘要: >__=m_r_limit_p || m_x=s_d_limit_p || s_y160)line_l=10;163 draw1();164 draw2();165 GUI_Delay(1);166 }167 } 阅读全文
posted @ 2014-05-19 19:31 beautifulzzzz 阅读(1570) 评论(0) 推荐(0)
摘要: 1 #include "stm32f10x.h" 2 #include "stm32f10x_tim.h" 3 #include "misc.h" 4 #include "stm32f10x_gpio.h" 5 6 unsigned int CCR2_Val=45000; 7 exte... 阅读全文
posted @ 2014-05-19 18:35 beautifulzzzz 阅读(713) 评论(0) 推荐(0)
摘要: 引用:http://www.easyx.cn/skills/View.aspx?id=6本文讲解怎样将 mp3 等音乐资源以资源形式嵌入 exe 文件中,并通过 mciSendString 调用。嵌入 mp3 和嵌入图片略有不同,将图片嵌入到 exe 中,以及访问嵌入 exe 中的图片,请参考:ht... 阅读全文
posted @ 2014-05-18 18:05 beautifulzzzz 阅读(6070) 评论(0) 推荐(0)
摘要: >____ 2 #include 3 #include "TAO_CLOCK.h" 4 5 #define SQUARESIZE 20 6 #define ID_TIMER_CLOCK 1 7 #define kuan 60 8 #define miaoL 200 9 #def... 阅读全文
posted @ 2014-05-18 17:41 beautifulzzzz 阅读(1385) 评论(2) 推荐(0)
摘要: >____ 2 #include "TicTac.h" 3 #define ID_TIMER_ELLIPSE 1 4 #define ID_TIMER_RECTANGLE 2 5 6 CMyApp myApp; 7 8 ///////////////////////////////... 阅读全文
posted @ 2014-05-18 17:32 beautifulzzzz 阅读(884) 评论(0) 推荐(0)
摘要: >____ 2 #include "ABC.h" 3 #define ID_TIMER_ELLIPSE 1 4 #define ID_TIMER_RECTANGLE 2 5 6 CMyApp myApp; 7 8 /////////////////////////////////////////... 阅读全文
posted @ 2014-05-18 17:27 beautifulzzzz 阅读(812) 评论(0) 推荐(0)
摘要: >__ 2 class CMyApp :public CWinApp 3 { 4 public: 5 virtual BOOL InitInstance(); 6 }; 7 class CMainWindow:public CFrameWnd 8 { 9 protected:10 B... 阅读全文
posted @ 2014-05-18 17:21 beautifulzzzz 阅读(2323) 评论(0) 推荐(0)
摘要: >__ 2 class CMyApp:public CWinApp 3 { 4 public: 5 virtual BOOL InitInstance(); 6 }; 7 class CMainWindow:public CFrameWnd 8 { 9 public:10 CMain... 阅读全文
posted @ 2014-05-18 15:15 beautifulzzzz 阅读(1207) 评论(0) 推荐(0)
摘要: >__ 2 class CMyApp:public CWinApp 3 { 4 public: 5 virtual BOOL InitInstance(); 6 }; 7 class CMainWindow:public CFrameWnd 8 { 9 public:10 CMain... 阅读全文
posted @ 2014-05-18 15:09 beautifulzzzz 阅读(1584) 评论(0) 推荐(0)
摘要: >_____ 2 #include "TicTac.h" 3 #include 4 #include 5 #include 6 using namespace std; 7 CMyApp myApp; 8 /*ofstream Cout("out.txt"); 9 void CM... 阅读全文
posted @ 2014-05-18 15:02 beautifulzzzz 阅读(3037) 评论(3) 推荐(2)
摘要: >___ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 // 全局变量: 13 HINSTAN... 阅读全文
posted @ 2014-05-18 14:44 beautifulzzzz 阅读(624) 评论(0) 推荐(0)
摘要: >___ 2 // C 运行时头文件 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 // 全局变量: 13 HINSTAN... 阅读全文
posted @ 2014-05-18 14:36 beautifulzzzz 阅读(757) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页