
control simulation of elevator
komunikacia.h@1:7dea46c9d8dc, 2019-01-23 (annotated)
- Committer:
- kicin2
- Date:
- Wed Jan 23 23:52:27 2019 +0000
- Revision:
- 1:7dea46c9d8dc
- Parent:
- 0:62c18ef61b61
version 1.0.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kicin2 | 0:62c18ef61b61 | 1 | #ifndef __COMMUNICATION_H_INCLUDED__ |
kicin2 | 0:62c18ef61b61 | 2 | #define __COMMUNICATION_H_INCLUDED__ |
kicin2 | 0:62c18ef61b61 | 3 | |
kicin2 | 0:62c18ef61b61 | 4 | #include "mbed.h" |
kicin2 | 0:62c18ef61b61 | 5 | void sendTo(int* newPacket); |
kicin2 | 0:62c18ef61b61 | 6 | void receiveFrom(void); |
kicin2 | 0:62c18ef61b61 | 7 | int crc(int newPacket[],int sizeOfPacket); |
kicin2 | 0:62c18ef61b61 | 8 | void commIrq(void); |
kicin2 | 0:62c18ef61b61 | 9 | int* getPacket(); |
kicin2 | 0:62c18ef61b61 | 10 | extern int* packet; |
kicin2 | 0:62c18ef61b61 | 11 | extern int packetOK; |
kicin2 | 0:62c18ef61b61 | 12 | #endif |