I am trying to upload a file that is a raw file containing data to be used to generate and display a battery graphic it is a .pbm file. I have generated the file ok but cannot get it into the ESP32 I used
ampy –port COM3 –baud 115200 put C:\PythonV380\Scripts\battery.pbm
but i get
ERROR: Invalid value for “LOCAL” : Path “battery.pbm” does not exist.
Any ideas since I found a battery graphic, used GIMP to save it as 1 bit per pixel to create the raw file called battery.pbm and wanted to follow the next step as per this instruction
so that I could next proceed with the loading images section of the document. This would then allow me to perhabs bytearray it rather can construct the icon pattern line by line
Any ideas ??
Thanks again Sara & Rui
I think that error means that it can’t find the battery.pbm file in that path.
Are you sure you’ve written the right path?
This tutorial explains how to upload files to the ESP32, it might help: https://techtutorialsx.com/2017/06/04/esp32-esp8266-micropython-uploading-files-to-the-file-system/