![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
share for RS
Fork of rbVectorIQ by
Revision 17:123883bbf391, committed 2017-09-22
- Comitter:
- mpik34
- Date:
- Fri Sep 22 20:32:50 2017 +0000
- Parent:
- 16:4fca60460b7e
- Commit message:
- rb_vector_iq
Changed in this revision
source/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
source/vector_iq.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/main.cpp Mon Jun 19 18:12:42 2017 +0000 +++ b/source/main.cpp Fri Sep 22 20:32:50 2017 +0000 @@ -16,7 +16,7 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -//#define DK_52 +#define DK_52 #include <events/mbed_events.h> #include "vector_iq.h"
--- a/source/vector_iq.h Mon Jun 19 18:12:42 2017 +0000 +++ b/source/vector_iq.h Fri Sep 22 20:32:50 2017 +0000 @@ -32,6 +32,7 @@ #define BLE_UUIDS_RX_CHARACTERISTIC 0x0003 /**< The UUID of the RX Characteristic. */ #define TXRX_BUF_LEN 20 + #ifdef VIQ #define DIGITAL_OUT_PIN P0_17 #define BOARD_LED P0_19 @@ -39,10 +40,11 @@ #define PWM_PIN P0_16 #define SERVO_PIN P0_14 #define ANALOG_IN_PIN P0_6 - #define LED_DIG_OUT_PIN P0_8 //RTS + #define LED_DIG_OUT_PIN P0_28 //RTS #define HAPTIC_PIN P0_5 #define PIEZO_PIN P0_4 #endif + #define LED_HEADER 0x01 #define ONOFF_HEADER 0x11 #define COLOR_HEADER 0x22