Energy harvesting mobile robot. Developed at Institute of Systems and Robotics — University of Coimbra.

Dependencies:   RF24

Dependents:   ISR_Mini-explorer_Rangefinder

Fork of ISR_Mini-explorer by ISR UC

Radio.h

Committer:
fabiofaria
Date:
2018-05-14
Revision:
6:86bccb8afac3
Parent:
4:f6fddeae358e
Child:
7:95bee84b6910

File content as of revision 6:86bccb8afac3:

#ifndef RADIO_H
#define RADIO_H

#include "mbed.h"
#include "RF24.h"

extern RF24 radio;

bool init_nRF(int channel);
void radio_send_string(char *str);
void send_float_matrix(float *matrix, unsigned num_lines, unsigned num_columns);
void send_rangefinder();
void test_send_matrix();
void read_rangefinder(char* buf, uint8_t array_size);

#endif