Fixed typos, added pinmap example to dump map

This commit is contained in:
2014-06-13 00:02:39 +00:00
parent 755552a9a6
commit 17dd85f828
3 changed files with 30 additions and 4 deletions

View File

@ -20,6 +20,7 @@
namespace NoccyLabs\Gpio\GpioMapper;
use NoccyLabs\Gpio\GpioMapperInterface;
use NoccyLabs\Gpio\Exception\GpioException;
class WiringPiMapper implements GpioMapperInterface
{
@ -107,7 +108,7 @@ class WiringPiMapper implements GpioMapperInterface
case 19: return 30;
case 20: return 31;
}
throw new GpioException("Unable to map logicak {$logical} to GPIO pin");
throw new GpioException("Unable to map logical pin {$logical} to GPIO pin");
}
}