Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - h.3
Search - h.3 - List
pcf8584应用实例,*** PROJEKT, bestehend aus 3 Teilen *** ** PCF8584 ** PCF8584.Opt i2c_DEF.h PCF8584.Uv2 PCF8584_lib.c PCF8584_lib.h ringbuf.h ringbuffer.c test.ini tst_I2C.c Globals.h ** Chip_Inc ** 16550.h 81C90.h phyCORE_591.h LAB537.h MCB517AC.h PCF8584.H CM517A.h PIO_8255.h RTC72421.h DEF_BOARDS.H MOD515.h I2c_Chip_Lib.h ** Inc_C51b_T2 ** LCD_DEF_LIB.h ASCII2hex.h BCD_HEX.H bcd2hex.h CG_RAM_Lib.H CRC_16.H Def_bits.h DEF_INT.H Defines.h INTELHEX.H ITOA.H ASCI_hex.h LRC.H MAKROS.H PACK_7T8.H Ram_des.h Ram_inv.h Rom_chk.h RS232_BD.h sm_printf.h SOFT_RES.H TASTEN_LIB.H tasten_matrix_lib.h TIME_OUT_lib.H centronics_lib.h I2c_Lib.h DEF_MIC.H-pcf8584 application,*** PROJEKT, bestehend aus 3 Teilen***** PCF8584** PCF8584.Opti2c_DEF.hPCF8584.Uv2PCF8584_lib.cPCF8584_lib.hringbuf.hringbuffer.ctest.initst_I2C.cGlobals.h** Chip_Inc** 16550.h81C90 . hphyCORE_591.hLAB537.hMCB517AC.hPCF8584.HCM517A.hPIO_8255.hRTC72421.hDEF_BOARDS.HMOD515.hI2c_Chip_Lib.h** Inc_C51b_T2** LCD_DEF_LIB.hASCII2hex.hBCD_HEX.Hbcd2hex.hCG_RAM_Lib.HCRC_16.HDef_bits.hDEF_INT.HDefines.hINTELHEX.HITOA.HASCI_hex . hLRC.HMAKROS.HPACK_7T8.HRam_des.hRam_inv.hRom_chk.hRS232_BD.hsm_printf.hSOFT_RES.HTASTEN_LIB.Htasten_matrix_lib.hTIME_OUT_lib.Hcentronics_lib.hI2c_Lib.hDEF_MIC.H
Date : 2025-12-16 Size : 28kb User : nightwindy

BLDC无刷电机的C控制源码,5部分组成:1.bldc.c 2.ac.c 3.wm.c 4.hsensor.c 5.timer1.c 和a header file (bldc.h)-BLDC brushless motor control of the C source, 5 parts: 1.bldc.c 2.ac.c 3.wm.c 4.hsensor.c 5.timer1.c and a header file (bldc.h)
Date : 2025-12-16 Size : 4kb User : weewa

在freescale 的ne64上开发的源代码
Date : 2025-12-16 Size : 1.66mb User : 汪洋

1) 兼容FAT16文件系统,长文件名,最大路径长度260个字节,符合Microsoft Longfilename specification。 2) 可移植于各种平台,只需编写sector驱动驱动,共计两个函数:1)read_flash_sector() 2)write_flash_sector()。 3) 文件缓冲功能:1)读文件时,读位置在文件缓冲区内,则可直接读文件缓冲区,不需要读物理磁盘;文件缓冲区大小可使用编译宏EnableFileBuf,TotalFileBUFsQTYeachFCB,FileBUFSize来控制。 4) 可同时打开多个文件;最大打开文件数可使用编译宏MaximumFCB设定,MaximumFCB最大值限定为254。 5) 文件保护功能:文件可同时打开多个FCB,而只有其中一个FCB可以得到文件RD/WR权限。该功能完全由文件系统代码来完成,上层应用无需编写额外代码。 6) 所有编译宏存放于文件fat_cfg.h。 (本代码只供测试,研究,设计使用,如需用于商业应用,请与作者联系购买许可,qq:292942278,E-MAIL:tony_yang123@sina.com.cn) -err
Date : 2025-12-16 Size : 580kb User : 6756

