ST意法半导体
直播中

王希予

7年用户 147经验值
私信 关注
[问答]

如何为STM8做一个简单的''Hello world''LED闪烁示例?

大家好。


有人能指出我为STM8做一个简单的''Hello world''LED闪烁示例吗?

我的情况如下:

我找到了http://www.electroons.com/blog/stm8-tutorials-2-hello-world-program/
我试着在这里做它不起作用(没有''stm8s.h''文件)

后来我发现这个文件包含在''STM8固件库''中。所以我搜索了它,感谢在这个william hill官网 的帮助,我终于可以找到它...(谢谢!)

但即使使用此文件也无法编译。

我也尝试在库中构建示例(它们应该正常工作吗?)它也没有用。

有人可以指点我一个简单的教程闪烁一个领导?

谢谢

以上来自于谷歌翻译


以下为原文




Hello everybody.


Can someone point me to a simple ''Hello world'' LED blinking example for STM8?

My situation is as following:

I found http://www.electroons.com/blog/stm8-tutorials-2-hello-world-program/
and I tried to do it here. It did not work (no ''stm8s.h'' file)

later I found that this file is included in the ''STM8 firmware library''. So I searched for it and thanks to help in this forum I could finally find it...(thanks!)

However even with this file it does not compile.  

I also tried to build the examples in the library (they are supposed to work right?) well it didnt work either.

So can someone point me to a simple tutorial for blinking a led??

Thanks

回帖(1)

李淳鑫

2019-6-26 07:52:36
你可以在这里找到这样的教程
 
 
http://colecovision.eu/stm8/
 
 
 菲利普

以上来自于谷歌翻译


以下为原文





You can find such tutorials at


http://colecovision.eu/stm8/


Philipp
举报

更多回帖

发帖
×
20
完善资料,
赚取积分