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_pm mbed-rtos mbed
rede.h@1:b343d9cd769a, 2014-03-27 (annotated)
- Committer:
- rebonatto
- Date:
- Thu Mar 27 17:42:00 2014 +0000
- Revision:
- 1:b343d9cd769a
- Parent:
- 0:c8f056a185d0
PingPong para Testar Jose
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| rebonatto | 0:c8f056a185d0 | 1 | extern EthernetInterface eth; |
| rebonatto | 0:c8f056a185d0 | 2 | |
| rebonatto | 0:c8f056a185d0 | 3 | void InitializeEthernetLink() |
| rebonatto | 0:c8f056a185d0 | 4 | { |
| rebonatto | 0:c8f056a185d0 | 5 | eth.init(MEUIP,"255.255.255.0","192.168.1.5"); |
| rebonatto | 0:c8f056a185d0 | 6 | |
| rebonatto | 0:c8f056a185d0 | 7 | eth.connect(); |
| rebonatto | 0:c8f056a185d0 | 8 | printf("IP Address is %s\n", eth.getIPAddress()); |
| rebonatto | 0:c8f056a185d0 | 9 | } |
