
Library set up as dummy module on mbed to mimic Nordic.
rs485.h
- Committer:
- Stephen_NewVistas
- Date:
- 2016-12-12
- Revision:
- 0:226550611f0d
- Child:
- 2:9ab591cf81b8
File content as of revision 0:226550611f0d:
#ifndef RS485 #define RS485 #include "packetformatter.h" #include "protocol.h" #include "list.h" #include "comms.h" #ifdef __cplusplus extern "C" { #endif void SerialHandler(unsigned char RXByte); int ChangeState( int ); //extern char processCommand(int command,unsigned char *receivedData); void RS485_Init(); unsigned char RegisterCommand( unsigned char , void (*fx)(unsigned char *) ); int CheckFunction( Packet *_packet ); void SetResponse( Packet *); #ifdef __cplusplus } #endif #endif