INSAT Mini Project
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
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