代码搜索结果
找到约 10,000 项符合
Switch 的代码
chap7_15m.m
function [u]=pid_aw1f1(u1,u2,u3,u4)
e=u2;
un=u3;
us=u4;
M=2;
switch M
case 1 %PID
u=e;
case 2 %Anti-windup PID
umin=0;
umax=10;
ua=(umin+umax)/2;
if
data_out.c
#include
#include"type.h"
#include"H_bridge.h"
#include"Key_scan.h"
uint key_code[]={0x11,0x21,0x41,0x81,0x12,0x22,0x42,0x82,
0x14,0x24,0x44,0x84,0x18,0x28,0x48,0x88};
lnk.cmd
MEMORY
{
VECS: org = 400h , len = 400h
IRAM: org = 800h , len = 0F800h
}
SECTIONS
{
.vec :> VECS
.data :> IRAM
lnk.cmd
MEMORY
{
VECS: org = 400h , len = 400h
IRAM: org = 800h , len = 0F800h
}
SECTIONS
{
.vec :> VECS
.data :> IRAM
lnk.cmd
MEMORY
{
VECS: org = 400h , len = 400h
IRAM: org = 800h , len = 0F800h
}
SECTIONS
{
.vec :> VECS
.data :> IRAM
lnk.cmd
MEMORY
{
VECS: org = 400h , len = 400h
IRAM: org = 800h , len = 0F800h
}
SECTIONS
{
.vec :> VECS
.data :> IRAM
lnk.cmd
MEMORY
{
VECS: org = 400h , len = 400h
IRAM: org = 800h , len = 0F800h
}
SECTIONS
{
.vec :> VECS
.data :> IRAM
io_funcs.c
#include
#include "xkcan_defs.h"
#include "atmega48.h"
extern ubyte regStatus[];
void Switch_Write(ubyte dat)
{
//ubyte noop;
//Update48 (cmd);
//noop = 0;
Update48 (dat)
io_funcs.c
#include
#include "xkcan_defs.h"
#include "atmega48.h"
extern ubyte regStatus[];
void Switch_Write(ubyte dat)
{
//ubyte noop;
//Update48 (cmd);
//noop = 0;
Update48 (dat)
chap7_15m.m
function [u]=pid_aw1f1(u1,u2,u3,u4)
e=u2;
un=u3;
us=u4;
M=2;
switch M
case 1 %PID
u=e;
case 2 %Anti-windup PID
umin=0;
umax=10;
ua=(umin+umax)/2;
if