代码搜索结果

找到约 10,000 项符合 Switch 的代码

block.m

function [enables,prompts] = block(a,object,values,enables,prompts) type = values{2}; switch type case 'constant_power' enables([3 7]) = {'on'; 'on'}; otherwise enables([3 7]) = {'off'; 'off'};

keyboard_uart.c

//的键盘扫描程序 //功能描述:键盘扫描并调用以前的数码显示把数据输出 //采用端口:PB口 #include #include //------------键盘码表 unsigned char a,b,date; unsigned char x[4][4]={{1,2,3,4},{5,6,7,8},{9,10,11,12}

sa_routingmove.asv

function [x1,changex,l1,tabu]=sa_routingmove(x0,l0,tabu) nu1=unidrnd(3); switch nu case 1 [x1,changex,l1]=insert(x0,l0); case 2 [x1,changex,l1]=sw

vowels.c

#include void main() { char letter; int vowel_count = 0; for (letter = 'A'; letter

dtmf.m

%dtfm.m function x=dtmf(key); fs=8000; N=0.1*fs; %信号时间为50ms R=1; f1=0; fh=0; switch key case{'1','2','3'} f1=697; case{'4','5','6'} f1=770; case{'7','

timer.cmd

MEMORY { PAGE 0: VEC: origin = 1000h, length = 0ffh PROG: origin = 1100h, length = 8000h PAGE 1: DATA: origin = 080h, length = 0807fh } SECTIONS

tokens.h

/* * tokens.h * * Created on: 2009-3-10 * Author: xiaohe */ #ifndef TOKENS_H #define TOKENS_H 1 #include #define INT 1 #define CHAR 2 #define FLOAT 3 #define VOID 4 #define CON

blinkdsk5402_hex.cmd

/******************************************************************************* * Copyright 2004-2005 - Software Design Solutions, Inc. All rights reserved. * * Portions of this work have been

blinkdsk5402_ahex.cmd

/******************************************************************************* * Copyright 2004-2005 - Software Design Solutions, Inc. All rights reserved. * * Portions of this work have been

hc595.c

#include "includess.h" //--------------------写I/O口扩展芯片HC595函数------------------------ void write_to_595(unsigned int shiftdata, unsigned char switch_order) { unsigned char i;