Nrusher / nr_micro_shell

shell for MCU. 单片机命令行交互。
Other
270 stars 103 forks source link

How to transplant it to the Arduino? #2

Closed KiraVerSace closed 4 years ago

KiraVerSace commented 4 years ago

Thank you for your code! And when I want to transplant it to the Arduino platform there is some wrong happened? I can not implement the two port functions, cause you use the #define !

#define shell_printf(fmt, args...) Serial.printf(fmt, ##args);
#define ansi_show_char(x) Serial.write(x)

and I do not know why there shuld be two funtions?
What is the funtion of ansi_show_char?

Thank you !