bigtreetech / BIGTREETECH-TouchScreenFirmware

support TFT35 V1.0/V1.1/V1.2/V2.0/V3.0, TFT28, TFT24 V1.1, TFT43, TFT50, TFT70
GNU General Public License v3.0
1.32k stars 1.65k forks source link

[Q] How to write file to SD card from WiFi? #2923

Closed Sparfunzel closed 7 months ago

Sparfunzel commented 7 months ago

Hello,

based on PR #2431 and the Appendix in the README, I tried to cobble together a minimum working example of writing a file to an SD card connected to the TFT via M28 SD:/test.gcode from a little website on an ESP-01 connected to the TFT then sending some arbitrary G-code to be written to test.gcode.

I managed to create said file on the SD card, but after M28 I get spammed with ok and the test.gcode file will be filled with the M28 command for as long as the TFT is alive. No command, that I send inbetween is written to the file. The only way for me to stop it, is to reset the printer.

Am I missing something obvious?

I'm very thankful for any tips.

Best regards

github-actions[bot] commented 4 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.