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.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: Ultrasound_And_IMU
Fork of X_NUCLEO_6180XA1 by
Diff: Components/Switch/Switch.h
- Revision:
- 57:fa4c622b04a7
- Parent:
- 56:37d1736bd896
--- a/Components/Switch/Switch.h Mon Mar 13 17:57:03 2017 +0100
+++ b/Components/Switch/Switch.h Mon Mar 13 19:08:10 2017 +0000
@@ -43,7 +43,7 @@
/* Includes ------------------------------------------------------------------*/
#include "mbed.h"
-#include "Stmpe1600.h"
+#include "STMPE1600.h"
#ifdef __cplusplus
extern "C" {
@@ -64,7 +64,7 @@
class Switch
{
public:
- Switch(STMPE1600 &stmpe_1600, ExpGpioPinName Pin_Name=GPIO_11) : stmpe1600(stmpe_1600), PinName(Pin_Name) {
+ Switch(STMPE1600 &stmpe_1600, exp_gpio_pin_name Pin_Name=GPIO_11) : stmpe1600(stmpe_1600), PinName(Pin_Name) {
stmpe1600.set_gpio_dir(PinName, INPUT);
}
@@ -78,7 +78,7 @@
private:
STMPE1600 &stmpe1600;
- ExpGpioPinName PinName;
+ exp_gpio_pin_name PinName;
};
#ifdef __cplusplus
