Hardware Connection
Code Example
#include "STM8S.h"
void clock_setup(void);
void GPIO_setup(void);
void ADC1_setup(void);
void lcd_print(unsigned char x_pos, unsigned char y_pos, unsigned int value);
void main()
{
unsigned int a1 = 0x0000;
clock_setup();
GPIO_setup();
ADC1_setup();
LCD_init();
LCD_clear_home();
Need help?
Do you have a question about the STM8 and is the answer not in the manual?
Questions and answers