搜索资源列表
1-Wire
- 在没有专用总线主机(如DS2480B、DS2482)的情况下,微处理器可以轻松地产生1-Wire时序信号。本应用笔记给出了一个采用‘C’语言编写、支持标准速率的1-Wire主机通信基本子程序实例。1-Wire总线的四个基本操作是:复位、写“1”、写“0”和读数据位。字节操作可以通过反复调用位操作实现,本文提供了通过各种传输线与1-Wire器件进行可靠通信的时间参数-In case no dedicated bus host (such as DS2480B, DS2482), the micro
to-be-uploaded
- 1-this program in c language and is used to convert ASCII into Float 2-count ones and zeros in number 3-set specified number of bits
AVR-Bits-operations-in--C
- AVR单片机位操作的C 语言编程实现,包括常规方法和扩展运用-Bit AVR microcontroller C language programming operations, including the use of conventional methods and extensions
IAR_7_2_Camera_Demo_V1.0
- 功能描述: OV7620摄像头数据采集 硬件配置说明: 摄像头位数据位 - PORTD0~7 * * PCLK - PORTC0 * 行中断 - PORTA29 场中断 - PORTB0 图像数据输出 - K60串口1,波特率115200 * ** 添加说明: 我们自己的用户代码主要在main.c,isr.h,isr.c这三个文件中 * * 采集的图像的行数和列数在isr.h文件中修改 #define H 260 #define V 60
1122
- 其实操作系统在调用 main 函数时是传参数的,main 函数最标准的形式应该是 int main(int argc, char *argv[]),在第 6 节 “指向指针的指针与指针数组” 详细介绍。C 标准也允许 int main(void)这种写法,如果不使用系统传进来的两 个参数也可以写成这种形式。但除了这两种形式之外,定义 main 函数的其它写法都 是错误的或不可移植的。-The 88-bytes (704-bits) in the Configuration zon
BNUTBDJNBOOFR
- 【程序29】 题目:给一个不多于5位的正整数,要求:一、求它是几位数,二、逆序打印出各位数字。 1. 程序分析:学会分解出每一位数,如下解释:(这里是一种简单的算法,师专数002班赵鑫提供) 2.程序源代码: 复制代码 代码如下: #include stdio.h #include conio.h main( ) { long a,b,c,d,e,x scanf( ld ,&x) a=x/10000 分解出万位 b=x 10000
matlab
- function [out1,out2] = humps(x) HUMPS A function used by QUADDEMO, ZERODEMO and FPLOTDEMO. Y = HUMPS(X) is a function with strong maxima near x = .3 and x = .9. [X,Y] = HUMPS(X) also returns X. With no input arguments, HUMPS uses X
