代码搜索结果
找到约 10,000 项符合
Switch 的代码
write_switch.pl
use Expect;
use strict;
use warnings;
sub readdata{
open(FILEHANDLE,"change.txt")||die"can not open filename:$!";
my(@array)=;
chomp@array;
close(FILEHANDLE);
return(@array);
}
stucture_switch.m
% stucture_switch.m
% switch-case结构示例
% 单位换算示例
disp('单位换算示例')
x=input('输入需要换算的长度数值(m):');
unit=input('选择转换单位(1 in; 2 ft; 3 m; 4 mm; 5 cm;):');
switch unit
case {'inch', 'in', 1}
y=
stucture_switch.asv
% stucture_switch.m
% switch-case结构示例
% 单位换算示例
disp('单位换算示例')
x=input('输入需要换算的长度数值(cm):');
unit=input('选择转换单位(1 in; 2 ft; 3 m; 4 mm; 5 cm;):')
switch unit
case {'inch', 'in', 1}
y=
switch_test.pde
/*
* Switch Test for the Asuro
*/
#include
Asuro asuro = Asuro();
void setup()
{
Serial.begin(9600);
}
void loop()
{
int Switches;
/* front switch check */
S
switch_control.pl
#!/usr/bin/perl
use SNMP;
use Getopt::Long;
GetOptions("mac=s" => \$gMac,
"index=s" => \$gIndex,
"action=s" => \$gAction,
);
($gMac,$gAction,$gIndex) = verifyInput
switch_bus.jhd
MODULE switch_bus