Fixed RGB encoder

B pad was incorrectly positioned