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

Files at this revision

API Documentation at this revision

Comitter:
Steven Cooreman
Date:
Mon May 04 09:37:34 2015 -0700
Parent:
2:f361a6f65884
Parent:
1:6647338e62d8
Commit message:
Merge

Changed in this revision

diff -r f361a6f65884 -r 8d096e5bc045 EFM32_CapSenseSlider.h
--- a/EFM32_CapSenseSlider.h	Mon May 04 09:36:38 2015 -0700
+++ b/EFM32_CapSenseSlider.h	Mon May 04 09:37:34 2015 -0700
@@ -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);