summaryrefslogtreecommitdiff
path: root/src/cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.h')
-rw-r--r--src/cmd.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cmd.h b/src/cmd.h
index e85093f..e246933 100644
--- a/src/cmd.h
+++ b/src/cmd.h
@@ -13,7 +13,7 @@
#include "pwm.h"
#include "helpers.h"
-#define _CMD_CNT 2
+#define _CMD_CNT 3
#define _CMD_MAX_ARGC 4
#define _ERR_CMD 1
@@ -32,6 +32,14 @@ void cmd_tick(char _c);
void cmd_set_pwm(uint8_t _argv[]);
/**
+ * argc=3
+ *
+ * 0: Pin Num
+ * 1-2: Dutycycle in HEX (00-FF)
+ */
+void cmd_fade_pwm(uint8_t _argv[]);
+
+/**
* argc=1
*
* 0: Error type