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:
stevew817
Date:
Mon May 04 15:54:24 2015 +0000
Parent:
0:459a1af84a64
Child:
3:8d096e5bc045
Commit message:
Fix compiler errors

Changed in this revision

EFM32_CapSenseSlider.h Show annotated file Show diff for this revision Revisions of this file
--- 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);