Hello world with tracing
Dependencies: C12832 mbed EthernetInterface HTTPClient mbed-rtos
GettingData.cpp@2:374bb8563098, 2014-04-25 (annotated)
- Committer:
- andrewfield
- Date:
- Fri Apr 25 18:21:37 2014 +0000
- Revision:
- 2:374bb8563098
it builds
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewfield | 2:374bb8563098 | 1 | #include <HTTPClient.h> |
andrewfield | 2:374bb8563098 | 2 | |
andrewfield | 2:374bb8563098 | 3 | void GetData() |
andrewfield | 2:374bb8563098 | 4 | { |
andrewfield | 2:374bb8563098 | 5 | HTTPClient client(); |
andrewfield | 2:374bb8563098 | 6 | IHTTPDataIn* pdataIn; |
andrewfield | 2:374bb8563098 | 7 | |
andrewfield | 2:374bb8563098 | 8 | client.get("http://dweet.io/follow/modern-wheel", pdataIn); |
andrewfield | 2:374bb8563098 | 9 | |
andrewfield | 2:374bb8563098 | 10 | |
andrewfield | 2:374bb8563098 | 11 | |
andrewfield | 2:374bb8563098 | 12 | |
andrewfield | 2:374bb8563098 | 13 | } |