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.
Dependencies: EthernetInterface LM75B mbed-rtos mbed
Fork of communication by
slave.h@3:9c600fb19ed2, 2018-03-14 (annotated)
- Committer:
- JelleRaes
- Date:
- Wed Mar 14 14:39:08 2018 +0000
- Revision:
- 3:9c600fb19ed2
- Parent:
- 1:550192b4ae8e
- Child:
- 4:4848f847d2ce
tis bijna af;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| JelleRaes | 0:52e944ca21ea | 1 | #ifndef SLAVE_H |
| JelleRaes | 0:52e944ca21ea | 2 | #define SLAVE_H |
| JelleRaes | 3:9c600fb19ed2 | 3 | class slave{ |
| JelleRaes | 3:9c600fb19ed2 | 4 | public: |
| JelleRaes | 3:9c600fb19ed2 | 5 | slave(); |
| JelleRaes | 3:9c600fb19ed2 | 6 | void startSlave(const char *ip); |
| JelleRaes | 3:9c600fb19ed2 | 7 | |
| JelleRaes | 3:9c600fb19ed2 | 8 | private: |
| JelleRaes | 3:9c600fb19ed2 | 9 | float getTemp(); |
| JelleRaes | 3:9c600fb19ed2 | 10 | float getPot(); |
| JelleRaes | 3:9c600fb19ed2 | 11 | void putLCD(char*); |
| JelleRaes | 3:9c600fb19ed2 | 12 | void putLED(char*); |
| JelleRaes | 3:9c600fb19ed2 | 13 | void putLED(float, float, float); |
| JelleRaes | 3:9c600fb19ed2 | 14 | void putBuzzer(int,int); |
| JelleRaes | 3:9c600fb19ed2 | 15 | char *getResponse(const char *request,const char *ip); |
| JelleRaes | 3:9c600fb19ed2 | 16 | }; |
| JelleRaes | 0:52e944ca21ea | 17 | #endif |
