José Gouveia
/
SRA2020-2021
Communication.h@9:d0ef39e209b7, 2021-05-20 (annotated)
- Committer:
- josefg25
- Date:
- Thu May 20 16:18:59 2021 +0000
- Revision:
- 9:d0ef39e209b7
- Parent:
- 0:c25c4b67b6a1
SRA_update
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yaaqobhpt | 0:c25c4b67b6a1 | 1 | #ifndef COMMUNICATION_H |
yaaqobhpt | 0:c25c4b67b6a1 | 2 | #define COMMUNICATION_H |
yaaqobhpt | 0:c25c4b67b6a1 | 3 | |
yaaqobhpt | 0:c25c4b67b6a1 | 4 | #include "mbed.h" |
yaaqobhpt | 0:c25c4b67b6a1 | 5 | |
yaaqobhpt | 0:c25c4b67b6a1 | 6 | void init_communication(Serial *serial_in); |
yaaqobhpt | 0:c25c4b67b6a1 | 7 | void write_bytes(char *ptr, unsigned char len); |
yaaqobhpt | 0:c25c4b67b6a1 | 8 | void send_odometry(int value1, int value2, int ticks_left, int ticks_right, float x, float y, float theta); |
yaaqobhpt | 0:c25c4b67b6a1 | 9 | |
yaaqobhpt | 0:c25c4b67b6a1 | 10 | #endif |
yaaqobhpt | 0:c25c4b67b6a1 | 11 |