
demo of the murata wifi chip. This demo tries to connect to an open wifi access point and prints out all the relevant information about the connection. It then scans all wifi access points nearby and reports their information.
Dependencies: SNICInterface mbed-rtos mbed
Fork of SNIC-xively-jumpstart-demo by
Diff: PowerControl/EthernetPowerControl.cpp
- Revision:
- 22:e567f0d4b05d
- Parent:
- 16:ed9b9c28f860
diff -r 25b85cbbdd82 -r e567f0d4b05d PowerControl/EthernetPowerControl.cpp --- a/PowerControl/EthernetPowerControl.cpp Tue Jul 15 02:08:48 2014 +0000 +++ b/PowerControl/EthernetPowerControl.cpp Tue Jul 15 09:56:43 2014 +0000 @@ -1,3 +1,4 @@ +#if defined(TARGET_LPC1768) #include "EthernetPowerControl.h" static void write_PHY (unsigned int PhyReg, unsigned short Value) { @@ -135,4 +136,5 @@ regv = read_PHY(PHY_REG_EDCR); write_PHY(PHY_REG_BMCR, regv & ~(1 << PHY_REG_EDCR_ENABLE)); regv = read_PHY(PHY_REG_EDCR); -} \ No newline at end of file +} +#endif