An analogue integrated-circuit design of a fly's sustained neurons is presented. Circuit simulation of the design shows that the output exhibits non-associative learning in agreement with electrophysiological studies of these neurons. The output is shown to encode the contrast of the input.