📄 nxt_motors.h
字号:
#ifndef __NXT_MOTORS_H__# define __NXT_MOTORS_H__# include "mytypes.h"# define NXT_N_MOTORS 3int nxt_motor_get_count(U32 n);void nxt_motor_set_count(U32 n, int count);void nxt_motor_set_speed(U32 n, int speed_percent, int brake);void nxt_motor_command(U32 n, int cmd, int target_count, int speed_percent);void nxt_motor_init(void);// ISR points used by motor processingvoid nxt_motor_1kHz_process(void);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -