Browse Source

HAL_Linux: document the Disco PWM pinout

master
Andrew Tridgell 8 years ago
parent
commit
0cd3054a4c
  1. 19
      libraries/AP_HAL_Linux/RCOutput_Disco.h

19
libraries/AP_HAL_Linux/RCOutput_Disco.h

@ -45,13 +45,18 @@ private:
uint8_t channel; uint8_t channel;
} output_table_t; } output_table_t;
const output_table_t output_table[7] = { const output_table_t output_table[7] = {
{ sysfs_out, 3 }, /*
{ sysfs_out, 2 }, servo rail pin numbers are from left to right when looking
{ bebop_out, 0 }, at the CHUCK from the back, so pin1 on the servo rail is
{ sysfs_out, 4 }, closest to the first 'C' in 'C.H.U.C.K' on the case
{ sysfs_out, 1 }, */
{ sysfs_out, 5 }, { sysfs_out, 3 }, // chan1, servo rail pin 1
{ sysfs_out, 0 }, { sysfs_out, 2 }, // chan2, servo rail pin 6
{ bebop_out, 0 }, // I2C motor output
{ sysfs_out, 4 }, // chan4, servo rail pin 2
{ sysfs_out, 1 }, // chan5, servo rail pin 5
{ sysfs_out, 5 }, // chan6, servo rail pin 3
{ sysfs_out, 0 }, // chan7, servo rail pin 4
}; };
}; };

Loading…
Cancel
Save