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 144
下载积分: 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 个回复

  • PWM test for LEDs for LPC2114
    PWM test for LEDs for LPC2114
    2022-07-02 20:06:55下载
    积分:1
  • ETC 测试脚本
    ETC测试脚本 该脚本应用在ETC第一次发行是的COS命令及其反馈 对开发OBU、 OBU发行设备的朋友, 非常有用的工具
    2022-03-04 20:56:01下载
    积分:1
  • 市场上通用的LCD12x2的驱动源代码.
    市场上通用的LCD12x2的驱动源代码.-LCD12x2 market generic driver source code.
    2022-03-24 13:43:30下载
    积分:1
  • 用计时器实现的精准的延时程序的代码,希望对大家有用,基于LPC2103...
    用计时器实现的精准的延时程序的代码,希望对大家有用,基于LPC2103-With the timer delay to achieve the precise procedure code
    2023-03-08 17:30:04下载
    积分:1
  • ARM系列平台USB下载器的通用DLL文件,支持多种仿真器...
    ARM系列芯片嵌入式平台USB下载器的通用DLL文件,支持多种仿真器-ARM chip embedded platform
    2022-03-05 05:40:40下载
    积分:1
  • CC2500通信例子源代码,有兴趣的可以研究一下
    CC2500通信例子源代码,有兴趣的可以研究一下-CC2500 communication example source code, anyone interested can look at
    2022-02-04 13:02:06下载
    积分:1
  • 东南大学开发的ARM7的SD卡测试程序,充分有效…
    东南大学开发ARM7芯片SD卡测试程序,完全可用-Southeast University to develop ARM7 chip SD card test procedure, fully available
    2022-01-25 16:24:12下载
    积分:1
  • 本程序是分布在希望它是有用的,
    This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.-This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
    2022-03-26 17:48:35下载
    积分:1
  • 基于lpc2214的矩阵键盘扫描程序,5*5的键盘,c语言程序
    基于lpc2214的矩阵键盘扫描程序,5*5的键盘,c语言程序 -LPC2214-based matrix keyboard scanner, 5* 5 keyboard, c language program
    2023-02-10 00:30:04下载
    积分:1
  • This example program shows how to configure and use the A/D Converter of the fo...
    This example program shows how to configure and use the A/D Converter of the following microcontrollers: * Philips LPC 2114/2119/2124/2129/2131/2132/2138/2194 After configuring the A/D Converter, the program reads A/D channel 0 and outputs the converted value using the serial port. To run this program... 1. Select the Device (Project - Options for Target - Device) 2. Build the project (Project - Build Target) 3. Start the uVision Debugger 4. Open the Serial Window (View - Serial Window 1) 5. Click Run (F5) 6. Click on the Toolbox buttons to change input voltages A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals grap
    2022-01-31 01:19:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载