Hello, I would like to implement the below C code from the Arduino IDE in Altair Embed for research purposes.
Two questions:
Is it possible to specify the order of calls for multiple external function blocks in embed?
The order of the function calls is in the c code.
How can I implement the delay function from the Arduino IDE in Embed?
Thanks for the help
volatile float z=0; //////functions////////////////// void Schleife(void){ for(unsigned int a=0;a<500;a++){ z=z+1; } } void zNull(void){ z=0; } ////////////////////////////////// void setup() {} void loop() { digitalWrite(49, HIGH); Schleife(); zNull(); digitalWrite(49, LOW); delay(1); }
Attachment: vsm file