basic publisher and GPIO Mock