1)兼容FAT16文件系统,长文件名,最大路径长度260个字节,符合Microsoft Longfilename specification。 2)可移植于各种平台,只需编写sector驱动驱动,共计两个函数:1)read_flash_sector() 2)write_flash_sector()。 3)文件缓冲功能:1)读文件时,读位置在文件缓冲区内,则可直接读文件缓冲区,不需要读物理磁盘;文件缓冲区大小可使用编译宏EnableFileBuf,TotalFileBUFsQTYeachFCB,FileBUFSize来控制。 4)可同时打开多个文件;最大打开文件数可使用编译宏MaximumFCB设定,MaximumFCB最大值限定为254。 5)文件保护功能:文件可同时打开多个FCB,而只有其中一个FCB可以得到文件RD/WR权限。该功能完全由文件系统代码来完成,上层应用无需编写额外代码。 6)所有编译宏存放于文件fat_cfg.h。 -1) compatible with FAT16 file system, long file name, maximum path length 260 bytes, in line with Microsoft Longfilename specification. 2) can be transplanted into a variety of platforms, just to prepare sector-driven drive, for a total of two functions: 1) read_flash_sector () 2) write_flash_sector (). 3) file buffer functions: 1) read documents, read the location of the buffer zone in the document, you can read files directly buffer, do not need to read physical disk file buffer size can be used to compile macro EnableFileBuf, Tot
Date : 2025-12-16 Size : 667kb User :

TMS2407开发平台键盘LED试验,键盘输入0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,LED输出0,1,2,3,4,5,6,7,8,9,-,E,H,L,NU-press the key and the leds display the key value! the key value is from:0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f the leds dislay the value as:0,1,2,3,4,5,6,7,8,9,-,E,H,L,NULL
Date : 2025-12-16 Size : 14kb User : 崔建

1.ADS 1.2集成开发环境的安装与使用; 2.H-JTAG软件的安装与设置及EasyJTAG-H仿真器的使用; 3.GPIO原理及应用; 4.SPI原理及应用; 5.I2C原理及应用; 6.UART0原理及应用; 7.串口调试软件EasyARM.exe的使用。 -1. ADS 1.2 integrated development environment of the installation and use 2. H-JTAG software installation and set up EasyJTAG-H and the use of simulators 3. Principle and Application of GPIO 4. Principle and Application of SPI 5. Principle and Application of I2C 6. Principle and Application of UART0 7. Serial debugging software EasyARM.exe use.
Date : 2025-12-16 Size : 205kb User : fsdfd

Use this library along with 74HC595.h in order to control an LCD display using only 3 microcontroller pins (it was based in ATMega using CodevisionAVR).
Date : 2025-12-16 Size : 1kb User : cucobein

RT-Thread已经包括了LPC1768的基本移植,通常RT-Thread的做法是,只提供独立的工程,并且在工程中力图把最多的特性都打开了,而不是类似一些做开发板的,循序渐进的提供一些例子。当然,在RT-Thread极为优秀的剪裁能力基础上,能够化繁为简,或层层叠加形成一个复杂的系统: >>使能LwIP TCP/IP网络组件,仅需要在rtconfig.h中定义RT_USING_LWIP宏。 -RT-Thread LPC1768 has been included in the basic transplantation, usually RT-Thread practice is to only provide independent project, and try to turn up in the project properties are open, do not like some of the development board, providing step by step some examples. Of course, the RT-Thread cut a very good based on the ability to simplify, or the formation of superimposed layers of a complex system:> > Enable LwIP TCP/IP network components, only need to be defined in rtconfig.h RT_USING_LWIP macro.
Date : 2025-12-16 Size : 4.76mb User : 金鱼

stm32 F10x 系列 V3.5中文版固件库-the stm32 F10x Series V3.5 Chinese version of the firmware library
Date : 2025-12-16 Size : 9.22mb User :

这是一个Altera FPGA NIOS II RS232通讯程序。 在Quartus II工程中,用Qsys建立了一个NIOS II为核心的CPU系统,并挂接了一个RS232接口。 在software目录下,有三个工程,一个是用C++类包装的RS232类的Eclipse工程,一个是不用C++类包装的Eclipse工程,还有一个是用VC++2008编写的RS232测试工程。 VC++2008编写的工程运行在PC机上,与FPGA中的NIOS II通讯。 这个实验的主要目的是编写一个通用RS232类,这个类即可以用于NIOS II,又可以用于PC机,是一个可重用的RS232类;我们用这个类开发了不少以PC为控制平台,FPGA为硬件控制器的测试系统。 -This is an Altera FPGA NIOS II RS232 communication project. In the Quartus II project, there is a NIOS II CPU with RS232. In the Software directory, there are 3 projects. First one is an Eclipse Project with C++ RS232 Class. Second one is an Eclipse Project with C RS232.h. Other one is a VC++2008 Project with C++ RS232 Class. The purpose of this project is to write a RS232 Class use on any system needed RS232 communication. The RS232 Class not only use on NIOS II, but also use on PC. We used this RS232 Class on many Test Systems with PC and FPGA
Date : 2025-12-16 Size : 13.22mb User : li hui xian

