STM8-利用外部中斷編寫一個(gè)按鍵控制燈的亮滅
#include"stm8s.h"
#include "stm8s_exti.h"
#define uchar unsigned char
#define uint unsigned int
#define ulong unsigned long
void delay(uint i)
{
}
void main()
{
}
#pragma vector=6
__interrupt void EXIT_PORTB_IRQHander(void)
{
}
評(píng)論