Unsupervised learning of digit recognition using spike-timing-dependent plasticity | Synapse