不少朋友都知道uCGUI3.98的VC工程源码并不完整,基于这个原因,本人对uCOS3.98的VC工程作了修改。主要修改如下: 1、增加uCGUI3.90的AntiAlias、JPEG、MemDev、MultiLayer到GUI目录; 2、GUI目录下,新建VNC目录,增加GUI_ProcessVNC.c文件,此文件为空,为与原工程保持一致性,另新建Touch目录; 3、Simulation目录下增加BASETSD.H头文件,新建GUISim目录,把SIM.h、SIM_X.c、GUI_SIM_NoWin32.h、GUI_SIM_Win32.h、GUISim.lib添加进该目录,因此本人需要更改工程的相关设置; 4、GUIConf.h中,打开GUI_SUPPORT_MEMDEV宏; 5、工程里,Simulation删除SIM_GUI组及相关文件,增加GUISim组,添加BASETSD.H头文件等; 6、增加Debug支持; 7、重新安排目录,重建VC工程; 8、VC工程同时融合了GUIDemo,便于GUI的学习,配置宏在uCGUI\Config\GUIConf.h文件中; 9、修复GUIDemo的Bug,第二个GUIDEMO_main()创建Stop按扭,按键无效,本人新添加了Start提示。-Many of my friends know uCGUI3.98 VC project source is incomplete, for this reason, I revised the uCOS3.98 VC works. The main changes are as follows: 1, increase uCGUI3.90 the AntiAlias ​ ​ JPEG, MemDev, the MultiLayer to GUI directory GUI directory, create a new VNC directory to increase GUI_ProcessVNC.c file, this file is empty, for consistency with the original project other New Touch catalog the Simulation directory increase BASETSD.H headers, New GUISim directory to SIM.h, SIM_X.c, GUI_SIM_NoWin32.h, GUI_SIM_Win32.h, GUISim.lib added to the directory, so I need change project settings 4 in GUIConf.h open GUI_SUPPORT_MEMDEV macro , engineering, Simulation delete SIM_GUI group and related documents, to increase GUISim group to add BASETSD.H header file 6, add Debug support 7 reschedule directory rebuild VC engineering , VC project combines the GUIDemo, easy GUI learn, the configuration macro the uCGUI \ Config \ GUIConf.h file 9, Fix GUIDemo the Bug second GUIDEMO_ma
Date : 2025-12-16 Size : 2.38mb User : 华兄

//1 de enero del 2000 fue sabado #include "calendario.h" int dia int mes int anyo const char cantDiasMes[12]= {31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} const char *nombreDia[7]= {"SA","DO", "LU", "MA", "MI", "JU", "VI"} const char *nombreMes[12]= {"ENERO", "FEBRERO", "MARZO", "ABRIL", "MAYO", "JUNIO", "JULIO", "AGOSTO", "SEPTIEMBRE", "OCTUBRE", "NOVIEMBRE", "DICIEMBRE"} const char diasPorMes[12]={0,3,3,6,1,4,6,2,5,0,3,5} const char diasPorMesBis[12]={0,3,4,0,2,5,0,3,6,1,4,6} -//1 de enero del 2000 fue sabado #include "calendario.h" int dia int mes int anyo const char cantDiasMes[12]= {31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} const char *nombreDia[7]= {"SA","DO", "LU", "MA", "MI", "JU", "VI"} const char *nombreMes[12]= {"ENERO", "FEBRERO", "MARZO", "ABRIL", "MAYO", "JUNIO", "JULIO", "AGOSTO", "SEPTIEMBRE", "OCTUBRE", "NOVIEMBRE", "DICIEMBRE"} const char diasPorMes[12]={0,3,3,6,1,4,6,2,5,0,3,5} const char diasPorMesBis[12]={0,3,4,0,2,5,0,3,6,1,4,6}
Date : 2025-12-16 Size : 1kb User : pablojg

