-
系统下,地球坐标转换的源代码,在WGS
系统下,地球坐标转换的源代码,在WGS-84坐标和北京54坐标之间的一套转换参数,可以全国通用的,在每个地方会不一样,因为它们是两个不同的椭球基准。 // WGS2GK.CPP : C++ version of Ottmar Labonde s WGSDHDN3.PAS with CPU time measurement // compile with MS Visual C++ version 6.0 or do the necessary modifications for your compiler // // Conversion of -system, the Earth coordinates conversion source code, the WGS-84 coordinates and coordinate between Beijing 54 set conversion parameters can be nationwide, in every place to be different, because they are two different ellipsoid benchmarks.// WGS2GK.CPP : C version of Silverstone Labonde s WGSDHDN3.PAS with CPU time measurement// compile with MS Visual C version 6.0 or do the necessary modifications for your compiler//// Conversion of
- 2022-03-26 04:25:06下载
- 积分:1
-
一个俄罗斯方块的源代码,用C语言写的,可以运行。
一个俄罗斯方块的源代码,用C语言写的,可以运行。-A Tetris source code, written in C language, you can run.
- 2022-04-28 12:11:23下载
- 积分:1
-
8051 Tutorial
8051串行通信教程
- 2023-08-13 10:50:03下载
- 积分:1
-
In order to further understand how the above method to realize programming, prov...
为了进一步理解上述方法如何在编程中得以实现,在此提供了1个用C51单片机编程语言编制的8个按键的键处理程序,以供参考。该程序在KEIL C51 V6.02/uVsion2 demo编译环境下编译通过-In order to further understand how the above method to realize programming, provided in the C51 single-chip microcomputer with a programming language produced by the eight key key procedure for reference. The program in the KEIL C51 V6.02/uVsion2 demo compiler compiler environment through
- 2022-08-08 14:12:15下载
- 积分:1
-
MSP430与TMP100 I2C温度传感器的接口汇编程序,在ti公司代码的基础上改进,可以直接使用。...
MSP430与TMP100 I2C温度传感器的接口汇编程序,在ti公司代码的基础上改进,可以直接使用。-MSP430 and TMP100 I2C Temperature Sensor Interface compilation process, in ti company based on the improved code can be used directly.
- 2023-06-18 05:30:04下载
- 积分:1
-
当前LCM的主流接口有并口和串口。并口引脚多,产生串扰,串口则没有诸如此类的缺点。SPI作为串口家族的一员,具有高速同步、芯片管脚少和信号稳定不产生串扰等优点,...
当前LCM的主流接口有并口和串口。并口引脚多,产生串扰,串口则没有诸如此类的缺点。SPI作为串口家族的一员,具有高速同步、芯片管脚少和信号稳定不产生串扰等优点,越来越受到开发人员的青睐。但是,具有SPI的LCM并不是毫无缺点的,市场上以COG(chip on glass)方式封装的LCM大都是基于单工方式传输的,这将给开发带来了非常大的麻烦。本文主要论述基于单工SPI的GUI开发方案,详细地分析了基于单工SPI的GUI的开发开台,论述并分析在GUI开发过程中遇到的问题,最后提出增加虚拟LCD的方案解决这个问题。-err
- 2023-07-28 23:45:03下载
- 积分:1
-
51单片机系统和AVR的M16单片机,和简单的外围电路。
51单片机系统和AVR的M16单片机,和简单的外围电路。-51 of the M16 microcontroller system and AVR microcontroller, and a simple peripheral circuits.
- 2022-05-27 20:15:36下载
- 积分:1
-
犯错
红外解码程序主要工作为等待红外线信号出现,并跳过引导信号,开始收集连续32位的表面数据,存入内存的连续空间。位信号解码的原则是:以判断各个位的波宽信号来决定高低信号。位解码原理如下:
解码为0:低电平的宽度0.56ms+高电平的宽度0.56ms。
解码为1:低电平的宽度1.68ms+高电平的宽度0.56ms。
程序中必须设计一精确的0.1ms延时时间作为基础时间,以计数实际的波形宽度,若读值为5表示波形宽度为0.5ms,若读值为16表示波形宽度为1.6ms,以此类推。高电平的宽度1.12ms为固定,因此可以直接判断低电平的宽度的计数值5或时16,来确定编码为0或是1。程序中可以减法指令SUBB来完成判断,指令“SUBB A,R2”中若R2为计数值,A寄存器设为8,就可如下:
当“8-R2”有产生借位,借位标志C=1,表示编码为1。
当“8-R2”无产生借位,借位标志C=0,表示编码为0。
将借位标志C经过右移指令“RRC A”转入A寄存器中,再经由R0寄存器间接寻址存入内存中。
-err
- 2022-08-22 12:44:29下载
- 积分:1
-
DS18B20原理图及资料
DS18B20原理图及资料 -DS18B20 schematics and information
- 2023-09-04 02:25:03下载
- 积分:1
-
KEIL 51上的数字电压表实验程序
用C编写
已经调试过
KEIL 51上的数字电压表实验程序
用C编写
已经调试过-KEIL 51 on the digital voltage meter experimental procedures have been prepared with C debugging off
- 2022-03-15 20:44:13下载
- 积分:1