We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i need one very quick.found link on askgoogle but not working. any help please?
Please clarify.
1. What exactly does this have to with Keil products ?
2. What exactly do you mean by "electrotherapy" ?
3. What exactly is the "simulator" supposed to simulate ?
Or even with ARM-based processors in general??
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 :)