Driver for the capacitive sense slider available on the EFM32 Giant, Wonder and Leopard starter kits.

Dependents:   EFM32 RDA5807M RDS Radio EMF32-Segment-Touch-Demo EFM32_Bugs MFALHIMOHAMMED ... more

Information

All examples in this repo are considered EXPERIMENTAL QUALITY, meaning this code has been created as one-off proof-of-concept and is suitable as a demonstration for experimental purposes only. This code will not be regularly maintained by Silicon Labs and there is no guarantee that these projects will work across all environments, SDK versions and hardware.

/media/uploads/stevew817/screenshot_2015-03-17_13.40.06.png

Revision:
1:6647338e62d8
Parent:
0:459a1af84a64
--- a/EFM32_CapSenseSlider.h	Tue Mar 17 12:44:15 2015 -0500
+++ b/EFM32_CapSenseSlider.h	Mon May 04 15:54:24 2015 +0000
@@ -32,9 +32,6 @@
 #ifndef SILABS_EFM32_CAPSENSESLIDER_H
 #define SILABS_EFM32_CAPSENSESLIDER_H
 
-#define TARGET_EFM32
-#define TARGET_EFM32GG_STK3700
-
 #ifndef TARGET_EFM32
 #error "The Silicon Labs EFM32 CapSenseSlider library is specifically designed for EFM32 targets."
 #elif (defined(TARGET_EFM32GG_STK3700) || defined(TARGET_EFM32TG_STK3300) || defined(TARGET_EFM32LG_STK3600) || defined(TARGET_EFM32WG_STK3800))
@@ -43,6 +40,7 @@
 
 #include "caplesense.h"
 #include "CThunk.h"
+#include "sleepmodes.h"
 
 typedef void (*cbptr_t)(void);