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.
Fork of lwip by
main.cpp
00001 #include "mbed.h" 00002 #include "HTTPClient.h" 00003 00004 using namespace std; 00005 00006 DigitalOut led(LED1); 00007 HTTPClient http; 00008 00009 const char user[] = "<username>"; 00010 const char pass[] = "<password>"; 00011 const char msg[] = "status=<message>"; 00012 const char url[] = "http://twitter.com/statuses/update.xml"; 00013 00014 int main(void) { 00015 http.auth(user, pass); 00016 http.post(url, msg); 00017 00018 while(1) { 00019 led = !led; 00020 wait(0.2); 00021 } 00022 } 00023
Generated on Tue Jul 12 2022 16:07:06 by
1.7.2
