经不住诱惑,今天开始玩STM8!麻烦过来人进来讲讲心得

2019-12-26 18:53发布

1、买的STM8 value line discovery板刚到手,从最简单的STM8S003开始吧。
2、下载了STVD/COSMIC。COSMIC_32K坛里有和谐好的,不过要先下载原版安装。
3、争取今晚把LED点亮。
4、其实我很看好STM8L152,之后要测试一下耗电和ADC性能。
5、纯业余玩的,还没想好弄点啥……
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
77条回答
millwood0
2019-12-28 20:46
I took a look at the datasheet briefly and it looks that the registers are identical to stm8s105 used in stm8s discovery. if so, I am happy to provide you some modules I use for stm8s discovery - knowing that I couldn't test them on your stm8svl discovery.

点LED太简单了,
PA_DDR |= 1;
PA_ODR |= 1;
在PA1输出高电平


the manual shows the led is on pd0, the same as on stm8s discovery.

一周热门 更多>