Want to choose the pin digits of choice

I am trying to pass the pin (password) for a mobile app, which is of 4 digits
what I am doing is

describe(‘Enter pin’, () => {
test(‘Create pin’, async () => {
await driver
.elementByAccessibilityId(‘pin’)
.click()
.click()
.click()
.click();
});

Which leads to choose 1s four times.

Can I please a workaround to choose different digits for the pin

Thanks