``` c = QHalComponent('test') c.newPin('input', hal.HAL_BIT, hal.HAL_IN) c.ready()