slide: Added slide potentiometer sensor C source

Added the C source for the flex sensor with necessary changes to cmake,
examples, and docs.

    * Renamed all files with groveslide to slide
    * Replaced all instances of groveslide with slide
    * Added C source for slide sensor
    * Updated all cmake files
    * Added C example for slide sensor
    * Split out slide sensor from grove library

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-09-09 17:21:03 -07:00
parent e2bec11c23
commit e58c651b67
24 changed files with 550 additions and 51 deletions

View File

@ -24,7 +24,7 @@ from time import sleep
import pyupm_grove as grove
# New Grove Slider on AIO pin 0
slider = grove.GroveSlide(0)
slider = grove.Slide(0)
# Loop indefinitely
while True: