2016-04-18 06:16 PM
Hello everybody.
Can someone point me to a simple ''Hello world'' LED blinking example for STM8?My situation is as following:I foundhttp://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??Thanks2016-04-20 01:32 AM
Hi,
Have a look at the attached project. I'm not sure if I've done it the correct way but it does compile and I hope work. However, I'm not able to test it at the moment. Hopefully there will be enough there for you to see how it's done and adapt it for your own needs :) I used an evaluation version of the Cosmic compiler and an STM8S Thanks, Ian ________________ Attachments : stm8_led_toggle.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htra&d=%2Fa%2F0X0000000aY3%2FY2p6W6snRlube0qp6O_ZL9zpPp3BnQkBE0fJpie.LGE&asPdf=false2016-05-01 12:11 PM
You can find such tutorials at
Philipp