A member of the Senedd broke its code of conduct over social media posts about the 20mph limit, the standards committee has found.