i need one very quick.found link on askgoogle but not working. any help please?
Here's a starting point for you:
void main(void) { long Voltage; Voltage = 1; while ( IsPatientStillAlive() ) { SwitchOnElectrodes( Voltage ); Delay(); SwitchOffElectrodes( ); PainLevel = MonitorPainDetectors(); if ( PainLevel < PainThreshold ) Voltage += 10; else Voltage += 1; } }
Disclaimer: I will not be held responsible for any injury (or death) caused by usage of this code!
what a shocking suggestion :)