Library for SOMO II sound module (http://www.4dsystems.com.au/product/SOMO_II/) For use with stateScript (https://developer.mbed.org/users/mkarlsso/code/stateScript_v2/)

Dependents:   stateScript_v2_karpovalab Nucleo_statescript stateScript_v2

Files at this revision

API Documentation at this revision

Comitter:
alustig3
Date:
Wed Apr 26 19:02:16 2017 +0000
Parent:
0:a4f14eadd0df
Commit message:
Removed unused definitions

Changed in this revision

SOMO.h Show annotated file Show diff for this revision Revisions of this file
diff -r a4f14eadd0df -r 5a7359b415c8 SOMO.h
--- a/SOMO.h	Thu Jan 28 16:39:06 2016 +0000
+++ b/SOMO.h	Wed Apr 26 19:02:16 2017 +0000
@@ -1,28 +1,11 @@
 // SOMO II sound module  http://www.4dsystems.com.au/product/SOMO_II/
+// Datasheet http://www.4dsystems.com.au/productpages/SOMO-II/downloads/SOMO-II_datasheet_R_1_2.pdf
+
 #ifndef SOMO_H
 #define SOMO_H
 
 #include <mbed.h>
 
-
-//******************LIBRARY DEFINED PINS (don't modify)*******************//
-//General definitions
-#define audioOFF 0
-#define audioON 1
-#define RESET 13
-#define TX 1
-#define RX 0
-#define DISABLE 0
-#define ENABLE 1
-#define HALFX 0
-#define ONEX 1
-#define ONEPOINTFIVEX 2
-#define TWOX 3
-#define MAX 0xFF
-#define MED 0xE0
-#define MIN 0x00 
-
-
 //**************************************************************************
 // class SOMO SOMO.h
 // This is the main class. It shoud be used like this : SOMO audio(p13,p14);