-
AD
说明: 51单片机开发,AD转换模块
,模数转换,高精度(51 MCU development, AD converter module, analog-to-digital conversion, high-precision)
- 2012-10-13 10:03:11下载
- 积分:1
-
fer1
$regfile = M8DEF.dat internal crystal 8000000
Config Lcdpin = Pin , Db4 = Portc.1 , Db5 = Portc.2 , Db6 = Portc.3 , Db7 = _
Portc.4 , E = Portd.2 , Rs = Portd.3
Config Lcd = 16 * 2
Config Timer1 = Counter , Edge = Rising
Ddrb.1 = 0 : Portb.1 = 1 PULL UP RESISTOR ACTIVATED
Config Timer0 = Timer , Prescale = 1024
Enable Counter1
Enable Interrupts
Enable Timer0
Enable Timer1
On Ovf1 Pulsecount
On Ovf0 Ovf0occures
Dim A As Long , I As Long , B As Byte
B = 0
Cls
Start Timer0
Do
Loop
End end program
Ovf0occures:
Incr I
If I > 30 Then
Stop Timer0
Cls : Home
A = B * 65536
A = A + Counter1
Lcd FREQ IS : A HZ
B = 0
I = 0 : Counter1 = 0
Start Timer0
End If
Return
Pulsecount:
Incr B
Counter1 = 0
Return
- 2014-11-22 01:04:48下载
- 积分:1
-
51mcuand1602
51单片机加1602显示计算器C语言源码
可以实现加减乘除,有负数计算
(51 MCU plus 1602 display calculator C language source code
Can have negative calculation add, subtract, multiply and divide.)
- 2016-04-05 18:00:29下载
- 积分:1
-
signal-intersection
智能交通单路口C++仿真程序,其中设置了随机车辆产生,以及信号配时功能,程序编译已验证(Intelligent Transportation single intersection C++ simulation program, which is set to generate random vehicles, as well as signal timing functions, the program compiled Verified)
- 2014-03-01 09:39:29下载
- 积分:1
-
ATK-SIM900A
SIM900开发板配套STM32 GPRS代码(SIM900 STM32 GPRS driver)
- 2013-11-26 10:54:05下载
- 积分:1
-
ModbusSlaveProgram
这是一款模拟modbus从机的程序,可以方便用户调试modbus程序,本程序完全免费。(This is a simulation of the modbus from machines, can facilitate users to debug the modbus program, this program is completely free.
)
- 2013-11-08 19:23:47下载
- 积分:1
-
PWM-ULN2003A
利用ULN2003A进行驱动,产生PWM波,里边有照片,可供参考,通过本例程了解PWM 的基本原理和使用 (#include <reg52.h>
unsigned char timer1
sbit PWM=P1^2
void system_Ini()
{
TMOD|= 0x11
//PWM
TH1 = 0xfe //11.0592
TL1 = 0x33
TR1 = 1
IE =0x8A
}
main()
{
system_Ini()
while(1)
{ if(timer1>100) timer1=0
if(timer1<30) PWM=0
else PWM=1
}
)
- 2013-11-21 15:17:25下载
- 积分:1
-
实验17 ADC实验
STM32的ADC程序,亲测可用。内有详细注释和说明文档,很好的参考资料。(STM32 ADC program, pro - test available. There are detailed notes and documentation, good references.)
- 2017-11-25 21:40:02下载
- 积分:1
-
congji
实现声音导引小车运动,智能小车程序C51代码(Achieve sound AGV Sport, smart car program code C51)
- 2013-08-09 14:45:30下载
- 积分:1
-
SOES-master
Simple Open Source EtherCAT Slave
====
SOES (Simple OpenSource EtherCAT Slave Stack) is an opensource slave
stack that is very easy to use and provides a small footprint. It is a
good alternative to more complex stacks on the market.
Overview
SOES is an EtherCAT slave stack written in c. Its purpose is to learn and
to use. All users are invited to study the source to get an understanding
how an EtherCAT slave functions.
Features as of 1.0.0:
- Address offset based HAL for easy ESC read/write access via any
interface
- Mailbox with data link layer
- CoE
- Object dictionary
- SDO read and write for all sizes including segmented transfers
- Easy portable C-code suited for embedded applications
- Fixed PDO mapping
- FoE with bootstrap template
- Support for Little and Big endian targets.
- Polling for interrupts
- 2016-11-01 10:09:23下载
- 积分:1