Added demagnetization pulses

Added some demag pulses to demag the HV transformer whenever the single pulse is armed.
This commit is contained in:
2021-11-08 21:07:10 -06:00
parent dd293435e6
commit aab02c8066

View File

@@ -316,6 +316,10 @@ void loop() {
lcd.setCursor(7,1);
if(is_armed){
lcd.print("Yes");
// send a bunch of pulses to demagnetize the HV transformer before arming
for(int i = 0; i < 10; i++){
generate_waveform(sample_resolution);
}
}
else lcd.print("No ");
//Output the armed state to the arm pin and isolate pin