'Lego' brick - from physical to virtual using resistors