0)value--; } //========================================================== //================================================ //#pragmaconfigFOSC=HS-led_pic_flash-嵌入式芯片 - IMDN开发者社群-imdn.cn" /> 0)value--; }//==========================================================//================================================//#pragmaconfigFOSC=HS,WDTE=OFF,CP=OFF,PWRTE=OFF//__CONFIG(FOSC_HS&WDTE_OFF&DEBUG_OFF);//__CONFIG(HS&WDTE_OFF&DEBUG_OFF);#pragmaconfig  OSC=HS,WDT=OFF#pragmaconfigPWRT=OFF//#pragmaconfig OSC=HSPLL#pragmaconfig WDT=OFF#pragmaconfig   LVP=OFFvoidmain(void){//CLEARBIT(TRISD,0xff);//SETBIT(PORTD,0xff);TRISB=0x00-IMDN开发者社群-imdn.cn"> 0)value--; }//==========================================================//================================================//#pragmaconfigFOSC=HS,WDTE=OFF,CP=OFF,PWRTE=OFF//__CONFIG(FOSC_HS&WDTE_OFF&DEBUG_OFF);//__CONFIG(HS&WDTE_OFF&DEBUG_OFF);#pragmaconfig  OSC=HS,WDT=OFF#pragmaconfigPWRT=OFF//#pragmaconfig OSC=HSPLL#pragmaconfig WDT=OFF#pragmaconfig   LVP=OFFvoidmain(void){//CLEARBIT(TRISD,0xff);//SETBIT(PORTD,0xff);TRISB=0x00 - IMDN开发者社群-imdn.cn">
登录
首页 » 嵌入式芯片 » led_pic_flash

led_pic_flash

于 2023-05-01 发布 文件大小:56.77 kB
0 35
下载积分: 2 下载次数: 1

代码说明:

#include //#include //#include "pic16f877.h" //#include "pic18f4539.h" //#include "pic18f452.h" //htc.h //========================================================== void delay(unsigned int value) {     while(value>0) value--;  } //========================================================== //================================================ //#pragma config FOSC = HS, WDTE = OFF, CP = OFF, PWRTE = OFF //__CONFIG(FOSC_HS & WDTE_OFF & DEBUG_OFF ); //__CONFIG(HS & WDTE_OFF & DEBUG_OFF ); #pragma config   OSC = HS,WDT =OFF #pragma config PWRT = OFF //#pragma config  OSC = HSPLL #pragma config  WDT = OFF #pragma config    LVP = OFF void main(void) { //CLEARBIT(TRISD,0xff); //SETBIT(PORTD,0xff); TRISB=0x00

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104297会员总数
  • 29今日下载