i need one very quick.found link on askgoogle but not working. any help please?
i answering you question quick now.
i use arm procesor and keil compilar.
electrotherapy is complex science to treat mallardy in ill woman using electro currants and magnertism.
i need to show a electrotherapy treetment but not on a woman becaoz treetment makes woman feel bad and is not happy. so i must simulate it.
so i need code to do it. yes.
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 :)