![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Simple usage of wifi module ESP826601.
ESP826601/ESP826601.h@0:47830fe8d357, 2020-11-19 (annotated)
- Committer:
- zvonimir
- Date:
- Thu Nov 19 11:42:27 2020 +0000
- Revision:
- 0:47830fe8d357
Upravljanje wifi modulom esp826601.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
zvonimir | 0:47830fe8d357 | 1 | #ifndef ESP826601_H |
zvonimir | 0:47830fe8d357 | 2 | #define ESP826601_H |
zvonimir | 0:47830fe8d357 | 3 | |
zvonimir | 0:47830fe8d357 | 4 | #include "mbed.h" |
zvonimir | 0:47830fe8d357 | 5 | |
zvonimir | 0:47830fe8d357 | 6 | void ESP_interrupt(); |
zvonimir | 0:47830fe8d357 | 7 | |
zvonimir | 0:47830fe8d357 | 8 | class Esp{ |
zvonimir | 0:47830fe8d357 | 9 | public: |
zvonimir | 0:47830fe8d357 | 10 | Esp(void); |
zvonimir | 0:47830fe8d357 | 11 | void init(void); |
zvonimir | 0:47830fe8d357 | 12 | void waitResponse(void); |
zvonimir | 0:47830fe8d357 | 13 | void waitConnection(void); |
zvonimir | 0:47830fe8d357 | 14 | void closeConnection(void); |
zvonimir | 0:47830fe8d357 | 15 | void send(char* text); |
zvonimir | 0:47830fe8d357 | 16 | void printToPC(char* text); |
zvonimir | 0:47830fe8d357 | 17 | void printToPC(char c); |
zvonimir | 0:47830fe8d357 | 18 | }; |
zvonimir | 0:47830fe8d357 | 19 | |
zvonimir | 0:47830fe8d357 | 20 | #endif |