代码搜索:输出可调
找到约 10,000 项符合「输出可调」的源代码
代码结果 10,000
www.eeworm.com/read/360852/10075175
h keyboard_1.h
#include
//#include
#define uchar unsigned char
#define uint unsigned int
//本文件假定键盘接在P1口,P10~P1.3为输入线,P1.4~P1.7为输出线,输出0
sbit P30=P3^0;
sbit P10=P1^0;
sbit P11=P1^1;
sbit
www.eeworm.com/read/425985/10298517
m exam6_1.m
function exam6_1
% 本程序为第六章的第一个算例,采用4~8结点四边形等参元计算受内压的旋转厚壁圆筒
% 输入参数:
% 无
% 输出文件名称
file_out = 'exam6_1.mat' ;
% 检查输出文件是否存在
if exist( file_out ) ~= 0
answe
www.eeworm.com/read/354468/10352616
asm 21fjdq.asm
org 0000h
LOOP:
SETB P2.6 ;使P2.6输出高,关闭继电器21F吸合线圈
LCALL DELAY ;调用延时子程序DELAY
LCALL DELAY ;调用延时子程序DELA
LCALL DELAY ;调用延时子程序DELA
CLR P2.6 ;使P2.6输出低,打开继电器21F吸合线圈
LCALL DELAY ;调用延时子程序DE
www.eeworm.com/read/160364/10538529
m viterbi_decoder.m
%VITERBI _decorder 卷积码的维特比硬判决解码器
%输入参数: G:生成矩阵,G是一个n×LK矩阵,该矩阵的每一行确定了从移位计错器到第n个输出间的连接
% k:并行输入比特数
% channel_output:需要解码的数据
%输出参数:decoder_output:解码数据输
www.eeworm.com/read/160151/10564130
c fft2.c
#include
/*pr:输入实部
pi:输入虚部
n为2^k,n不小于数据个数
l:为0表示正变换,1表示反变换
il:1表示fr为取模结果。0表示fr输出实部fi输出虚部
*/
void FFT(double* pr, double* pi, int n, int k, double* fr, double* fi, int l, int il)
{
i
www.eeworm.com/read/271743/10982564
txt vc.txt
给定数字1~n,输出从中选出m个数的排列和组合。
为了简单起见,采用递归算法来描述,首先解决排列问题:
这个算法不太漂亮,用到了两个全局变量:
int ARR[] = { 1,2,3,4,5}; // 用来输出的全局缓冲区
int PERM_LEN; // 排列的长度
void permutation( int arr[], int n, int
www.eeworm.com/read/417295/10996578
h key_value.h
//读键盘值 键盘在端口B
uchar key_value()
{
uchar tem1,tem2,rem,i;
rem=0; //不清零会返回一个不可预知的值
DDRB=0xf0; //B口高四位输出 低四位输入
PORTB=0x0f; //输入有上拉电阻 输出低电平
s_m
www.eeworm.com/read/470239/6916908
asm 21fjdq.asm
org 0000h
LOOP:
SETB P1.3 ;使P1.3输出高,关闭继电器21F吸合线圈
LCALL DELAY ;调用延时子程序DELAY
LCALL DELAY ;调用延时子程序DELA
LCALL DELAY ;调用延时子程序DELA
CLR P1.3 ;使P1.3输出低,打开继电器21F吸合线圈
LCALL DELAY ;调用延时子程序DE
www.eeworm.com/read/459872/7263883
h 1wire.h
#ifndef __1WIRE_H__
#define __1WIRE_H__
#define monobus_1 DDRA_Bit0=0 //设置单片机IO为输入,由于总线存在上拉电阻,所以此时电平是1
#define monobus_0 DDRA_Bit0=1 //设置单片机IO为输出,配合默认的 PORTC.0=0 则输出0电平
#define monobus_in PINA
www.eeworm.com/read/448826/7525171
txt 001.txt
001题
打印楼梯,同时在楼梯上方打印两个笑脸。
程序分析:用i控制行,j来控制列,j根据i的变化来控制输出黑方格的个数。
程序源代码:
#include "stdio.h"
main()
{
int i,j;
printf("\1\1\n");/*输出两个笑脸*/
for(i=1;i