情况是这样的,我的程序里有一个参数,数值不超过1000,我要保存到EEPROM中,那就要分两个字节存放。我用下面的方式保存是正常的: BASE = 0x4000; param = 999; eeprom_write(BASE+0x01, param/256); eeprom_write(BASE+0...
分类:
其他好文 时间:
2014-07-10 13:44:53
阅读次数:
193
大家好/HI everyone,Thanks for viewing my blogs, starting to use cnblogs to write blogs about programming. Hope I can keep writing and growing up together...
分类:
其他好文 时间:
2014-07-10 10:05:59
阅读次数:
197
在上一篇中,我们配置好了RemoteApp程序,也可以客户端中正常打开运行,但是看到类似下面的窗口时,总觉得不爽,而且会因为证书校验,连接的时间会很长引起这个问题原因就是证书问题分两部分来处理一.WEB1.在CA颁发机构中,右键-证书模板2.在证书模板制台中,右键选WEB服务器-..
分类:
移动开发 时间:
2014-06-28 06:23:09
阅读次数:
3415
1 staitc void Main(string[] args) 2 { 3 for(int i=1;i<=9;i++)//乘数 4 { 5 for(int j=1;j<=i;j++)//被乘数 6 { 7 Console.Write("{0}*{1}={2}...
分类:
其他好文 时间:
2014-06-27 13:58:40
阅读次数:
188
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
分类:
其他好文 时间:
2014-06-27 12:25:27
阅读次数:
721
题目
Write a program to solve a Sudoku puzzle by filling the empty cells.
Empty cells are indicated by the character '.'.
You may assume that there will be only one unique solution.
...
分类:
其他好文 时间:
2014-06-27 07:06:50
阅读次数:
184
在web服务器上搭建了vsftpd用来上传代码程序,开启日志记录客户端的上传、下载删除等操作;#修改/etc/vsftpd/vsftpd.conf
[root@node1~]#vim/etc/vsftpd/vsftpd.conf
anonymous_enable=NO
anon_root=/ftpanon
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_ena..
分类:
其他好文 时间:
2014-06-27 06:33:51
阅读次数:
441
http://www.cnblogs.com/Leo_wl/archive/2012/04/06/2435511.html以前一直比较好奇,jquery插件是怎么开发的,怎么写属于自己的插件?昨天在逛codeproject网站的时候,突然看到一篇文章:How to write plugin in J...
分类:
Web程序 时间:
2014-06-26 12:44:23
阅读次数:
331
document.write(parseInt(10*Math.random())); //输出0~10之间的随机整数document.write(Math.floor(Math.random()*10+1)); //输出1~10之间的随机整数//输出指定位数的随机数的随机整数function .....
分类:
编程语言 时间:
2014-06-26 11:22:20
阅读次数:
249
最近写程序的时候发现一个这样的问题,一个if判断如下:[php]if (!empty(trim($ch_url))) { ...}[/php]执行程序报出如下错误:[code]Fatal error: Can't use function return value in write context ...
分类:
其他好文 时间:
2014-06-26 11:15:31
阅读次数:
195