一乐电子

一乐电子百科

 找回密码
 请使用微信账号登录和注册会员

QQ登录

只需一步,快速开始

快捷登录

手机号码,快捷登录

搜索
楼主: litchiate
收起左侧

翻页钟. 来说说发现过什么bug,或者有什么改进意见?

  [复制链接]
发表于 2009-2-3 20:20 | 显示全部楼层
哈哈,马上更新,有时间试试。
发表于 2009-2-4 09:09 | 显示全部楼层
<P>有1 问题不明:我的这个18b20接在这个屏上显示16.0度不变,又换1个18b20,接上显示正常。但原来那个18b20换在数码管显示的温度计上显示正常。与18b20的产品批次有关吗?(两个产品不为一个批次。)</P>
<P>与屏的连接图</P>
22.jpg
 楼主| 发表于 2009-2-4 10:18 | 显示全部楼层
哦?难道延时取得不好导致 某些批次18B20不能正常使用?? 可以试试看加大18B20的延时。

[ 本帖最后由 litchiate 于 2009-2-4 10:20 编辑 ]
发表于 2009-2-4 10:29 | 显示全部楼层
<P>
原帖由 <I>litchiate</I> 于 2009-2-4 10:18 发表 <A href="https://www.yleee.com.cn/redirect.php?goto=findpost&amp;pid=3365&amp;ptid=369" target=_blank><IMG alt="" src="https://www.yleee.com.cn/images/common/back.gif" border=0></A> 哦?难道延时取得不好导致 某些批次18B20不能正常使用?? 可以试试看加大18B20的延时。
</P>
<P>&nbsp;&nbsp; 程序看不懂的,延时改那个地方。</P>
发表于 2009-2-4 10:37 | 显示全部楼层
<P>18B20有可能会出现你这个情况,大部分是和18B20本身有关系,在电阻上10K改为4.7K试试。据说18B20电压要求比较高,好像要大余4.8V比较好。</P>

[ 本帖最后由 shqi2003 于 2009-2-4 10:40 编辑 ]
发表于 2009-2-4 11:08 | 显示全部楼层
从来没手工搭过洞洞板,竟然对着电路无从下手,看来我是玩不成了 只怪我太笨了
发表于 2009-2-4 19:46 | 显示全部楼层
<P>
原帖由 <I>shqi2003</I> 于 2009-2-4 10:37 发表 <A href="https://www.yleee.com.cn/redirect.php?goto=findpost&amp;pid=3368&amp;ptid=369" target=_blank><IMG alt="" src="https://www.yleee.com.cn/images/common/back.gif" border=0></A> 18B20有可能会出现你这个情况,大部分是和18B20本身有关系,在电阻上10K改为4.7K试试。据说18B20电压要求比较高,好像要大余4.8V比较好。
</P>
<P>用2个10k电阻并联,(等于5K)接上试了试,还是显示16.0度,采样时间如能延长不知效果怎样?</P>
发表于 2009-2-4 21:53 | 显示全部楼层

谢谢先!

