Subversion Repositories Projects

Rev

Rev 391 | Rev 393 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#include<Handler.h>

/**
 * Constructor that gets a communication instance
 */

Handler::Handler(Communication * com) {
    this->com = com;
}

/**
 * read mixer values from FlightCtrl
 */

void Handler::read_mixer() {
    TX_Data[0] = 0;
    com->send_cmd('n', ADDRESS_FC, TX_Data, 1, true);
}