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

模仿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;
}
编译下载通过。
回复
有奖活动 | |
---|---|
“我踩过的那些坑”主题活动——第002期 | |
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |