Test performed on Espruino Original Board and STM F4 with 1v85.
var pins = [C7,C8];
digitalWrite(pins,0); // Sets both pins to low
digitalWrite(pins,1); // Only sets C8 to high
digitalWrite(pins[0],0);digitalWrite(pins[1], 0); // Works as expected
digitalWrite(pins[0],1);digitalWrite(pins[1], 1); // Works as expected
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Test performed on Espruino Original Board and STM F4 with 1v85.
Best regards,
Marten