Control more pin

I need to turn on 2 pins with the click of a button. Somebody please help me with the code of the button to turn on pins 0&1.

@arunkedu
You can use digitalMultiWrite instead of digitalWrite command.

digitalMultiWrite(‘0,1’, ‘HIGH,HIGH’) to turn ON pins 0,1
digitalMultiWrite(‘0,1’, ‘LOW,LOW’) to turn OFF pins 0,1

1 Like

Thank you very much sir.
I have created an led blink project as given in home automation section of the course. But, after a few turn on and turn of the board stopped responding. After unlinking the product from my board, I could still turn on the led on pin 0 using the preset format by Bolt.
Is this an issue of api limit or is it an error of my board.

@arunkedu

You must have got rate limited. If thats the case then you must have received an email from our end.

Are you still facing the issue?

1 Like

Yes sir, it was the issue. I received mail on time but saw it after this reply. Now i have upgraded to pro version.

1 Like