![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: vz_protocol.h
- Revision:
- 122:480c44b0e205
- Parent:
- 121:ee02790d00b7
- Child:
- 123:1d395b5a4cad
--- a/vz_protocol.h Fri May 08 04:15:23 2015 +0000 +++ b/vz_protocol.h Mon May 11 15:16:36 2015 +0000 @@ -18,6 +18,8 @@ #include "bits.h" #include "clock.h" #include "utils.h" +#include "shared_variables.h" + const uint16_t SHIFT_PORT = 3000; ///< Deslocamento padrão de porta, usado na forma <ext recebido + SHIFT_PORT> @@ -284,4 +286,19 @@ int init_ranges ( void ); +/** + * @Synopsis Converte o current_time do sistema para string. + * + * @param buffer Buffer de escrita onde sera preenchido com o current_time no formato VZ + * + * Exemplo: + * @code + * ... + * char buffer [ 16 ]; + * print_clock ( buffer ); + * ... + * @endcode + */ +void print_clock ( uint8_t * buffer ); + #endif \ No newline at end of file