/* MAIN.C file * * Copyright (c) 2002-2005 STMicroelectronics */#include "stm8s.h"#include "stm8s_clk.h"#include "stm8s_adc1.h"void Clk_Config(void);void ADC_Config(void);void ADC_Read(uint16_t *MV);main(){ unsigned short MV; Clk_Config(); ADC_Confi...
If I commented these lines again error is notified in Clk.c file and repeated for other.My question is, if commenting all those lines will reflect any issues in building the code
Hi everybody,I'm using an STM8S003F3P6 on a custom board and a not original ST-Link V2 (which works fine), and I'm trying to set high the PB4 and PB5 pins. I don't know why, but it doesn't work as it should. I put my code down below.I also wrote anot...
Hi, everyone. I have been working with STM8S, i am did not work with this microcontroller before, i have some questions about ADC (i am using STM8S103F3). 1) The first problem that i had was about the values read, i am initialize the peripheral for w...
Hello everyone,I'm new on STM and I find myself having to use the STM8 in a linux environment and I saw that ST provides its IDE only for Windows.I would like to know where to find an IDE + software programmer (using ST-LINK V2) where to develop soft...
The "STM8S standard firmware library" is referenced in UM0834 for STM8S-Discovery. The library examples were well organized according to the descrription and included everything for the quick start. There were timers examples, ADC, SPI, I2C, UART exa...