@@ -30,24 +30,17 @@ After creating the function of the original command, register it as shown in the
3030
3131## Functions
3232
33- | GG_for_Arduino.h| function|
34- | --| ---|
35- | int gg_init(void)| Initialization of GG for Arduino|
36- | int gg_tp1_no| Arduino output pin number for TP1. Set before gg_init() if necessary|
37- | int gg_tp2_no| Arduino output pin number for TP2. Set before gg_init() if necessary|
38- | long gg_con_baud| baud rate. Set before gg_init() if necessary|
39-
40- | gg_base.h| function|
33+ | Functions / Variables| Specification|
4134| --| ---|
35+ | *** GG_for_Arduino.h*** ||
36+ | int gg_start(const char \* title)| Start processing GG for Arduino|
37+ | int gg_tp1_no| Arduino output pin number for TP1. Set before gg_start() if necessary|
38+ | int gg_tp2_no| Arduino output pin number for TP2. Set before gg_start() if necessary|
39+ | long gg_con_baud| baud rate. Set before gg_start() if necessary|
40+ | *** gg_base.h*** ||
4241| GG_TP_ON(number)| Turn on the TP status number|
4342| GG_TP_OFF(number)| Turn off the TP status number|
44-
45- | gg_uty.h| function|
46- | --| ---|
47- | int gg_init(void)| Initialization of GG for Arduino|
48- | int gg_tp1_no| Arduino output pin number for TP1. Set before gg_init() if necessary|
49- | int gg_tp2_no| Arduino output pin number for TP2. Set before gg_init() if necessary|
50- | long gg_con_baud| baud rate. Set before gg_init() if necessary|
43+ | *** gg_uty.h*** ||
5144| GG_TP_ON(number)| Turn on the TP status number|
5245| GG_TP_OFF(number)| Turn off the TP status number|
5346| int gg_GetC(void)| 1 character input (-1 = no input)|
@@ -70,28 +63,24 @@ After creating the function of the original command, register it as shown in the
7063| int gg_tim_checkdt(GGT_TIME \* t)| Date and time validity check|
7164| int gg_tim_repairdt(GGT_TIME \* t)| Date and time correction|
7265| int gg_tim_tt2week(gg_time_t x)| Determine what day of the week from gg_time_t(0=sun,..)|
73-
74- | gg_printf.h| function|
75- | --| ---|
76- | int gg_vxprintf(int (* putc)(int), const char * fmt, va_list vlst)| vprintf() with putc()|
77- | int gg_xprintf(int (* putc)(int), const char * fmt, ...)| printf() with putc()|
78- | int gg_printf(const char * fmt, ...)| printf() with standard output|
79- | int gg_vsprintf(char * buf, const char * fmt, va_list vlst)| vsprintf() to buf[ ] |
80- | int gg_sprintf(char * buf, const char * fmt, ...)| sprintf() to buf[ ] |
66+ | *** gg_printf.h*** ||
67+ | int gg_vxprintf(int (\* putc)(int), const char \* fmt, va_list vlst)| vprintf() with putc()|
68+ | int gg_xprintf(int (\* putc)(int), const char \* fmt, ...)| printf() with putc()|
69+ | int gg_printf(const char \* fmt, ...)| printf() with standard output|
70+ | int gg_vsprintf(char \* buf, const char \* fmt, va_list vlst)| vsprintf() to buf[ ] |
71+ | int gg_sprintf(char \* buf, const char \* fmt, ...)| sprintf() to buf[ ] |
8172| gg_printDATE(gg_time_t)| "YY/MM/DD"|
8273| gg_printTIME(gg_time_t)| "hh:mm: ss "|
8374| gg_printDT(gg_time_t)| "YY/MM/DD hh:mm: ss "|
8475| gg_printDTs(gg_time_t)| "YY/MM/DD hh:mm: ss "|
85-
86- | gg_console.h| function|
87- | --| ---|
76+ | *** gg_console.h*** ||
8877| GG_CON_CMDADD(func, cmd, prm, help)| Registering console commands|
8978| GG_CON_CMDMRK(title)| Display delimiter of list in help|
9079| GG_CON| Work area for console (internal use)|
9180| int gg_con_MonInit(void)| Console initialization|
81+ | char \* gg_con_prompt| Prompt string|
9282| int gg_con_MonRePrompt(void)| Redisplay prompt|
9383| int gg_con_MonPrompt(void)| Prompt display (used internally)|
94- | int gg_con_MonStart(void)| Console start (title)|
9584| int gg_con_Check(void)| Console check with gg_GetC()|
9685| int gg_con_MonCheck(int c)| Console check with 1 character|
9786| int gg_con_MonExec(char \* buf)| Command line processing (Note: buf is destroyed by arg analysis)|
0 commit comments