How to add RT-thread msh user command? #10
-
hi, onelife. I'm trying the Arduino_RT_Thread on my DUE board, It works good. my code is such as: void disp(void) { |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @danilliu-sudo, There is an example of user commands, https://github.com/onelife/Arduino_RT-Thread/blob/v0.9.4/examples/FinSH/FinSH.ino: Arduino_RT-Thread/examples/FinSH/FinSH.ino Lines 68 to 95 in 2906ad8 Uncomment the following line: Arduino_RT-Thread/src/shell_cmd.h Line 138 in 2906ad8 Notes on using MSH user commands
|
Beta Was this translation helpful? Give feedback.
Hi @danilliu-sudo,
There is an example of user commands, https://github.com/onelife/Arduino_RT-Thread/blob/v0.9.4/examples/FinSH/FinSH.ino:
Arduino_RT-Thread/examples/FinSH/FinSH.ino
Lines 68 to 95 in 2906ad8