luismesas/go-piface

Read Switch Value

Opened this issue · 0 comments

Reading the current value of one of the 4 on board switches i get every time the same value:

value := pifaceDigital.Switches[1].Value

It would be great to provide a small sample howto read the swicht status.