I want to generate the code for integrator.the input contstant of integrator is 25*t.t-is variable time.so i want to integrate it with respect to time.so i want to use timer so how can i use it…because timer is my input variable.

irfanatul:

I want to generate the code for integrator.the input contstant of integrator is 25*t.t-is variable time.so i want to integrate it with respect to time.so i want to use timer so how can i use it..because timer is my input variable.

Can you write that out more carefully, please? It is not clear what expression you are trying to integrate over time.

something like this? (partial code)

```
unsigned long sum = 0;
for (int t =0; t < 10; t++)
{
sum + = 25 * t * t;
}
Serial.println(sum);
```