emg: Added emg sensor C source

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

    * Renamed all files with groveemg to emg
    * Replaced all instances of groveemg with emg
    * Added C source for emg sensor
    * Updated all cmake files
    * Added C example for emg sensor

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-09-08 12:35:41 -07:00
parent fe06de86b4
commit a19678948b
20 changed files with 525 additions and 56 deletions

View File

@ -22,11 +22,11 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import time, sys, signal, atexit
import pyupm_groveemg as upmGroveemg
import pyupm_emg as upmEmg
# Tested with the GroveEMG Muscle Signal Reader Sensor Module
# Instantiate a GroveEMG on analog pin A0
myEMG = upmGroveemg.GroveEMG(0)
# Tested with the EMG Muscle Signal Reader Sensor Module
# Instantiate a EMG on analog pin A0
myEMG = upmEmg.EMG(0)
## Exit handlers ##