Fábio Souza
/
KL46Z_EX3
Example 3 Hands on KL46
Fork of CPBR_KL46Z_EX3 by
Revision 1:3b02eda33b58, committed 2017-05-19
- Comitter:
- FBSEletronica
- Date:
- Fri May 19 21:06:47 2017 +0000
- Parent:
- 0:2955d0366504
- Commit message:
- Example 3 Hands on KL46
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 2955d0366504 -r 3b02eda33b58 main.cpp --- a/main.cpp Tue Jan 31 19:05:33 2017 +0000 +++ b/main.cpp Fri May 19 21:06:47 2017 +0000 @@ -1,16 +1,9 @@ #include "mbed.h" #include "tsi_sensor.h" -/* This defines will be replaced by PinNames soon */ -#if defined (TARGET_KL25Z) || defined (TARGET_KL46Z) - #define ELEC0 9 - #define ELEC1 10 -#elif defined (TARGET_KL05Z) - #define ELEC0 9 - #define ELEC1 8 -#else - #error TARGET NOT DEFINED -#endif +#define ELEC0 9 +#define ELEC1 10 + int main(void) { PwmOut led(LED_GREEN);