Energy harvesting mobile robot. Developed at Institute of Systems and Robotics — University of Coimbra.
Dependents: ISR_Mini-explorer_Rangefinder
Fork of ISR_Mini-explorer by
Radio.h@6:86bccb8afac3, 2018-05-14 (annotated)
- Committer:
- fabiofaria
- Date:
- Mon May 14 14:53:10 2018 +0000
- Revision:
- 6:86bccb8afac3
- Parent:
- 4:f6fddeae358e
- Child:
- 7:95bee84b6910
read_rangefinder added.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fabiofaria | 4:f6fddeae358e | 1 | #ifndef RADIO_H |
fabiofaria | 4:f6fddeae358e | 2 | #define RADIO_H |
fabiofaria | 4:f6fddeae358e | 3 | |
fabiofaria | 4:f6fddeae358e | 4 | #include "mbed.h" |
fabiofaria | 4:f6fddeae358e | 5 | #include "RF24.h" |
fabiofaria | 4:f6fddeae358e | 6 | |
fabiofaria | 4:f6fddeae358e | 7 | extern RF24 radio; |
fabiofaria | 4:f6fddeae358e | 8 | |
fabiofaria | 4:f6fddeae358e | 9 | bool init_nRF(int channel); |
fabiofaria | 4:f6fddeae358e | 10 | void radio_send_string(char *str); |
fabiofaria | 4:f6fddeae358e | 11 | void send_float_matrix(float *matrix, unsigned num_lines, unsigned num_columns); |
fabiofaria | 4:f6fddeae358e | 12 | void send_rangefinder(); |
fabiofaria | 4:f6fddeae358e | 13 | void test_send_matrix(); |
fabiofaria | 6:86bccb8afac3 | 14 | void read_rangefinder(char* buf, uint8_t array_size); |
fabiofaria | 4:f6fddeae358e | 15 | |
fabiofaria | 4:f6fddeae358e | 16 | #endif |