Skip to content
Snippets Groups Projects
Commit 175dbf0a authored by MicroCART's avatar MicroCART
Browse files

Merge branch 'groundStation-dev-comp_graph-commands' of...

Merge branch 'groundStation-dev-comp_graph-commands' of https://git.ece.iastate.edu/danc/MicroCART_17-18 into groundStation-dev-comp_graph-commands
parents 2138af0f ac6af6ad
No related branches found
No related tags found
No related merge requests found
#include <stddef.h>
#include "type_def.h"
#include "log_data.h"
#include "control_algorithm.h"
int zybo_uart_write(struct UARTDriver *self, unsigned char c) {
printf("%c", c);
return 0;
}
int main() {
modular_structs_t structs;
structs.hardware_struct.uart.write = zybo_uart_write;
control_algorithm_init(&(structs.parameter_struct));
initialize_logging(&structs.log_struct, &structs.parameter_struct);
log_data(&(structs.log_struct), &(structs.parameter_struct));
log_data(&(structs.log_struct), &(structs.parameter_struct));
log_data(&(structs.log_struct), &(structs.parameter_struct));
printLogging(&structs.hardware_struct, &(structs.log_struct), &(structs.parameter_struct));
return 0;
}
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment