<?xml version="1.0" encoding="gb2312"?><rss version="2.0"><channel><title>topeak的博客</title><link></link><description></description><language>zh-cn</language><generator>Goodspeed Rss</generator><ttl>7</ttl><pubDate>Sun, 07 Sep 2008 08:59:40 GMT</pubDate><category></category><copyright></copyright><docs></docs><item><title>AVR TWI实验</title><pubDate>Thu, 12 Jun 2008 19:29:40 GMT</pubDate><link>http://blog.ednchina.com/topeak/124667/message.aspx</link><description>实验代码从PC机转向单片机编程，很多的细节是需要积累的，很多都是很常识性的错误。本次TWI是挺有收获的，主要有下： 一、单片机的初始化：本次主要是端口的读写状态没做好，因为I2CSDA和I2CSCL与PORTD的PD0、PD1是复用的，没有对DDRD初始化为写。 二、暂停：对于并口的读写往往需要个s</description><comments></comments><guid>http://blog.ednchina.com/topeak/124667/message.aspx</guid><category></category><author>topeak</author></item><item><title>C51指令系统学习笔记（个人收藏无点击价值）</title><pubDate>Wed, 07 May 2008 22:51:38 GMT</pubDate><link>http://blog.ednchina.com/topeak/113635/message.aspx</link><description>花了一下午看了下C51指令，基本能掌握！用PPT做笔记效果很好，唯进度慢了点！</description><comments></comments><guid>http://blog.ednchina.com/topeak/113635/message.aspx</guid><category></category><author>topeak</author></item><item><title>这样交换两个数，妙！</title><pubDate>Tue, 22 Apr 2008 21:00:34 GMT</pubDate><link>http://blog.ednchina.com/topeak/108527/message.aspx</link><description>/*怎样把两个数交换？ 这个问题太菜了，脑中或许一下就出现了代码 void swap1(int *a,int *b) { int temp; temp=*a; *a=*b; *b=temp; } 很好，的确交换了位置，可是我还有个问题 如果没有临时变量，能做到吗？ 可能你会绞尽脑汁想到 void s</description><comments></comments><guid>http://blog.ednchina.com/topeak/108527/message.aspx</guid><category></category><author>topeak</author></item><item><title>写软盘镜像文件</title><pubDate>Sun, 20 Apr 2008 15:57:47 GMT</pubDate><link>http://blog.ednchina.com/topeak/107530/message.aspx</link><description>开发时如果要使用虚拟机，就不可避免要创建软盘镜像！这是我用C++写的一个创建软盘镜像的工具（含源程序）</description><comments></comments><guid>http://blog.ednchina.com/topeak/107530/message.aspx</guid><category></category><author>topeak</author></item><item><title>十六进制查看器</title><pubDate>Sun, 20 Apr 2008 15:53:57 GMT</pubDate><link>http://blog.ednchina.com/topeak/107528/message.aspx</link><description>这是我以前用C++仿写的一款十六进制查看器！（含源程序）要用命令行，所以使用批处理文件能很方便地查看到一个文件（例如软盘镜像文件）的十六进制代码布局。</description><comments></comments><guid>http://blog.ednchina.com/topeak/107528/message.aspx</guid><category></category><author>topeak</author></item><item><title>嵌入式软件优化的例子</title><pubDate>Mon, 14 Apr 2008 23:29:50 GMT</pubDate><link>http://blog.ednchina.com/topeak/105309/message.aspx</link><description>这篇文章很不错，极力推荐！</description><comments></comments><guid>http://blog.ednchina.com/topeak/105309/message.aspx</guid><category></category><author>topeak</author></item><item><title>C语言中的暂停</title><pubDate>Thu, 10 Apr 2008 00:37:10 GMT</pubDate><link>http://blog.ednchina.com/topeak/102439/message.aspx</link><description>很多C语言初学者的调试时，往往没看到结果程序就退出了，据我所知的方法主要有以下几种方法一： #include &amp;amp;lt;dos.h&amp;amp;gt; int main() { system(&amp;quot;pause&amp;quot;);//利用了DOS命令 return 0; }方法二： #include &amp;amp;lt;stdio.h&amp;amp;gt; </description><comments></comments><guid>http://blog.ednchina.com/topeak/102439/message.aspx</guid><category></category><author>topeak</author></item></channel></rss>