frameolz.blogg.se

Cleanflight firmware for turnigy micro x
Cleanflight firmware for turnigy micro x












when requested directly return UNKNOWN sensor and no formating #define IBUS_MEAS_TYPE_CMP_HEAD 0x04 //Heading 0.360 deg, 0=north 2bytes #define IBUS_MEAS_TYPE_BAT_CURR 0x05 //battery current 10*milliamperes (1 = 10 milliampere) 2byts #define IBUS_MEAS_TYPE_CLIMB_RATE 0x06 //2bytes m/s *100 #define IBUS_MEAS_TYPE_ACC_Z 0x07 //yaw 2bytes deg * 100.0 signed!!! #define IBUS_MEAS_TYPE_ACC_Y 0x08 //roll 2bytes deg * 100.0 signed!!! #define IBUS_MEAS_TYPE_ACC_X 0x09 //pitch 2bytes deg * 100.0 signed!!! #define IBUS_MEAS_TYPE_VERTICAL_SPEED 0x0a //2byte m/s *100 when set add - to buffer and move pointer

cleanflight firmware for turnigy micro x

#define IBUS_MEAS_TYPE_GROUND_SPEED 0x0b //2byte m/s *100 different unit than build-in sensor #define IBUS_MEAS_TYPE_GPS_DIST 0x0c //calc? #define IBUS_MEAS_TYPE_ARMED 0x0d //2 bytes #define IBUS_MEAS_TYPE_FLIGHT_MODE 0x0e //2 bytes simple index listed below map to name - for now display just value #define IBUS_MEAS_TYPE_RESERVED 0x0f //2 bytes Pressure in

cleanflight firmware for turnigy micro x

#define IBUS_MEAS_TYPE_GPS_GROUND_SPEED IBUS_MEAS_TYPE_SPE //2 bytes will be handled by build in km/h formatting - format method must be checked #define IBUS_MEAS_TYPE_ERR 0xfe // Error rate #define IBUS_MEAS_TYPE_NOISE 0xfb // Noise #define IBUS_MEAS_TYPE_ALT 0xf9 // Altitude //2 bytes signed in m #define IBUS_MEAS_TYPE_SPE 0x7e // Speed //2byte km/h

cleanflight firmware for turnigy micro x

#define IBUS_MEAS_TYPE_ODO2 0x7d // Odometer2 #define IBUS_MEAS_TYPE_ODO1 0x7c // Odometer1 #define IBUS_MEAS_TYPE_PRES 0x41 // Pressure #define IBUS_MEAS_TYPE_EXTV 0x03 // External Voltage #define IBUS_MEAS_TYPE_TEM 0x01 // Temperature #define IBUS_MEAS_TYPE_INTV 0x00 // Internal Voltage #define IBUS_CMD_TEL_MEAS 0xA0 // Command to get measurement from a telemetry module #define IBUS_CMD_TEL_TYPE 0x90 // Command to discover type of a telemetry module #define IBUS_CMD_TEL_DISC 0x80 // Command to discover a telemetry module #define IBUS_CMD_TIMER_SYNC 0x81 // Command to synchronize a telemetry What do you think? #define IBUS_TELEMETRY This more is very limited one and used by multi sensors from FlySky - I have skipped this mode completely so I can send my long telemetry. This more requires confirmation from RX before allowing telemetry packet being send.

cleanflight firmware for turnigy micro x

It is working but not with i6 it has 64k flash and RX fw is about 32kB.īTW I have figured it out what was wrong with my telemetry - if I send something larger than 4 bytes I am writing to memory area starting "4th telemetry mode" (just switch value).














Cleanflight firmware for turnigy micro x