--。mega8字节差点点就满了。。
卤煮你的代码写了多久才写完的?
=。= 好长的代码,分层重构下比较好
// A1/15 确定按钮; A2/16 下移按钮; A3/17 上移按钮; A4/18 返回按钮;
这句代码中,是如何定义A1-A4的按键端口号的?我仿制了一个,能够正确显示图片,但是貌似干扰,图标、设置内容等乱跑。
请问楼主,你从ds1302实时时钟里提取出来的时间是保存在什么样变量里了??
我有一个小的实验,是将时间保存在一个结构体里了(DS1302Buffer),儿结构体里的成员变量Year、Month、Day、Week、Hour、Minute、Second都是unsigned char类型的。
在用显示函数时LCDA.DisplayString(r,c,(unsigned char *)tca2,sizeof(tca2));第三个参数我就写的是DS1302Buffer.Year来输出年份。可是编译的时候报错。那么这个参数我应该怎么传?
后来我改成了&DS1302Buffer.Year,编译通过了,但是打印在屏幕里是乱码。
我这种情况正确的传参数的形式应该怎么写??????
好长的代码 好复杂。
以后能用到代码
哪里有DHT11.H?
出事啦
naozhong.ino: In function 'void s_m1()':
naozhong.ino:199:1: error: unable to find a register to spill in class 'NO_REGS'
naozhong.ino:199:1: error: this is the insn:
(insn 276 273 279 25 (set (mem:QI (post_dec:HI (reg/f:HI 32 __SP_L__)) )
(subreg:QI (reg/f:HI 201) 1)) naozhong.ino:168 1 {pushqi1}
(expr_list:REG_ARGS_SIZE (const_int 5 )
(nil)))
naozhong.ino:199: confused by earlier errors, bailing out
unable to find a register to spill in class 'NO_REGS'
{:soso_e154:}求助
。。。。。。大神们到哪里去啦
{:soso_e154:}
{:soso_e142:}
初学者学习
不错,求线路图
{:soso_e154:}