Yes, I had a feeling that digitalPulse(C0,1,2000); may not have been quite right.
digitalPulse(C0,1,2000);
The best thing is probably just to replace it altogether:
digitalWrite(C0,1); setTimeout(function() { digitalWrite(C0,0); Send_Command(...) }, 2000);
Of course you might need to wait a few ms after taking C0 low again too...
@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.
Yes, I had a feeling that
digitalPulse(C0,1,2000);
may not have been quite right.The best thing is probably just to replace it altogether:
Of course you might need to wait a few ms after taking C0 low again too...