Assignation of the initial condition
Do an infinite loop with containing these 5 steps:
Read data: read , and cm from the analog input pins of the board.
Compute neuron response using (3). Notice that if = 0 then the division in (3)
 renders undefined, so assignment must be .
Write the value of the response in an analog output pin of the board.
Update the value of the previous response. .
Ensure delay enough time to complete seconds since the loop execution began.
Pseudocode 1