Fork of Library for MAXREFDES72# that supports configuration of shield for different PMOD types and the DS3231 RTC
Fork of ard2pmod by
Diff: ard2pmod.cpp
- Revision:
- 12:6be7e55a48c3
- Parent:
- 10:e37f2a9a2f32
- Child:
- 14:ddd423459248
--- a/ard2pmod.cpp Sat Feb 07 22:47:30 2015 +0000 +++ b/ard2pmod.cpp Sun Feb 08 17:58:25 2015 +0000 @@ -132,23 +132,11 @@ break; case PMOD_TYPE_3_UART: - #if defined (TARGET_KL25Z) - set_switches((SW12 | SW02), (SW11 | SW01)); - #elif defined (TARGET_K64F) - set_switches((SW12 | SW01), (SW11 | SW02)); - #else - #error TARGET NOT DEFINED - #endif + set_switches((SW12 | SW01), (SW11 | SW02)); break; case PMOD_TYPE_4_UART: - #if defined (TARGET_KL25Z) - set_switches((SW13 | SW01), (SW12 | SW02)); - #elif defined (TARGET_K64F) - set_switches((SW13 | SW02), (SW12 | SW01)); - #else - #error TARGET NOT DEFINED - #endif + set_switches((SW13 | SW02), (SW12 | SW01)); break; case PMOD_TYPE_5_HBRIDGE: