cvictor.h

来自「good luck to everyone!」· C头文件 代码 · 共 22 行

H
22
字号
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.							  */
/* Open Source Software - may be modified and shared by FRC teams. The code   */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
/*----------------------------------------------------------------------------*/

#ifndef C_VICTOR_H
#define C_VICTOR_H

#include <VxWorks.h>

void SetVictorSpeed(UINT32 module, UINT32 channel, float speed);
void SetVictorSpeed(UINT32 channel, float speed);
void SetVictorRaw(UINT32 channel, UINT8 value);
UINT8 GetVictorRaw(UINT32 channel);
void SetVictorRaw(UINT32 module, UINT32 channel, UINT8 value);
UINT8 GetVictorRaw(UINT32 module, UINT32 channel);
void DeleteVictor(UINT32 module, UINT32 channel);
void DeleteVictor(UINT32 channel);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?