Communicate to bluetooth devices or wifi per at-commands
Diff: at.h
- Revision:
- 0:413f3c13a00a
- Child:
- 1:ce7fb335aa1b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/at.h Mon Aug 13 20:27:21 2018 +0000 @@ -0,0 +1,19 @@ +#ifndef AT_H +#define AT_H + +class atterm +{ +public: + char buffer[128]; + void device_init(unsigned long baud); + void device_init1(unsigned long baud); + void clear(); + void at_send(char *format, char *buf); + void at_send1(char *format, char *buf); + void debug_off(bool l); + bool off; + int a; + char sign; +} extern at0, at1; + +#endif \ No newline at end of file