Lars Christian Pedersen, 1840