for TwitterMbed

Dependents:   TwitterMbed

Fork of PowerControl by Michael Wei

Files at this revision

API Documentation at this revision

Comitter:
kazushi2008
Date:
Sun Feb 10 06:00:57 2013 +0000
Parent:
0:9bd5f1bdb845
Commit message:
for twitter mbed

Changed in this revision

main.cpp Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Jan 30 02:23:30 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-#include "mbed.h"
-#include "PowerControl/PowerControl.h"
-#include "PowerControl/EthernetPowerControl.h"
-
-int main() {
-    //turn OSC1 down
-     PHY_PowerDown();
-     wait(5);
-     LPC_GPIO1->FIODIR = 0x8000000;
-     LPC_GPIO1->FIOCLR = 0x8000000;
-     wait(5);
-     LPC_GPIO1->FIOSET = 0x8000000;
-     wait(5);
-     PHY_PowerUp();
-}
\ No newline at end of file
--- a/mbed.bld	Sat Jan 30 02:23:30 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/49a220cc26e0