最新版本MicroStar1.1不仅能支持按优先级调度,还支持时间片轮转调度和前二者相接合调度。   声明 代码未经严格测试,现仅作学习和交流用途,不得利用其作任何商业目的的开发。擅自使用之进行商业开发,所造成的后果由自已承担,本人不负任何法律上的责任。 使用需知 1. MicroStar1.0最多只能创建16个任务。最多可提供16个定时器。最多能直接提供16个同步对象,若要更多的同步对象,须自行分配内存。 2 为了使代码能在DOS下运行,不少函数声明和定义前都有_FAR宏,以使所有函数都可以通过在os_type.h中添删FAR_MODE宏来编译成远调函数还是近调函数。随演示程序提供的是在小模式下编译的obj文件,不必关心_FAR。 3 部分函数,结构体在DOS下必须使用 far 指针,移植时只需在os_type.h中添加一条-----#define far 4 此手册并不专对PC机编写,因而有些函数的原型与PC机源码不符,请读者注意。 5 调试版本中内核调用用户编写的os_WARNINGE 和 os_ASSERT校验函数,可参考演示程序中的other.c文件。出错类型和警告类型可在os_macro.h中查的。-Not only can support the latest version MicroStar1.1 by priority scheduling, also supports round-robin scheduling and dispatching former two engagement. Declaration code without strict testing, is solely for learning and communication purposes, not for any commercial purpose use of its development. Unauthorized use for commercial development, the consequences of the self-commitments, I assumes no legal responsibility. Using Notes 1. MicroStar1.0 can create a maximum 16 tasks. Provides up to 16 timers. Up to 16 synchronous object directly, to more synchronization objects at their own memory allocation. 2 To make the code can be run under DOS, and many function declarations and definitions have _FAR macro front, so that all functions are available through the os_type.h Sinostate delete FAR_MODE macros to compile near or far call function call function. With a demo program is compiled in a small model obj file, do not care _FAR. 3 partial function, the structure must be used unde
Date : 2025-12-16 Size : 231kb User : hugaoquan

用户编程: 1. A+B按住1秒,所有LED同时闪2下,进入编程模式 2. 默认显示当前设置时间LED亮,按A键一次,LED-A亮,再按,B亮,再按,C亮...从左至右依次定义为左A-30分钟、B-1小时、C-2小时、右A-3小时、B-4小时、C-5小时 3. 设定好小时后,按B键,设定对应小时的LED快闪两下,输入完成,转入分钟设置 4. 从左至右依次为左A-0分钟、B-10分钟、C-20分钟、右A-30分钟、B-40分钟、C-50分钟;默认右A亮。 5. 设定分钟后按B键,设定对应分钟的LED快闪两下,整个设置结束 亮度设置: 1、 双按AB按钮3秒,所有LED同时闪3下,进入亮度设置模式 2、 按A键依次选择亮度,从左至右亮度依次为5 、10 、20 、50 、70 、100 亮度,B键确定,所有LED全闪两次设置完毕 复位: A+B按住10秒,所有LED闪4下,恢复默认4小时30分延时设置,10 亮度 尽快用我们那个OPEN-sc51硬件系统搭接一个基本电路,然后编程实现第一部分功能 用STC单片机,实验室有功能较强的STC12C5A32S2可做实验用,以后做PCB实物时可用带有PWM的小尺寸表贴封装芯片 -User Programming: 1. A+ B hold one second, all the LED also flashes 2, enter the programming mode 2 The default time LED lights display the current settings, press the A button once, LED-A light, then, B light, then, C bright ... From left to right is defined as the left A-30 分钟, B-1 hours, C-2 hours, the right A-3 小时, B-4 小时, C-5 小时 3 hours after the set, press the B button, set the corresponding LED flash two hours, the input is complete, turn-minute set 4 from left to right, left A-0 分钟, B-10 分钟, C-20 minutes 分钟 Right A-30, B-40 分钟, C-50 分钟 default right A bright. 5 minutes after setting press the B button to set the corresponding LED flashes two minutes, the entire set an end Brightness settings: A double press AB button for 3 seconds, all LED also flashes 3, enter the brightness setting mode 2 Press A select Brightness, brightness from left to right order of 5 , 10 , 20 , 50 , 70 , 100 brightness, B button to confirm, all LED full flashes twice set up Reset: A+ B h
Date : 2025-12-16 Size : 5kb User : 彭洪

