Fixes in the DigitalPeripheral class