184 Nextion

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 4

  • @BlondieSL
    @BlondieSL 2 года назад +2

    You mention the audio. On this end, the audio seems fine and a bit louder than usual, making it easier to hear.
    But that's just me. LOL
    This was very interesting. I can see so many uses for twfile.
    Thanks for doing all the research and testing on that.

    • @CheapControls
      @CheapControls  2 года назад

      Thanks for the feedback. I cranked the Audio up 60db. I thought it had a lot of pops and level changes. I am glad it turned out ok.

  • @naveen1704
    @naveen1704 2 года назад

    Thank you for a very useful video on a subject which is not well documented anywhere. You have obviously put in a lot of effort and even though I am not very familiar with Arduino, and use STM32 instead, I managed to finally write data onto the SD card. I write below some of the important observations, which I was doing wrong:
    1. The filename command must be enclosed in doublequotes : "twfile \"sd0/\","+(string) Filesize
    2. The filesize in the command in Ascii representation of the number.
    3. The Header[10,11] is little-endian filesize in binary.
    I am not sure if the filesize in both the twfile command and header end has to be equal ? Which means it is not possible to create a larger file and write only a small part of data into it. For example if I need to log some data periodically in a file by adding a line, There has to be a very circuitous way to do it: Read, append new data, delete original file, then recreate the file with appended data.

    • @CheapControls
      @CheapControls  2 года назад

      thank you for the kind words. I ran into similar issues. My next video will show how to split the file into multiple uploads. I will be using small 5 byte sets of data. You can do much larger uploads but the maximum size of each packet is 4096. I will have a third video where I show the larger size uploads with random size files. It is such a big topic and I get a bit long winded. I thought I should break the videos up into steps.