Thanks Robert, yes in real life, limiting resistors will be needed.