Have you got pinMode(B6, 'af_opendrain'); on the slave? That's the key... You could try putting it in onInit?
pinMode(B6, 'af_opendrain');
onInit
@Gordon started
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.
Have you got
pinMode(B6, 'af_opendrain');
on the slave? That's the key... You could try putting it inonInit
?