大家好。
有人能指出我为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 situa
tion 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