Skip to content
Snippets Groups Projects
Commit e98ea750 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Remove extra diagnostics.

parent 39e10396
Branches
Tags
No related merge requests found
......@@ -108,7 +108,6 @@ int8_t command_handler(char command){
case 'T': ;
uint16_t tcs_data[4] = {0,0,0,0};
printf("#INFO: TCS—%u %u %u %u\n\r", tcs_data[0], tcs_data[1], tcs_data[2], tcs_data[3]);
tcs_readvalues(tcs_data);
printf("#INFO: TCS—%u %u %u %u\n\r", tcs_data[0], tcs_data[1], tcs_data[2], tcs_data[3]);
break;
......
......@@ -35,7 +35,7 @@ void tcs_init(void){
twi_master_setup(&TCS_TWI, &opt);
twi_master_enable(&TCS_TWI);
printf("#INFO: twi_master_enable\n\r");
printf("#INFO: TWI master enabled\n\r");
tcs_on();
}
......@@ -52,7 +52,6 @@ static void tcs_on(void){
twi_pack.length = 1;
twi_pack.no_wait = false;
twi_master_write(&TCS_TWI, &twi_pack);
printf("#INFO: twi_master_write 1\n\r");
data_buffer = 0xC0;
twi_pack.addr[0] = 1 << 7 | TCS_TIMING;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment