José Gouveia
/
SRA2020-2021
Communication.h@0:c25c4b67b6a1, 2021-05-03 (annotated)
- Committer:
- yaaqobhpt
- Date:
- Mon May 03 14:49:18 2021 +0000
- Revision:
- 0:c25c4b67b6a1
ok-V1
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 |