Added polarity setter since on my BBB the polarity appears to be reversed by default.