You are reading a single comment by @dave_irvine and its replies. Click here to read the full conversation.
  • Hmm, interesting.

    Sending an index.html file that contains a link to a stylesheet with pipe() without a chunk size, works fine. If the stylesheet is sent using pipe() with a chunk size, all ok.

    However, if you send the index.html with a chunk size, the http request for the stylesheet never arrives at the Espruino even though the browser sends it. I think what is happening is that the connection is held open during the pipe, and when another request arrives, the ESP is too busy sending to deal with the arrival.

    Also +Gordon, while you're looking, can you give me any more info on https://www.espruino.com/Reference#l_SPIĀ­_setup with regards to the "baud" rate? What is the unit there? I see a default of baud:integer=100000. Can you give some wild guesses what I can increase that to in order to speed up the SD card reads?

About

Avatar for dave_irvine @dave_irvine started