Science Memeseum / Mbed 2 deprecated BeaconDemo_RobotCode

Dependencies:   mbed

Fork of PsiSwarm-BeaconDemo_Bluetooth by James Wilson

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers serial.h Source File

serial.h

00001 /* University of York Robotics Laboratory PsiSwarm Library: Serial Control Header File
00002  * 
00003  * File: serial.h
00004  *
00005  * (C) Dept. Electronics & Computer Science, University of York
00006  * James Hilder, Alan Millard, Homero Elizondo, Jon Timmis
00007  * 
00008  * PsiSwarm Library Version: 0.3
00009  *
00010  * October 2015
00011  *
00012  */ 
00013  
00014  
00015 #ifndef SERIAL_H
00016 #define SERIAL_H
00017  
00018 void handle_user_serial_message(char * message, char length, char interface);
00019 
00020 void IF_handle_user_serial_message(char * message, char length, char interface);
00021 void IF_handle_command_serial_message(char message [3], char interface);
00022 void IF_setup_serial_interfaces(void);
00023 void IF_pc_rx_callback(void);
00024 void IF_bt_rx_callback(void);
00025 
00026 char * IF_nibble_to_binary_char(char in);
00027 char * IF_char_to_binary_char(char in);
00028 float IF_decode_unsigned_float(char byte0, char byte1);
00029 float IF_decode_float(char byte0, char byte1);
00030 float IF_decode_float(char byte0);
00031 float IF_decode_unsigned_float(char byte0);
00032 
00033 
00034 #endif