STM8驱动数码管如果开发者对于本文件有需要的可以参考。
STM8驱动数码管
#include "stm8s.h"
#include "sys.h"
#include "stm8s_gpio.h"
#include "hddriver.h"
#include "display.h"
#define ADC_ABS(x) (((x) < (0)) ? (-(x)):(x))
void delay_us(unsigned short time)
{
unsigned short i;
for(i=0;i