projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Checkpoints.
[hackover2013-badge-firmware.git]
/
project
/
cmd_tbl.h
diff --git
a/project/cmd_tbl.h
b/project/cmd_tbl.h
index
b240cbe
..
83d3880
100644
(file)
--- a/
project/cmd_tbl.h
+++ b/
project/cmd_tbl.h
@@
-93,6
+93,10
@@
void cmd_lm75b_gettemp(uint8_t argc, char **argv);
void cmd_sd_dir(uint8_t argc, char **argv);
#endif
void cmd_sd_dir(uint8_t argc, char **argv);
#endif
+#ifdef CFG_PWM
+void cmd_pwm(uint8_t argc, char **argv);
+#endif
+
#define CMD_NOPARAMS "This command has no parameters"
/**************************************************************************/
#define CMD_NOPARAMS "This command has no parameters"
/**************************************************************************/
@@
-153,6
+157,10
@@
cmd_t cmd_tbl[] =
#ifdef CFG_SDCARD
{ "d", 0, 1, 0, cmd_sd_dir , "Dir (SD Card)" , "'d [<path>]'" },
#endif
#ifdef CFG_SDCARD
{ "d", 0, 1, 0, cmd_sd_dir , "Dir (SD Card)" , "'d [<path>]'" },
#endif
+
+ #ifdef CFG_PWM
+ { "M", 2, 2, 0, cmd_pwm , "PWM Control" , "'M [<dutycycle(%)>] [<frequency(ticks)>]'" },
+ #endif
};
#endif
\ No newline at end of file
};
#endif
\ No newline at end of file
This page took
0.024153 seconds
and
4
git commands to generate.