File transfer to a slower chip - byte by byte


hi all,

i need send 16kb file mcu via serial uses following protocol:

i send 256bytes , stop , wait until receive ok1,
then send 256bytes , stop , wait again until ok2 ... , on until end of these 16k

i using spiffs , wonder how approach problem:
i find can file.readbytes() , file.seek(offset, seekcur)

and count , add , on... or there easier way of solving task?

best regards,
kaloyan

no parity?


Arduino Forum > Using Arduino > Programming Questions > File transfer to a slower chip - byte by byte


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???