A basic C library for STM8S003F3 microcontrollers.
This project was a collaborative effort. While I focused on the software libray, the hardware is designed by OgzhnDev.
- UART communication
- ADC operations
- Timer functions
- GPIO control
- Basic system management
More peripherals and functions will be added.
Include the necessary header files in your project and call the initialization functions for the peripherals you want to use.
Example:
#include "uart.h"
#include "adc.h"
void main() {
UART_Init(UART_1, 9600);
AY_ADC_Init_Single();
// Your code here
}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This is a work in progress. Use at your own risk in production environments.