![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
joystick_bjk
CONFIG.h
- Committer:
- Bhoney
- Date:
- 2019-08-27
- Revision:
- 1:fd1e7e2d0780
- Child:
- 2:284491e0f6bf
File content as of revision 1:fd1e7e2d0780:
#pragma once //#define BH_BOARD #define SH_BOARD #if defined BH_BOARD #define ToF #define ToF_I2C_SDA PB_7 #define ToF_I2C_SCL PB_6 #define ToF_XShut_1 PF_0 #define ToF_XShut_2 PF_1 #define ToF_XShut_3 PA_8 #define MOTOR_REVERSE_R PA_0 #define MOTOR_REVERSE_L PA_1 #define MOTOR_THROTTLE_R PA_6 #define MOTOR_THROTTLE_L PA_5 #define BLUETOOTH_RX PA_10 #define BLUETOOTH_TX PA_9 #define UART_BAUD 115200 #define DAC_ONE_STEP 0.1f //////////////////////////////////////////////////// #elif defined SH_BOARD // #define ToF // #define ToF_I2C_SDA NC // #define ToF_I2C_SCL NC // #define ToF_XShut_1 NC // #define ToF_XShut_2 NC // #define ToF_XShut_3 NC #define MOTOR_REVERSE_R D11 #define MOTOR_REVERSE_L D12 #define MOTOR_THROTTLE_R A4 #define MOTOR_THROTTLE_L A5 #define BLUETOOTH_RX D0 #define BLUETOOTH_TX D1 #define UART_BAUD 115200 #define DAC_ONE_STEP 0.1f #endif