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.
Dependents: C027_BootTest_revb C027_EthernetSniffTest C027_M3_SerialEcho C027_HelloWorld_revb ... more
Fork of C027 by
Diff: C027.h
- Revision:
- 7:e3eab86f1de9
- Parent:
- 6:e11bf54dd344
- Child:
- 8:a356376db984
--- a/C027.h Mon Oct 21 19:45:55 2013 +0000
+++ b/C027.h Fri Oct 25 08:46:43 2013 +0000
@@ -13,22 +13,28 @@
// We do not have fancy leds that can be flashed on the C027.
void mbed_die(void);
+#define C027_REVA // remove this define for the revision B boards
+
class C027
{
public:
C027();
- void gpsPower(bool enable);
void mdmPower(bool enable);
void mdmReset(void);
+ void gpsPower(bool enable);
void gpsReset(void);
private:
+ // modem pins
DigitalOut mdmEn;
+#ifndef C027_REVA
DigitalOut mdmRst;
+#endif
DigitalOut mdmPwrOn;
DigitalOut mdmRts;
bool mdmIsEnabled;
+ // gps pins
DigitalOut gpsEn;
DigitalOut gpsRst;
bool gpsIsEnabled;