51单片机,2.4寸彩屏驱动,#include <reg51.h> #include <intrins.h> #include <sys\sys.h> #include <lcd\lcd.h> /* http://ttmcu.taobao.com 代码测试环境:单片机STC12LE5A60S2,晶振33M 单片机工作电压3.3V 程序默认IO连接方式: 控制线:RS-P3^5 WR-P3^6 RD-P3^7 CS-P1^0 REST-P1^2 数据线: DB0-DB7依次连接P0^0-P0^7 DB8-DB15依次连接P2^0-P2^7 (8位模式下DB0-DB7可以不连接) 触摸功能连接方式:(不使用触摸可不连接) T_CLK-P1^7 T_CS-P1^4 T_DIN-P3^0 T_OUT-P3^1 T_IRQ-P3^4 */ -51, 2.4-inch color display driver,# include <reg51.h># Include <intrins.h># Include <sys\sys.h># Include <lcd\lcd.h> /* Http://ttmcu.taobao.com code test environment: SCM STC12LE5A60S2, crystal 33M microcontroller operating voltage of 3.3V IO procedural default connection method: Line of Control: RS-P3 ^ 5 WR-P3 ^ 6 RD-P3 ^ 7 CS-P1 ^ 0 REST-P1 ^ 2 data lines: DB0-DB7 in turn connected P0 ^ 0-P0 ^ 7 DB8-DB15 turn connected P2 ^ 0-P2 ^ 7 under (8 mode DB0- DB7 can not connect) touch function Connection: (do not use the touch from time to connect) T_CLK-P1 ^ 7 T_CS-P1 ^ 4 T_DIN-P3 ^ 0 T_OUT-P3 ^ 1 T_IRQ-P3 ^ 4 * /
Date : 2025-12-16 Size : 4.11mb User : 王良进

li3dh的源码驱动文件 .h and .c 和一个应用main函数-nano 3 axial
Date : 2025-12-16 Size : 13kb User : qingyang

A Simple Library to read 3 axis accelerometer Contains both .h and .cpp file
Date : 2025-12-16 Size : 5kb User : prsece

This a Scaling function definition Image cutoff ratio for H = 3 -This is a Scaling function definition Image cutoff ratio for H = 3
Date : 2025-12-16 Size : 89kb User : sangwoo

#include hal_types.h #include iocc2530.h #ifndef __IC_DEMUX_4051_H__ #define __IC_DEMUX_4051_H__ #define ANALOG 0 #define DIGITAL 1 #define A_4051 P1_3 #define B_4051 P1_2 #define C_4051 P1_0 #define BATTERY_VOL_ADC 0x2 #define COUPLER_AC_ON_OFF_ADC 1 #define AUTO_MANUAL_SWITCH_ADC 2 #define MOTOR_ON_OFF_SENSE_ADC 3 #define BATTERY_VOLTAGE_LOW_LEVEL 0xA // IN VOLTS #define BATTERY_VOLTAGE_LOW_DEC 0x0f0 #define BATTERY_VOLTAGE_HIGH_INC 0xFFF ********** Input to read card Battery voltage sense 0x01 (A) min cutoff @ 9volts Mains supply 230 volts on or off 0x02 (D) 10K pull up and 2k pull down 12 volts ==.8volts on ADC extern uint8 ThreePhaseBit extern unsigned int compute_digital_from_adc(char ch_no,int sample) extern void ConFig_IC_DEMUX_4051(void) extern unsigned int GetADCValue(unsigned char Ch_NO,unsigned char ip_type) #endif - #include hal_types.h #include iocc2530.h #ifndef __IC_DEMUX_4051_H__ #define __IC_DEMUX_4051_H__ #define ANALOG 0 #define DIGITAL 1 #define A_4051 P1_3 #define B_4051 P1_2 #define C_4051 P1_0 #define BATTERY_VOL_ADC 0x2 #define COUPLER_AC_ON_OFF_ADC 1 #define AUTO_MANUAL_SWITCH_ADC 2 #define MOTOR_ON_OFF_SENSE_ADC 3 #define BATTERY_VOLTAGE_LOW_LEVEL 0xA // IN VOLTS #define BATTERY_VOLTAGE_LOW_DEC 0x0f0 #define BATTERY_VOLTAGE_HIGH_INC 0xFFF ********** Input to read card Battery voltage sense 0x01 (A) min cutoff @ 9volts Mains supply 230 volts on or off 0x02 (D) 10K pull up and 2k pull down 12 volts ==.8volts on ADC extern uint8 ThreePhaseBit extern unsigned int compute_digital_from_adc(char ch_no,int sample) extern void ConFig_IC_DEMUX_4051(void) extern unsigned int GetADCValue(unsigned char Ch_NO,unsigned char ip_type) #endif
Date : 2025-12-16 Size : 2kb User : Rohit
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.