Providing delay

 When we set some delay say 500ms in timer tab automatically code generator will generate the code.But how to access that in main program within the loop?

can anybody help me? 

  • Initialize timer, start timer and wait for interrupt (if interrupt is enabled) or wait for interrupt request bit to be set (if interrupt is not enabled)?
    You could have a look at the code generator manual (in e2 studio V6.3 it is in eclipse\plugins\\help\) to get an idea which functions are available.