EN CN
Change active profile via serial protocol?
  • I am using the arduino library for serial protocol integration with a BGC 32bit,

    I am trying to change the current "active" profile on the device.
    I do not see any examples or documentation of a command to set/change the active profile… any info on how to perform this using the Arduino library?

    Thank you,
    David
  • Hello.

    You can use CMD_EXECUTE_MENU.

    Available actions:
    MENU_CMD_PROFILE1 = 1
    MENU_CMD_PROFILE2 = 2
    MENU_CMD_PROFILE3 = 3
    MENU_CMD_SWAP_PITCH_ROLL = 4
    MENU_CMD_SWAP_YAW_ROLL = 5
    MENU_CMD_CALIB_ACC = 6
    MENU_CMD_RESET = 7
    MENU_CMD_SET_ANGLE = 8
    MENU_CMD_CALIB_GYRO = 9
    MENU_CMD_MOTOR_TOGGLE = 10
    MENU_CMD_MOTOR_ON = 11
    MENU_CMD_MOTOR_OFF = 12
    MENU_CMD_FRAME_UPSIDE_DOWN = 13
    MENU_CMD_PROFILE4 = 14
    MENU_CMD_PROFILE5 = 15
    MENU_CMD_AUTO_PID = 16
    MENU_CMD_LOOK_DOWN = 17
    MENU_CMD_HOME_POSITION = 18
  • Thank you
    I'll give that a try.