![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
freemaster1.0
master.h@0:a39f49a913e6, 2014-12-03 (annotated)
- Committer:
- viswachaitanya
- Date:
- Wed Dec 03 10:36:09 2014 +0000
- Revision:
- 0:a39f49a913e6
pre 12/2014 testing
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
viswachaitanya | 0:a39f49a913e6 | 1 | #include "mbed.h" //library |
viswachaitanya | 0:a39f49a913e6 | 2 | #define get_hk_data '1' //sample telecommands |
viswachaitanya | 0:a39f49a913e6 | 3 | #define telecommand2 '2' |
viswachaitanya | 0:a39f49a913e6 | 4 | #define telecommand3 '3' |
viswachaitanya | 0:a39f49a913e6 | 5 | #define telecommand4 '4' |
viswachaitanya | 0:a39f49a913e6 | 6 | #define telecommand5 '5' |
viswachaitanya | 0:a39f49a913e6 | 7 | |
viswachaitanya | 0:a39f49a913e6 | 8 | const int addr = 0x20; //slave address |
viswachaitanya | 0:a39f49a913e6 | 9 | char receive_byte(); //funtion to receive float data |
viswachaitanya | 0:a39f49a913e6 | 10 | void master_main(); |