【2012-08-10】确认申请撒瑞开发板成功
【2012-08-12】下载电路资料,资料,软件、资料,等候开发板
【2012-08-13】收到开发板 (6楼)
【2012-08-15】土法控制发光二极管blinking (7楼)
【2012-08-25】调试蜂鸣器(13楼)
共6条
1/1 1 跳转至页

模仿halibote523的代码,不过不懂GPIO,土法炮制led blinking
1.main函数没有修改
void main(void)
{
/* Start user code. Do not edit comment generated here */
R_TAU0_Channel0_Start();
while (1U)
2.timer添加代码如下:
__interrupt static void r_tau0_channel0_interrupt(void)
{
/* Start user code. Do not edit comment generated here */
tinernum++;
if(tinernum==5) P7.7=0;
if(tinernum>=10)
{
P7.7=1;
tinernum=0;
}
编译下载通过。
1.main函数没有修改
void main(void)
{
/* Start user code. Do not edit comment generated here */
R_TAU0_Channel0_Start();
while (1U)
2.timer添加代码如下:
__interrupt static void r_tau0_channel0_interrupt(void)
{
/* Start user code. Do not edit comment generated here */
tinernum++;
if(tinernum==5) P7.7=0;
if(tinernum>=10)
{
P7.7=1;
tinernum=0;
}
编译下载通过。
共6条
1/1 1 跳转至页
回复
打赏帖 | |
---|---|
汽车电子中巡航控制系统的使用被打赏10分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏100分 | |
分享汽车电子中巡航控制系统知识被打赏10分 | |
分享安全气囊系统的检修注意事项被打赏10分 | |
分享电子控制安全气囊计算机知识点被打赏10分 | |
【分享开发笔记,赚取电动螺丝刀】【OZONE】使用方法总结被打赏20分 | |
【分享开发笔记,赚取电动螺丝刀】【S32K314】芯片启动流程分析被打赏40分 | |
【分享开发笔记,赚取电动螺丝刀】【S32K146】S32DS RTD 驱动环境搭建被打赏12分 | |
【分享开发笔记,赚取电动螺丝刀】【IAR】libc标注库time相关库函数使用被打赏23分 | |
LP‑MSPM0L1306开发版试用结果被打赏10分 |