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-16
Revision:
7:95bee84b6910
Parent:
6:86bccb8afac3

File content as of revision 7:95bee84b6910:

#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_radio(char* buf, uint8_t array_size);

#endif