Compare commits

..

No commits in common. "cbed3f24a19172978debddc0d3a963badfc479f8" and "b85741879510f8310fc468a52629c2adea60bed9" have entirely different histories.

2 changed files with 2 additions and 3 deletions

3
main.c
View File

@ -61,8 +61,7 @@ void core1_main(void) {
while (1) {
update_buttons();
update_inputs();
printf("vco_mode: %d, quant_enabled: %d amen_enabled: %d\n", state.vco_mode,state.quant_enabled,state.amen_enabled);
printf("clock_bpm: %f\n",state.clock_bpm);
printf("vco_mode: %d, quant_enabled: %d amen_enabled: %d", state.vco_mode,state.quant_enabled,state.amen_enabled);
sleep_ms(1);
}
}

2
mux.c
View File

@ -19,7 +19,7 @@ void update_inputs() {
for(uint8_t j = 0; j < 8;j++) {
set_mux_addr(j);
sleep_ms(1); // let multiplexor multiplex
state.array[i*8 + j]= adc_read()/4096.0f;
state.array[(i+1)*j]= adc_read();
}
}
}