Alex Millane / Mbed 2 deprecated IFARanging

Dependencies:   mbed

Node/Node.cpp

Committer:
millanea
Date:
2015-07-07
Revision:
0:99928431bb44

File content as of revision 0:99928431bb44:

#include "Node.h"


Node::Node( MM2WayRanging& newRanging, DW1000& newDw ) : ranging(newRanging), dw(newDw)
{
    debugprintf("Node Initialized\r\n") ;
}

void Node::execute()
{

}

void Node::setAddress( uint8_t address )
{
    // Setting the address of the ranging object
    ranging.address = address ;
    // Debug output
    debugprintf("Address set: %u\r\n", address) ;
}