Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Node/Node.cpp@0:99928431bb44, 2015-07-07 (annotated)
- Committer:
- millanea
- Date:
- Tue Jul 07 09:36:12 2015 +0000
- Revision:
- 0:99928431bb44
First commit. Committing the entire project such that it can be published.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
millanea | 0:99928431bb44 | 1 | #include "Node.h" |
millanea | 0:99928431bb44 | 2 | |
millanea | 0:99928431bb44 | 3 | |
millanea | 0:99928431bb44 | 4 | Node::Node( MM2WayRanging& newRanging, DW1000& newDw ) : ranging(newRanging), dw(newDw) |
millanea | 0:99928431bb44 | 5 | { |
millanea | 0:99928431bb44 | 6 | debugprintf("Node Initialized\r\n") ; |
millanea | 0:99928431bb44 | 7 | } |
millanea | 0:99928431bb44 | 8 | |
millanea | 0:99928431bb44 | 9 | void Node::execute() |
millanea | 0:99928431bb44 | 10 | { |
millanea | 0:99928431bb44 | 11 | |
millanea | 0:99928431bb44 | 12 | } |
millanea | 0:99928431bb44 | 13 | |
millanea | 0:99928431bb44 | 14 | void Node::setAddress( uint8_t address ) |
millanea | 0:99928431bb44 | 15 | { |
millanea | 0:99928431bb44 | 16 | // Setting the address of the ranging object |
millanea | 0:99928431bb44 | 17 | ranging.address = address ; |
millanea | 0:99928431bb44 | 18 | // Debug output |
millanea | 0:99928431bb44 | 19 | debugprintf("Address set: %u\r\n", address) ; |
millanea | 0:99928431bb44 | 20 | } |