代码搜索结果

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

multi switch.opt

### uVision2 Project, (C) Keil Software ### Do not modify ! cExt (*.c) aExt (*.s*; *.src; *.a*) oExt (*.obj) lExt (*.lib) tExt (*.txt; *.h; *.inc) pExt (*.plm) CppX (*.cpp) DaveTm {

multi switch.hex

:09000000E590C444F0F59080F78E :00000001FF

rotary_switch.h

void init_rotary(); void rotary_bounce_tick(); void get_rotary(int8_t *rotary1, int8_t *rotary2);

rotary_switch.c

#include #include "config.h" volatile static uint8_t bounce_delay=0; static uint8_t old_state1, old_state2; static uint8_t ROT_TABLE[] = { 0, 3, 1, 2 }; static uint8_t read_state1() { r

switch8.m

function xdot=Switch8(t,x) ; a=3; b=20; c=-20;d=10;e=-10;k=4; m=4; if x(3)>0 & (x(3)+sqrt(x(1)^2+x(2)^2))>k xdot=[(a-k)*x(1)+b*x(2); -b*x(1)+(a-k)*x(2); c*x(3)+k*d]; else if x(3)