Fixes to typo and digital IO read returns decimal