As far as I know (and it's been a long time since I last did this), the equation you should use is E = h*f (f being frequency, I have no idea how to write a proper nu). Alternatively, you can use E = h*c/l (l being wavelength for lambda). You seem to have mixed up these two formulas.