Merge code per #17

3-pin code enhancement by https://github.com/tong67

ATTiny example updated per https://github.com/tong67 and
https://github.com/Carminepz
Merge remote-tracking branch 'origin/Updates'