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

LSV Test

parent 061e7d9e
Branches
Tags
No related merge requests found
......@@ -128,9 +128,26 @@ int main(void){
// }
// }
ads1255_setup(ADS_BUFF_ON,ADS_DR_7500,ADS_PGA_2);
// max5443_set_voltage1(0);
// pot_exp_start();
// ads1255_rdatac();
// ads1255_sync();
// ads1255_wakeup();
autogain_enable = 0;
g_gain = POT_GAIN_100;
pot_set_gain();
while (1){
command_handler((char)getchar());
// lsv_experiment(0,1000,100,2);
// command_handler((char)getchar());
// while (1){
// while (arch_ioport_get_pin_level(IOPORT_CREATE_PIN(PORTD, 5)));
// printf("%ld\n\r", ads1255_read_fast24());
// }
delay_s(1);
lsv_experiment(-1500,1499,400,2);
}
}
\ No newline at end of file
}
\ No newline at end of file
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