Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ESP-call.h
00001 // ====================================================================== 00002 00003 typedef struct NodeMCU_PGM_STRUCT { 00004 const char *code; // NodeMCU code 00005 int delay; // delay time in 1/10 sec unit 00006 } NodeMCU_PGM; 00007 00008 // ====================================================================== 00009 00010 extern RawSerial PC; // PC = (USBTX, USBRX) 00011 extern RawSerial ESP; // ESP = (D1=TX, D0=RX) 00012 00013 // ====================================================================== 00014 00015 extern char ESP_recv_buffer[]; // ESP receive buffer 00016 extern int ESP_recv_buffer_index; // ESP receive buffer index 00017 00018 // ====================================================================== 00019 00020 void ISR_PC_to_ESP(); 00021 void ISR_ESP_to_PC(); 00022 00023 void ISR_ESP_to_recv_buffer(); 00024 00025 // ====================================================================== 00026 00027 void ESP_reset(void); 00028 00029 void ESP_echo(void); 00030 void ESP_noecho(void); 00031 00032 char *ESP_call_single(NodeMCU_PGM pgm); 00033 void ESP_call_multi(NodeMCU_PGM pgms[]); 00034 00035 // ======================================================================
Generated on Fri Nov 4 2022 13:26:22 by
1.7.2