control simulation of elevator

Dependencies:   mbed TSI

komunikacia.h

Committer:
kicin2
Date:
2019-01-23
Revision:
0:62c18ef61b61

File content as of revision 0:62c18ef61b61:

#ifndef __COMMUNICATION_H_INCLUDED__
#define __COMMUNICATION_H_INCLUDED__

#include "mbed.h"
    void sendTo(int* newPacket);
    void receiveFrom(void);
    int crc(int newPacket[],int sizeOfPacket);
    void commIrq(void);
    int* getPacket();
    extern int* packet;
    extern int packetOK;
#endif