/* * src/cmd.h * (c) 2021 Jonas Gunz * License: All rights reserved. */ #ifndef _CMD_H_ #define _CMD_H_ #include #include "uart.h" #define _CMD_CNT 2 #define _CMD_MAX_ARGC 4 #define _ERR_CMD 1 #define _ERR_ARGC 2 void cmd_init(); void cmd_tick(char _c); void cmd_set_pwm(uint8_t _argv[]); void cmd_err(uint8_t _argv[]); #endif