mirror of
https://github.com/eclipse/upm.git
synced 2025-10-29 06:05:04 +03:00
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:
@@ -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 ##
|
||||
Reference in New Issue
Block a user