I'd actually remove E.on('init', and put the code into E.setBootCode directly.
You do need pinMode(B6, 'af_opendrain'); though, or the boards will be 'fighting' to pull the signal in different directions. Do you have a pullup resistor on the B6 wire? That's vital if you're using af_opendrain.
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.
I'd actually remove
E.on('init',
and put the code intoE.setBootCode
directly.You do need
pinMode(B6, 'af_opendrain');
though, or the boards will be 'fighting' to pull the signal in different directions. Do you have a pullup resistor on the B6 wire? That's vital if you're usingaf_opendrain
.