Updated readme example with fixed periph code