<P>
原帖由 <I>litchiate</I> 于 2009-2-3 18:51 发表 <A href="https://www.yleee.com.cn/redirect.php?goto=findpost&amp;pid=3336&amp;ptid=369" target=_blank><IMG alt="" src="https://www.yleee.com.cn/images/common/back.gif" border=0></A> 啊 啊 。 不会有人下载了吧。。 手不要太快么。 后来发现农历中的一个错误 农历有初十,廿十,三十, 直接把转换好的阳历月数字÷10 就会出现错误 修改以后,空间不够了,把2001年以前的农历表格删掉了 ...
</P>
<P>&nbsp;</P>
<P><FONT color=blue>可惜啊,可惜!</FONT></P>
<P><FONT color=blue>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我“已经”下载了您昨天的V2.4版本;今天上班,的利用休息时间,已经测试了一下。。。。。。</FONT></P>
<P><FONT color=blue>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下面,我只说“发现的问题”——您不会介意罢? </FONT></P>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=6><EM><STRONG>显示的农历</STRONG></EM>,是:“<STRONG><FONT color=red>农历二零零九年一月廿</FONT><FONT color=red>零</FONT></STRONG>”......</FONT></FONT></P>
<P><FONT color=blue><FONT size=6>&nbsp;&nbsp;</FONT>存在好几个“问题”:</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;其一、今天是农历的“正月初十”,“<FONT color=#ff0000>一月廿零</FONT>”肯定是不正确的——这个,估计您已经“发现”了;</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp; 其二、关于“月、日”</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如上,农历的“<FONT color=red>正月初十</FONT>”,如果不能显示“<FONT color=#ff0000>正月初十</FONT>”,亦可以是“<FONT color=#ff0000>一月十日</FONT>”;</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;但是,“</FONT><FONT color=red>正月</FONT><FONT color=#ff0000>廿十</FONT><FONT color=blue>”或者“<FONT color=#ff0000>一月廿日</FONT>”,是不能显示成为“<FONT color=#ff0000>正月廿零</FONT>”或者“<FONT color=#ff0000>一月廿零</FONT>”的哦!</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp; 其三、关于“农历<FONT color=red>‘年’</FONT>”</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 既然是“<FONT color=red><STRONG>农历</STRONG></FONT>”,就绝对不存在什么“<FONT color=#ff0000>农历二零零九年</FONT>”的这种“中外结合”的格式的 </FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我个人的想法是:</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 最好的显示方式,是显示“<FONT color=red><STRONG>己丑年</STRONG></FONT>”——原汁原味;</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果因为内存有限、不方便处理——不妨就<FONT size=5><STRONG><FONT color=red>干脆</FONT><FONT color=red>省略</FONT><FONT color=red>“‘农历年’的显示”!</FONT></STRONG></FONT></FONT></P>
<P><FONT color=#0000ff><FONT size=5><STRONG><FONT color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><FONT color=blue size=3>——</FONT></STRONG></FONT>今天是农历的“哪一年”?一般人“不会在意”的——只要显示“农历”的“月、日”、即可。</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 另外,</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果“年、月、日”格式、修改显示“<FONT color=red><STRONG>农历</STRONG></FONT><FONT color=magenta>二零零九年一月廿零</FONT>” 为“<FONT color=red>己丑年</FONT><FONT color=#ff0000>正月廿十</FONT>”,其中冠名的“<FONT color=#ff0000><STRONG>农历</STRONG></FONT>”两个字,则完全可以省略——“”已经一目了然是“农历”了;</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果是“月、日”格式、可以显示为“<FONT color=#ff0000>正月廿十</FONT>”(或者“<FONT color=#ff0000>一月廿日</FONT>”),亦可以不需要冠名“<FONT color=#ff0000>农历</FONT>”两个字。</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 以上的个人意见,难免片面,仅供参考——楼主辛苦了!!!</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp; </FONT></P>
<P><FONT color=blue></FONT>&nbsp;</P>
 楼主| 发表于 2009-2-4 22:44 | 显示全部楼层
<P>感谢测试反馈</P>
<P>&nbsp;</P>
<P><FONT color=#0000ff>其一、今天是农历的“正月初十”,“</FONT><FONT color=#ff0000>一月廿零</FONT><FONT color=#0000ff>”肯定是不正确的——这个,估计您已经“发现”了;</FONT></P>
<P>&nbsp;</P>
<P>这个问题是刚更新就发上来的版本中才有的问题。后来修正过了。&nbsp;可以去顶楼下载更新过的。&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P>
<P>原因:当时只是想 10/10=1,10%10=0, 忘记了农历中 还有“初十”的存在了。后来改用判断是否<FONT color=indigo><FONT color=blue>初十,廿十,三十</FONT>,</FONT>如果是则直接显示,不是则用计算地方法。</P>
<P>&nbsp;</P>
<P>-------------------------------------分割线------------------------------------------------------------------------------------------</P>
<P><FONT color=#0000ff>其二、关于“月、日”</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如上,农历的“<FONT color=red>正月初十</FONT>”,如果不能显示“<FONT color=#ff0000>正月初十</FONT>”,亦可以是“<FONT color=#ff0000>一月十日</FONT>”;</FONT></P>
<P><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;但是,“</FONT><FONT color=red>正月</FONT><FONT color=#ff0000>廿十</FONT><FONT color=blue>”或者“<FONT color=#ff0000>一月廿日</FONT>”,是不能显示成为“<FONT color=#ff0000>正月廿零</FONT>”或者“<FONT color=#ff0000>一月廿零</FONT>”的哦!</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=black>也是和上面一样的原因,已经修正, 今天显示为&nbsp;&nbsp; 一月初十,这样可以么?</FONT><FONT color=#0000ff></FONT></P>
<P><FONT color=black>------------------------------------分割线---------------------------------------------------------------------------------------------</FONT></P>
<P><FONT color=#0000ff>其三、关于“农历<FONT color=red>‘年’</FONT>”</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=black>农历不怎么熟悉,自己平时也不怎么用到,</FONT>就随便弄了种中文显示的<FONT color=mediumturquoise>二零零九年。</FONT></P>
<P><FONT color=black>天干地支,再取模的话应该放不下了。不过就用几年的话,可以把近几年的存进去。</FONT></P>
<P>&nbsp;</P>
<P>也可以吧之前都没用到的ASCII的给替换成那些字模。</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>谢谢 无锡风 如此详细的建议。 </P>
发表于 2009-2-4 22:46 | 显示全部楼层

万年历

<P>可供参考的万年历“界面”——平面的哦!</P>
<P> ?万年历界面.PNG </P>

本版积分规则

QQ|一淘宝店|手机版|商店|电子DIY套件|一乐电子 ( 粤ICP备09076165号 ) 公安备案粤公网安备 44522102000183号

GMT+8, 2024-4-26 14:26 , Processed in 0.068565 second(s), 32 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表