This code is demonstrating of using BlackBox generated code with STM8 microcontroller.
Just open this code in any your favorite IDE and add some preprocessor symbols
STM8S103 (Define Microcontroller type)
and Define Master clock source
CLK_SOURCE=HSI ( High speed internal clock signal)
CLK_SOURCE=LSI (Low Speed internal clock signal)
CLK_SOURCE=8000000 (High speed external clock signal frequency)
- Your LED on your board is connected to B5 pin, like on well known STM8S103F3P6 based board. Otherwise change output pin according your board case.
- UART1 RX/TX pins are connected to RX/TX HC-06(05, 08) Bluetooth module with factory settings.