Skip to content

Commit 1258e3f

Browse files
Refined the code
1 parent 799d7fc commit 1258e3f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎fault_injector/fault_injector.ino‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
Parameters can be varied in the code for adjusting pinouts.
1313
Important Prameters:
1414
TRIGGER_PIN - Pin for Push Button Input (Fault Trigger)
15-
FAULT_PIN - Pin for Fault Injection (Always HIGH and glitches when Trigger is pushed)
16-
faultDuration - Duration for Fault (Time interval to become LOW)
17-
maxFaultDuration - Maximum Fault Duration (Maximum Fault Injection Interval)
18-
triggerDebounceDelay - Debounce Delay for Trigger (Optional, default works just fine)
15+
DIGITAL_FAULT_PIN - Pin for Digital Fault Injection
16+
ANALOG_FAULT_PIN - Pin for Analog Fault Injection
17+
INTERRUPT_PIN - Interrupt Input Pin
1918
*/
2019

2120
// Notes: For Analog Fault Injections, use PWM Signals and a Low Pass Filter

0 commit comments

Comments
 (0)