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
setup.h@1:db9b9bec0133, 2018-03-14 (annotated)
- Committer:
- RobinMechele
- Date:
- Wed Mar 14 14:38:43 2018 +0000
- Revision:
- 1:db9b9bec0133
- Parent:
- 0:29eeb74e55c6
- Child:
- 3:fbf3c92f10ee
Alles werkt yayyyy, nu nog bitj kushn;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RobinMechele | 0:29eeb74e55c6 | 1 | #ifndef setup_h |
RobinMechele | 0:29eeb74e55c6 | 2 | #define setup_h |
RobinMechele | 0:29eeb74e55c6 | 3 | #include "mbed.h" |
RobinMechele | 0:29eeb74e55c6 | 4 | #include "C12832A1Z.h" |
RobinMechele | 0:29eeb74e55c6 | 5 | #include "string.h" |
RobinMechele | 0:29eeb74e55c6 | 6 | |
RobinMechele | 0:29eeb74e55c6 | 7 | |
RobinMechele | 0:29eeb74e55c6 | 8 | class Setup |
RobinMechele | 0:29eeb74e55c6 | 9 | { |
RobinMechele | 0:29eeb74e55c6 | 10 | public: |
RobinMechele | 0:29eeb74e55c6 | 11 | explicit Setup(); |
RobinMechele | 0:29eeb74e55c6 | 12 | int chooseMode(); |
RobinMechele | 0:29eeb74e55c6 | 13 | int chooseID(); |
RobinMechele | 0:29eeb74e55c6 | 14 | char* convertToIP(int); |
RobinMechele | 0:29eeb74e55c6 | 15 | private: |
RobinMechele | 0:29eeb74e55c6 | 16 | int mode; |
RobinMechele | 0:29eeb74e55c6 | 17 | char *ip; |
RobinMechele | 0:29eeb74e55c6 | 18 | char tempID[4]; |
RobinMechele | 0:29eeb74e55c6 | 19 | }; |
RobinMechele | 0:29eeb74e55c6 | 20 | |
RobinMechele | 0:29eeb74e55c6 | 21 | #endif |